2023-11-20 18:18:00 +00:00
|
|
|
{
|
2023-12-15 16:52:08 +00:00
|
|
|
"$id": "https://idhub.pangea.org/vc_schemas/membership-card.json",
|
2023-11-20 18:18:00 +00:00
|
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
2023-12-15 16:52:08 +00:00
|
|
|
"title": "Membership Card",
|
|
|
|
"description": "The membership card specifies an individual's subscription or enrollment in specific services or benefits issued by an organization.",
|
|
|
|
"name": [
|
|
|
|
{
|
|
|
|
"value": "Membership Card",
|
|
|
|
"lang": "en"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Carnet de soci/a",
|
|
|
|
"lang": "ca_ES"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "Carnet de socio/a",
|
|
|
|
"lang": "es"
|
|
|
|
}
|
|
|
|
],
|
2023-11-20 18:18:00 +00:00
|
|
|
"type": "object",
|
2023-12-15 16:52:08 +00:00
|
|
|
"allOf": [
|
|
|
|
{
|
|
|
|
"$ref": "https://idhub.pangea.org/vc_schemas/ebsi/attestation.json"
|
|
|
|
},
|
|
|
|
{
|
2023-11-20 18:18:00 +00:00
|
|
|
"properties": {
|
2023-12-15 16:52:08 +00:00
|
|
|
"credentialSubject": {
|
|
|
|
"description": "Defines additional properties on credentialSubject",
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": {
|
|
|
|
"description": "Defines a unique identifier of the credential subject",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"organisation": {
|
|
|
|
"description": "Organisation the credential subject is affiliated with",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"membershipType": {
|
|
|
|
"description": "Type of membership",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"membershipId": {
|
|
|
|
"description": "Membership identifier",
|
2024-02-16 08:01:46 +00:00
|
|
|
"type": ["number", "string"]
|
2023-12-15 16:52:08 +00:00
|
|
|
},
|
|
|
|
"affiliatedSince": {
|
|
|
|
"type": "string",
|
2024-02-16 13:03:09 +00:00
|
|
|
"format": "date"
|
2023-12-15 16:52:08 +00:00
|
|
|
},
|
|
|
|
"affiliatedUntil": {
|
|
|
|
"type": "string",
|
2024-02-16 13:03:09 +00:00
|
|
|
"format": "date"
|
2023-12-15 16:52:08 +00:00
|
|
|
},
|
|
|
|
"typeOfPerson": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"natural",
|
|
|
|
"legal"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"identityDocType": {
|
|
|
|
"description": "Type of the Identity Document of the credential subject",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"identityNumber": {
|
|
|
|
"description": "Number of the Identity Document of the credential subject",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"firstName": {
|
|
|
|
"description": "Name of the natural person or name of the legal person (organisation)",
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"lastName": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2024-01-25 10:55:28 +00:00
|
|
|
"role": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
2023-12-15 16:52:08 +00:00
|
|
|
"email": {
|
|
|
|
"type": "string",
|
|
|
|
"format": "email"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"organisation",
|
|
|
|
"affiliatedSince",
|
|
|
|
"typeOfPerson",
|
|
|
|
"firstName",
|
|
|
|
"email"
|
2023-11-20 18:18:00 +00:00
|
|
|
]
|
|
|
|
}
|
2023-12-15 16:52:08 +00:00
|
|
|
}
|
2023-11-20 18:18:00 +00:00
|
|
|
}
|
2023-12-15 16:52:08 +00:00
|
|
|
]
|
2023-11-20 18:18:00 +00:00
|
|
|
}
|