UNPKG

@klayr-did/klayr-verifiable-credentials

Version:

A library for working with W3C verifiable credentials (VC) and verifiable presentations (VP) using Klayr DID

88 lines 4.2 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { '@context': { id: '@id', type: '@type', extensions: 'https://w3id.org/openbadges/extensions#', obi: 'https://w3id.org/openbadges#', validation: 'obi:validation', cred: 'https://w3id.org/credentials#', dc: 'http://purl.org/dc/terms/', schema: 'http://schema.org/', sec: 'https://w3id.org/security#', xsd: 'http://www.w3.org/2001/XMLSchema#', AlignmentObject: 'schema:AlignmentObject', CryptographicKey: 'sec:Key', Endorsement: 'cred:Credential', Assertion: 'obi:Assertion', BadgeClass: 'obi:BadgeClass', Criteria: 'obi:Criteria', Evidence: 'obi:Evidence', Extension: 'obi:Extension', FrameValidation: 'obi:FrameValidation', IdentityObject: 'obi:IdentityObject', Image: 'obi:Image', HostedBadge: 'obi:HostedBadge', hosted: 'obi:HostedBadge', Issuer: 'obi:Issuer', Profile: 'obi:Profile', RevocationList: 'obi:RevocationList', SignedBadge: 'obi:SignedBadge', signed: 'obi:SignedBadge', TypeValidation: 'obi:TypeValidation', VerificationObject: 'obi:VerificationObject', author: { '@id': 'schema:author', '@type': '@id' }, caption: { '@id': 'schema:caption' }, claim: { '@id': 'cred:claim', '@type': '@id' }, created: { '@id': 'dc:created', '@type': 'xsd:dateTime' }, creator: { '@id': 'dc:creator', '@type': '@id' }, description: { '@id': 'schema:description' }, email: { '@id': 'schema:email' }, endorsement: { '@id': 'cred:credential', '@type': '@id' }, expires: { '@id': 'sec:expiration', '@type': 'xsd:dateTime' }, genre: { '@id': 'schema:genre' }, image: { '@id': 'schema:image', '@type': '@id' }, name: { '@id': 'schema:name' }, owner: { '@id': 'sec:owner', '@type': '@id' }, publicKey: { '@id': 'sec:publicKey', '@type': '@id' }, publicKeyPem: { '@id': 'sec:publicKeyPem' }, related: { '@id': 'dc:relation', '@type': '@id' }, startsWith: { '@id': 'http://purl.org/dqm-vocabulary/v1/dqm#startsWith' }, tags: { '@id': 'schema:keywords' }, targetDescription: { '@id': 'schema:targetDescription' }, targetFramework: { '@id': 'schema:targetFramework' }, targetName: { '@id': 'schema:targetName' }, targetUrl: { '@id': 'schema:targetUrl' }, telephone: { '@id': 'schema:telephone' }, url: { '@id': 'schema:url', '@type': '@id' }, version: { '@id': 'schema:version' }, alignment: { '@id': 'obi:alignment', '@type': '@id' }, allowedOrigins: { '@id': 'obi:allowedOrigins' }, audience: { '@id': 'obi:audience' }, badge: { '@id': 'obi:badge', '@type': '@id' }, criteria: { '@id': 'obi:criteria', '@type': '@id' }, endorsementComment: { '@id': 'obi:endorsementComment' }, evidence: { '@id': 'obi:evidence', '@type': '@id' }, hashed: { '@id': 'obi:hashed', '@type': 'xsd:boolean' }, identity: { '@id': 'obi:identityHash' }, issuedOn: { '@id': 'obi:issueDate', '@type': 'xsd:dateTime' }, issuer: { '@id': 'obi:issuer', '@type': '@id' }, narrative: { '@id': 'obi:narrative' }, recipient: { '@id': 'obi:recipient', '@type': '@id' }, revocationList: { '@id': 'obi:revocationList', '@type': '@id' }, revocationReason: { '@id': 'obi:revocationReason' }, revoked: { '@id': 'obi:revoked', '@type': 'xsd:boolean' }, revokedAssertions: { '@id': 'obi:revoked' }, salt: { '@id': 'obi:salt' }, targetCode: { '@id': 'obi:targetCode' }, uid: { '@id': 'obi:uid' }, validatesType: 'obi:validatesType', validationFrame: 'obi:validationFrame', validationSchema: 'obi:validationSchema', verification: { '@id': 'obi:verify', '@type': '@id' }, verificationProperty: { '@id': 'obi:verificationProperty' }, verify: 'verification', }, }; //# sourceMappingURL=open-badges-v2p0.js.map