JSON-LD
Standard web JSON for Linked Data.
Définition
JSON-LD (JSON for Linked Data) est un format W3C pour sérialiser des graphes RDF (Linked Data) en JSON. Utilise @context (pointeurs vocabulaire), @id (URI identifiant), @type (classe RDF). Massivement adopté pour SEO (schema.org, Google Knowledge Graph), VCs (W3C Verifiable Credentials), API hypermedia (Activity Streams).
Origine
JSON-LD 1.0 publié W3C Recommendation en janvier 2014. v1.1 publiée juillet 2020.
Exemple en contexte
{"@context":"https://schema.org","@type":"Invoice","accountId":"INV-007","totalPaymentDue":{"@type":"MonetaryAmount","value":99.95,"currency":"EUR"}}
Termes liés
- schema.org — vocabulaire principal.
- RDF EDI — modèle de données sous-jacent.