Skip to content
Validation for JSKOS data.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
examples
jskos @ bfdbbc6
lib
test
.eslintrc.js
.gitignore
.gitmodules
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

JSKOS Validation

Build Status GitHub package version NPM package name standard-readme compliant

Validation for JSKOS data.

This repository contains tools for validating JSKOS data.

Table of Contents

Install

git clone --recursive https://github.com/gbv/jskos-validate.git
cd jskos-validate
npm i jskos-validate

Usage

This module provides validation methods for each JSKOS object type based on JSON Schemas.

const validate = require("jskos-validate")

let concept = { ... }
validate.concept(concept) // returns true or false

let mapping = { ... }
validate.mapping(mapping) // returns true or false

// ...

version

Returns the version of the JSKOS specification that's used for validation.

jskos.version // 0.4.4

Test

npm test

Maintainers

Publish

To publish a new version on npm after committing your changes, follow these steps:

npm version patch # or minor, or major
git push --tags origin master

Travis will automatically deploy the new version based on the tag to npm.

Contribute

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

MIT © 2019 Verbundzentrale des GBV (VZG)

You can’t perform that action at this time.