
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@oslo-flanders/shacl-template-generator
Advanced tools
Generates a SHACL template based on an OSLO JSON-LD file
OSLO SHACL Template GeneratorGenerates a SHACL template based on an OSLO JSON-LD file
npm install @oslo-flanders/shacl-template-generator
npm install -g @oslo-flanders/shacl-template-generator
| Parameter | Description | Required | Possible values |
|---|---|---|---|
--input | The path of an OSLO JSON-LD file | :heavy_check_mark: | |
--output | Name of the output file | No, default shacl.jsonld | |
--outputFormat | Format of the generated file | No, default application/ld+json | application/ld+json, text/turtle,application/n-triples |
--language | The language in which to generate the SHACL template | :heavy_check_mark: | |
--shapeBaseURI | The base URI to be used for the HTTP URIs of the SHACL shapes | No, default http://example.org | |
--mode | The generation mode | No, default grouped | grouped or individual |
--constraint | Additional constraints to add to the SHACL shapes | No | uniqueLanguages, nodeKind, codelist. Multiple constraint are allowed |
--applicationProfileURL | The URL on which the application profile is published, to create cross-references | No | |
--useUniqueURIs | Create unique HTTP URIs for the individual SHACL shapes using the labels | No, default false | |
--addCodelistRules | Add rules for codelists, if present | No, default false | |
--addConstraintMessages | Add additional messages in the configured language to the SHACL shapes | No, default false | |
--addRuleNumbers | Add extra entry for rule numbers, allowing editors to add a rule numbers across multiple specs | No, default false | |
--addShapesContainer | Creates a container shape that links to all generated shapes using rdfs:member properties. Useful for tools that need to discover all shapes in a document. | no, default true |
oslo-shacl-template-generator --input report.jsonld --language nl
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be --mode individual
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be --constraint uniqueLanguages --constraint nodeKind
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be --applicationProfileURL https://data.vlaanderen.be/doc/applicatieprofiel/verkeersmetingen
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be --useUniqueURIs true
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be --addCodelistRules true
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be --addConstraintMessages true
oslo-shacl-template-generator --input report.jsonld --language nl --shapeBaseURI https://data.vlaanderen.be --addRuleNumbers true
FAQs
Generates a SHACL template based on an OSLO JSON-LD file
The npm package @oslo-flanders/shacl-template-generator receives a total of 39 weekly downloads. As such, @oslo-flanders/shacl-template-generator popularity was classified as not popular.
We found that @oslo-flanders/shacl-template-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.