🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@oslo-flanders/jsonld-validator

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oslo-flanders/jsonld-validator

Validates the generated JSON-LD file to a set of validation rules

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
3
Created
Source

OSLO JSON-LD Validator

Validates JSON-LD files against a whitelist of allowed namespaces/URIs

This package validates that all URIs in a JSON-LD file match allowed namespace prefixes from a whitelist file. It helps ensure that only approved vocabularies and namespaces are used in your OSLO model.

Install

npm install @oslo-flanders/jsonld-validator

Global install

npm install -g @oslo-flanders/jsonld-validator

API

ParameterDescriptionRequiredPossible values
--inputThe URL or local file path of an OSLO JSON-LD file:heavy_check_mark:
--whitelistThe URL or local file path to a whitelist json containing a set of allowed URI prefixes:heavy_check_mark:whitelist.json

Usage

oslo-jsonld-validator --input report.jsonld --whitelist whitelist.json
oslo-jsonld-validator --input report.jsonld --whitelist https://raw.githubusercontent.com/Informatievlaanderen/OSLO-UML-Transformer/refs/heads/configuration/whitelist.json

FAQs

Package last updated on 02 Sep 2025

Did you know?

Socket

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.

Install

Related posts