This package transforms an OSLO JSON-LD file into a JSON configuration file which will be used by the Nuxt.JS Service to render vocabularies and application profiles
npm install @oslo-flanders/json-webuniversum-generator
npm install -g @oslo-flanders/json-webuniversum-generator
The service is executed from the CLI and expects the following parameters:
Parameter | Description | Required | Possible values |
---|---|---|---|
--input |
The URL or local file path of an OSLO stakeholders csv file | ✔️ | |
--output |
Name of the output file | No, default webuniversum-config.json
|
|
--language |
The language in which the config must be generated | ✔️ | |
--applyFiltering |
Wether or not to apply filters on the generated output. The filters limit the generated classes, datatypes, entities and properties that will be shown to a certain scopes. If you just want all possible values, you can set the value to false . |
No, default true
|
true or false
|
--publicationEnvironment |
The base URI of environment where the document will be published | ✔️ | |
--specificationType |
The type of specification | No, defaults to Vocabulary
|
ApplicationProfile or Vocabulary
|
oslo-webuniversum-json-generator --input report.jsonld --language nl --publicationEnvironment https://data.vlaanderen.be
oslo-webuniversum-json-generator --input report.jsonld --language nl --applyFiltering false --publicationEnvironment https://data.vlaanderen.be
oslo-webuniversum-json-generator --input report.jsonld --language nl --applyFiltering false --publicationEnvironment https://data.vlaanderen.be --specificationType ApplicationProfile