JSON-LD یک قالب داده پیوندی مبتنی بر JSON با استفاده آسان است که مفهوم context را برای مشخص کردن واژگان برای انواع و ویژگی ها تعریف می کند. Gmail از داده های JSON-LD که در اسناد HTML با متن @contextschema.org جاسازی شده است، مانند مثال زیر پشتیبانی می کند:
<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 در json-ld.org موجود است، و همچنین می توانید از ابزار Schema Validator ما برای آزمایش JSON-LD و اشکال زدایی نشانه گذاری خود استفاده کنید.
تاریخ آخرین بهروزرسانی 2024-12-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-12-21 بهوقت ساعت هماهنگ جهانی."],[[["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"]]