Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add README for json-ld files #2017

Merged
merged 1 commit into from
May 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading