From 4a657412c5216ea07cae7351be8556574c89057b Mon Sep 17 00:00:00 2001 From: reluc Date: Wed, 22 May 2024 15:15:20 +0200 Subject: [PATCH] docs(context): add README for json-ld files --- context/README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 context/README.md diff --git a/context/README.md b/context/README.md new file mode 100644 index 000000000..263af6bd4 --- /dev/null +++ b/context/README.md @@ -0,0 +1,10 @@ +# JSON-LD Contexts + +This folder contains JSON-LD context files for the Thing Description (TD) repository. These contexts help in providing semantic meaning and structure to the data within Thing Descriptions, bridging the concepts of the Thing Description ontology and JSON files. The context is split in different modules: + +- hypermedia-context.jsonld: Defines the concepts from the [hypermedia ontology](../ontology/hctl.ttl) +- json-schema-context.jsonld: JSON-LD context for JSON Schema used within Thing Descriptions (see [JSON Schema ontology](../ontology/json-schema.ttl)). +- td-context.jsonld: Primary JSON-LD context for Thing Descriptions with basic concepts from the [TD ontology](../ontology/td.ttl) +- wot-security-context.jsonld: JSON-LD context for security terms defined in the [WoT Security ontology](../ontology/wot-security.ttl). + +Than the files are merged using the [merge.js](merge.js) script into [td-context-1.1.jsonld](td-context-1.1.jsonld) file. **Note** that 1.1 stays for the JSON-LD version used to create the file not for the Thing Description version.