@europeum-ebsi/vcdm1.1-license-grant-schema
v0.0.0
Published
License Grant (VCDM 1.1)
Downloads
82
Readme
@europeum-ebsi/vcdm1.1-license-grant-schema
License Grant
Schema of a License Grant Verifiable Credential
The schema is published to the Trusted Schemas Registry with the IDs:
0x281ec71359297cecdc52cf8a1862e179d068056c6ac1499f6b4c5104c05d1875(hexadecimal)z3hcXcZ99qDsVAxiRKKSjtRbS4M6tAtXgcNCkvMh4hZXz(multibase base58btc)
Table of Contents
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "License Grant",
"description": "Schema of a License Grant Verifiable Credential",
"type": "object",
"allOf": [
{
"$ref": "./node_modules/@europeum-ebsi/vcdm1.1-attestation-schema/schema.json"
},
{
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"dealId": {
"type": "string",
"title": "Deal ID",
"examples": ["21410"],
"description": "Internal deal identifier."
},
"dealName": {
"type": "string",
"title": "Deal Name",
"description": "Human-readable deal name."
},
"startDate": {
"type": "string",
"title": "Start Date",
"format": "date",
"description": "Agreement start date."
},
"dealNumber": {
"type": "string",
"title": "Deal Number",
"examples": ["652220"],
"description": "External deal number."
},
"dealStatus": {
"type": "string",
"title": "Deal Status",
"examples": ["Amended Booked"],
"description": "Current status of the agreement."
},
"brandIpName": {
"type": "string",
"title": "Brand / IP",
"examples": ["Transformers - Generations"],
"description": "Brand or IP name tied to the deal."
},
"categoryList": {
"type": "array",
"items": {
"type": "string"
},
"title": "Category List",
"description": "Product categories covered by the agreement."
},
"licenseeName": {
"type": "string",
"title": "Licensee",
"examples": ["LEGO System A/S"],
"description": "License recipient."
},
"licensorName": {
"type": "string",
"title": "Licensor",
"examples": ["Hasbro Inc."],
"description": "Rights holder granting the license."
},
"territoryList": {
"type": "array",
"items": {
"type": "string"
},
"title": "Territory List",
"description": "Full list of territories in the agreement."
},
"dealLastUpdated": {
"type": "string",
"title": "Deal Last Updated",
"format": "date",
"description": "Date of last update to the agreement."
},
"territorySummary": {
"type": "string",
"title": "Territory Summary",
"examples": ["Worldwide"],
"description": "Human-readable territory summary."
},
"licenseExpirationDate": {
"type": "string",
"title": "License Expiration Date",
"format": "date",
"description": "Agreement expiration date."
}
},
"required": [
"dealId",
"dealName",
"startDate",
"dealNumber",
"dealStatus",
"brandIpName",
"licenseeName",
"licensorName",
"territorySummary",
"licenseExpirationDate"
]
}
},
"required": ["credentialSubject"]
}
]
}Installation
# with npm
npm add @europeum-ebsi/[email protected]
# with Yarn
yarn add @europeum-ebsi/[email protected]
# with pnpm
pnpm add @europeum-ebsi/[email protected]Usage
The package exports the schema and its metadata as JavaScript objects:
import { schema, metadata } from "@europeum-ebsi/vcdm1.1-license-grant-schema";
// you can now use the schema and metadataIn addition, the package exports a TypeScript type corresponding to the schema:
import type { LicenseGrant } from "@europeum-ebsi/vcdm1.1-license-grant-schema";License
Copyright (C) 2026 European Union
This program is free software: you can redistribute it and/or modify it under the terms of the EUROPEAN UNION PUBLIC LICENCE v. 1.2 as published by the European Union.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the EUROPEAN UNION PUBLIC LICENCE v. 1.2 for further details.
You should have received a copy of the EUROPEAN UNION PUBLIC LICENCE v. 1.2. along with this program. If not, see https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12.
