Skip to content

Commit

Permalink
Merge pull request #2017 from relu91/fix_1885
Browse files Browse the repository at this point in the history
Add README for json-ld files
  • Loading branch information
egekorkan authored May 22, 2024
2 parents 6d73c8c + 4a65741 commit d71b52a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions context/README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit d71b52a

Please sign in to comment.