@europeum-ebsi/vcdm2.0-lpid-schema
v0.0.0
Published
Legal Person Identification Data (VCDM 2.0)
Readme
@europeum-ebsi/vcdm2.0-lpid-schema
Legal Person Identification Data (LPID)
Data Type for the Legal Person Identification Data (LPID)
The schema is published to the Trusted Schemas Registry with the IDs:
0x12e0c2952b7a6fc18e098b3d2671c702c13d161316cb5fb91ccfd8b02b5d9e2d(hexadecimal)z2Gh7pLrakLFceD7ti1s1HWUzyJqeT1waetDwd1updxZa(multibase base58btc)
Table of Contents
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Legal Person Identification Data (LPID)",
"description": "Data Type for the Legal Person Identification Data (LPID)",
"type": "object",
"allOf": [
{
"$ref": "./node_modules/@europeum-ebsi/vcdm2.0-attestation-schema/schema.json"
},
{
"$ref": "#/$defs/lpid"
}
],
"$defs": {
"lpid": {
"type": "object",
"properties": {
"issuingAuthorityId": {
"type": "string"
},
"issuingAuthority": {
"type": "string"
},
"issuerCountry": {
"type": "string"
},
"issuingJurisdiction": {
"type": "string"
},
"issuanceDate": {
"type": "string"
},
"expiryDate": {
"type": "string"
},
"schemaId": {
"type": "string"
},
"schemaVersion": {
"type": "string"
},
"schemaLocation": {
"type": "string"
},
"revocationId": {
"type": "string"
},
"revocationLocation": {
"type": "string"
},
"authenticSourceId": {
"type": "string"
},
"authenticSourceName": {
"type": "string"
},
"credentialSubject": {
"type": "object",
"description": "Data Type for the Legal Person Identification Data (LPID)",
"properties": {
"legalPersonId": {
"type": "string"
},
"legalPersonName": {
"type": "string"
}
},
"required": ["legalPersonId", "legalPersonName"]
}
},
"required": [
"issuingAuthorityId",
"issuingAuthority",
"issuerCountry",
"issuingJurisdiction",
"issuanceDate",
"expiryDate",
"schemaId",
"schemaVersion",
"schemaLocation",
"revocationId",
"revocationLocation",
"authenticSourceId",
"authenticSourceName",
"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/vcdm2.0-lpid-schema";
// you can now use the schema and metadataIn addition, the package exports a TypeScript type corresponding to the schema:
import type { LegalPersonIdentificationDataLPID } from "@europeum-ebsi/vcdm2.0-lpid-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.
