IdHub/schemas/e-actors.json

79 lines
3.0 KiB
JSON
Raw Normal View History

2024-01-25 10:55:28 +00:00
{
2024-06-21 10:08:42 +00:00
"$id": "https://idhub.pangea.org/vc_schemas/e-actors.json",
2024-01-25 10:55:28 +00:00
"$schema": "https://json-schema.org/draft/2020-12/schema",
2024-06-21 10:08:42 +00:00
"title": "EActors",
2024-01-25 10:55:28 +00:00
"description": "Product and waste electronics operator claim, as proposed by eReuse.org",
"name": [
{
"value": "Product and waste electronics operator claim",
"lang": "en"
},
{
"value": "Declaració d'operador de productes i residus electrònics",
"lang": "ca_ES"
},
{
"value": "Declaración de operador de productos y residuos electrónicos",
"lang": "es"
}
],
"type": "object",
"allOf": [
{
"$ref": "https://idhub.pangea.org/vc_schemas/ebsi/attestation.json"
},
{
"properties": {
"credentialSubject": {
"description": "Defines properties on credentialSubject",
"type": "object",
"properties": {
"id": {
"description": "Defines a unique identifier of the credential subject",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-01-25 10:55:28 +00:00
},
"legalName": {
"description": "Legal name of the operator",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-01-25 10:55:28 +00:00
},
2024-02-14 11:59:08 +00:00
"role": {
"description": "Role, either operator, witness, auditor",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-02-14 11:59:08 +00:00
},
"email": {
"type": "string",
2024-02-27 09:28:14 +00:00
"format": "email",
"pattern": "^\\S+@\\S+\\.\\S+$"
2024-02-14 11:59:08 +00:00
},
2024-01-25 10:55:28 +00:00
"accreditedBy": {
"description": "Legal name of the accrediting entity",
"type": "string"
},
"operatorNumber": {
"description": "Operator number awarded by accrediting entity",
2024-02-27 09:28:14 +00:00
"type": "string"
2024-01-25 10:55:28 +00:00
},
"limitJurisdiction": {
"description": "Regional scope",
2024-02-27 09:28:14 +00:00
"type": "string"
2024-01-25 10:55:28 +00:00
},
"accreditedFor": {
"description": "Operation type: e.g. manufacture, repair, refurbishment, remanufacture, transport, dismantle, recycle, verification, audit",
"type": "string"
}
},
"required": [
"id",
"legalName",
2024-02-14 11:59:08 +00:00
"role",
"email"
2024-01-25 10:55:28 +00:00
]
}
}
}
]
}