IdHub/schemas/federation-membership.json

133 lines
4.1 KiB
JSON
Raw Permalink Normal View History

2024-01-21 20:08:43 +00:00
{
2024-02-07 09:32:28 +00:00
"$id": "https://idhub.pangea.org/vc_schemas/federation-membership.json",
2024-01-21 20:08:43 +00:00
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Federation membership",
"description": "The federation membership specifies participation of a NGO into a NGO federation, as proposed by Lafede.cat",
"name": [
{
"value": "NGO federation membership",
"lang": "en"
},
{
"value": "Membre de federació ONGs",
"lang": "ca_ES"
},
{
"value": "Miembro de federación de ONGs",
"lang": "es"
}
],
"type": "object",
"allOf": [
{
"$ref": "https://idhub.pangea.org/vc_schemas/ebsi/attestation.json"
},
{
"properties": {
"credentialSubject": {
"description": "Defines additional 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-21 20:08:43 +00:00
},
"federation": {
"description": "Federation the credential subject is affiliated with",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-01-21 20:08:43 +00:00
},
"legalName": {
"description": "Legal name of the affiliated organisation",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-01-21 20:08:43 +00:00
},
"shortName": {
"description": "Short name of the organisation of the affiliated organisation",
"type": "string"
},
"registrationIdentifier": {
"description": "Registration identifier of the affiliated organisation",
2024-02-27 09:28:14 +00:00
"type": "string"
2024-01-21 20:08:43 +00:00
},
"publicRegistry": {
"description": "Registry where the affiliated organisation is registered: 'Generalitat de Catalunya', 'Ministerio del interior de España'",
"type": "string"
},
"streetAddress": {
"description": "Postal address of the member organisation: legal address",
"type": "string"
},
"postCode": {
"description": "Postal code of the member organisation",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-01-21 20:08:43 +00:00
},
"city": {
"description": "City of the member organisation",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-01-21 20:08:43 +00:00
},
"taxReference": {
"description": "Tax reference as VAT registration of the member organisation",
2024-02-27 09:28:14 +00:00
"type": "string"
2024-01-21 20:08:43 +00:00
},
"membershipType": {
"description": "Type of membership: full / observer",
2024-02-27 09:28:14 +00:00
"type": "string",
"minLength": 1
2024-01-21 20:08:43 +00:00
},
"membershipStatus": {
"description": "Type of membership: active / suspended, etc.",
"type": "string"
},
"membershipId": {
"description": "Membership identifier: an internal unique number or code",
2024-02-27 09:28:14 +00:00
"type": "string"
2024-01-21 20:08:43 +00:00
},
"membershipSince": {
"type": "string",
2024-02-27 09:28:14 +00:00
"format": "date",
"minLength": 1
2024-01-21 20:08:43 +00:00
},
"email": {
"type": "string",
2024-02-27 09:28:14 +00:00
"format": "email",
"pattern": "^\\S+@\\S+\\.\\S+$"
2024-01-21 20:08:43 +00:00
},
"phone": {
2024-02-27 09:28:14 +00:00
"type": "string"
2024-01-21 20:08:43 +00:00
},
"website": {
2024-02-28 09:38:56 +00:00
"type": "string",
2024-01-21 20:08:43 +00:00
"format": "uri"
},
"evidence": {
"description": "Type of evidence used for attestation",
"type": "string"
},
"certificationDate": {
"type": "string",
2024-02-27 09:28:14 +00:00
"format": "date",
"minLength": 1
2024-01-21 20:08:43 +00:00
}
},
"required": [
"id",
"legalName",
"postCode",
"city",
"membershipType",
"membershipStatus",
"federation",
"membershipSince",
2024-02-07 09:32:28 +00:00
"email",
2024-01-21 20:08:43 +00:00
"certificationDate"
]
}
}
}
]
}