w3c-ccg / security-vocab

The Linked Data Security Vocabulary
https://w3id.org/security
Other
21 stars 21 forks source link
ccg json-ld jsonld linked-data registry security-vocabulary w3c-ccg

Security Vocabulary

CI

This repository contains the Credentials Community Group Security Vocabulary and a npm package that exports related contexts and constants.

Security Vocabulary

Security Vocabulary specification: https://w3c-ccg.github.io/security-vocab/.

Context Package

The repository contains JSON-LD contexts for the Security Vocabulary. These are also packaged in a npm package for CommonJS and ES Modules. To use with NPM and Node.js, use the following:

npm install security-context

The package exposes two values:

const {contexts, constants} = require('security-context');

With ES Modules:

// use one of the following forms:
import * as securityvocab1 from 'security-context';
import {default as securityvocab2} from 'security-context';
import {contexts, constants} from 'security-context';