JSON-LD adalah format data tertaut berbasis JSON yang mudah digunakan dan menentukan konsep context untuk menentukan kosakata jenis dan properti. Gmail mendukung data JSON-LD yang disematkan dalam dokumen HTML dengan @context dari schema.org, seperti dalam contoh berikut:
<scripttype="application/ld+json">
{"@context":"http://schema.org","@type":"Person","name":"John Doe","jobTitle":"Graduate research assistant","affiliation":"University of Dreams","additionalName":"Johnny","url":"http://www.example.com","address":{"@type":"PostalAddress","streetAddress":"1234 Peach Drive","addressLocality":"Wonderland","addressRegion":"Georgia"}}
</script>
Spesifikasi dan persyaratan lengkap untuk sintaksis JSON-LD tersedia di json-ld.org, dan Anda juga dapat menggunakan alat Pemvalidasi Skema kami untuk mencoba JSON-LD dan men-debug markup Anda.
[null,null,["Terakhir diperbarui pada 2024-12-21 UTC."],[[["JSON-LD is a JSON-based format used for representing linked data on the web, using a `context` to define vocabulary."],["Gmail supports JSON-LD data embedded within HTML documents, specifically utilizing the `schema.org` context for defining types and properties."],["The `@type` key within JSON-LD is reserved and should contain a full type URI or a fragment referencing `http://schema.org/`."],["Developers can refer to json-ld.org for complete specifications and utilize Google's Schema Validator tool for testing and debugging JSON-LD markup."]]],[]]