JSON-LD는 유형 및 속성의 어휘를 지정하기 위해 context 개념을 정의하는 사용하기 쉬운 JSON 기반 연결된 데이터 형식입니다. Gmail은 다음 예와 같이 schema.org의 @context를 사용하여 HTML 문서에 삽입된 JSON-LD 데이터를 지원합니다.
<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에서 확인할 수 있으며, 스키마 검사기 도구를 사용하여 JSON-LD를 사용해 보고 마크업을 디버그할 수도 있습니다.
[null,null,["최종 업데이트: 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."]]],[]]