JSON-LD, tür ve özellikler için sözlüğü belirtmek üzere context kavramını tanımlayan, kullanımı kolay, JSON tabanlı bir bağlı veri biçimidir. Gmail, aşağıdaki örnekte gösterildiği gibi schema.org@context ile HTML dokümanlarına yerleştirilmiş JSON-LD verilerini destekler:
<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>
JSON-LD söz dizimine ilişkin tüm özellikler ve şartlar json-ld.org adresinde mevcuttur. Ayrıca, JSON-LD'yi denemek ve işaretlemenizde hata ayıklama yapmak için Schema Validator aracımızı da kullanabilirsiniz.
[null,null,["Son güncelleme tarihi: 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."]]],["JSON-LD, a linked data format, uses `context` to define vocabulary. Gmail accepts JSON-LD embedded in HTML with a `schema.org` context. The `@type` key within the JSON-LD defines a full URI or URI fragment, with `http://schema.org/` as a default prefix. The provided example shows how to structure person data using JSON-LD, including details such as name, job title, and address. Users can use a schema validator to test and debug their JSON-LD markup.\n"]]