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 tools to manage datamodel based on NGSI-LD, JSON-Schema and SHACL #453

Merged

Conversation

wagmarcel
Copy link
Member

This PR builds the foundation of the NGSI-LD Datamodel. It contains 3 tools:

  • validate.js: This tool allow to validate a concise NGSI-LD model with a Schema
  • jsonldConverter.js: This tool converts between normalized, concise and expanded NGSI-LD models
  • jsonschema2shacl.js: This tool converts a jsonschema to a SHACL description

In addition the PR provides a Makefile with the targets

  • setup: Install npm and pip packages
  • lint: Lint all node.js scripts and shells
  • test: Unit Tests and Script tests

Related Epic: #427
Related User story: #433, #434, #435, #436

@wagmarcel wagmarcel marked this pull request as ready for review November 13, 2023 23:51
@wagmarcel wagmarcel added this to the API stable (beta) milestone Nov 15, 2023
This PR builds the foundation of the NGSI-LD Datamodel. It contains 3 tools:
- validate.js: This tool allow to validate a concise NGSI-LD model with a Schema
- jsonldConverter.js: This tool converts between normalized, concise and expanded NGSI-LD models
- jsonschema2shacl.js: This tool converts a jsonschema to a SHACL description

In addition the PR provides a Makefile with the targets
- setup: Install npm and pip packages
- lint: Lint all node.js scripts and shells
- test: Unit Tests and Script tests

Related Epic: IndustryFusion#427
Related User story: IndustryFusion#433, IndustryFusion#434, IndustryFusion#435, IndustryFusion#436

Signed-off-by: marcel <[email protected]>
@wagmarcel wagmarcel force-pushed the jsonschema2shacl-tools-PR branch from e2be79a to 102c240 Compare November 15, 2023 10:34
@abhijith-hr abhijith-hr merged commit 565a034 into IndustryFusion:main Nov 15, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants