IdHub/schemas/e-operator-claim.json

78 lines
3 KiB
JSON
Raw Normal View History

2024-01-25 10:55:28 +00:00
{
2024-02-09 08:33:55 +00:00
"$id": "https://idhub.pangea.org/vc_schemas/e-operator-claim.json",
2024-01-25 10:55:28 +00:00
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "EOperatorClaim",
"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
]
}
}
}
]
}