@oslo-flanders/json-webuniversum-generator
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

oslo-generator-json-webuniversum OSLO JSON Webuniversum Generator

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

Install

npm install @oslo-flanders/json-webuniversum-generator

Global install

npm install -g @oslo-flanders/json-webuniversum-generator

API

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

Usage

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

Readme

Keywords

none

Package Sidebar

Install

npm i @oslo-flanders/json-webuniversum-generator

Weekly Downloads

30

Version

1.0.3

License

MIT

Unpacked Size

108 kB

Total Files

33

Last publish

Collaborators

  • ddvlanck
  • kristofvandenbroucke
  • bertvn