IdHub/idhub/templates/credentials/membership-card.json

74 lines
2.1 KiB
JSON
Raw Permalink Normal View History

2023-11-20 18:18:00 +00:00
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
2024-06-07 11:43:39 +00:00
"https://idhub.pangea.org/context/base.jsonld",
"https://idhub.pangea.org/context/membership-card.jsonld"
],
"type": [
"VerifiableCredential",
"VerifiableAttestation",
"MembershipCard"
],
2024-01-15 18:11:22 +00:00
"id": "{{ vc_id }}",
"issuer": {
2024-01-15 18:11:22 +00:00
"id": "{{ issuer_did }}",
"name": "{{ organisation }}"
},
2024-01-15 18:11:22 +00:00
"issuanceDate": "{{ issuance_date }}",
"issued": "{{ issuance_date }}",
"validFrom": "{{ issuance_date }}",
"validUntil": "{{ validUntil }}",
"name": [
{
"value": "Membership Card",
"lang": "en"
2023-11-20 18:18:00 +00:00
},
{
"value": "Carnet de soci/a",
"lang": "ca_ES"
2023-11-20 18:18:00 +00:00
},
{
"value": "Carnet de socio/a",
"lang": "es"
2023-11-20 18:18:00 +00:00
}
],
"description": [
{
"value": "The membership card specifies an individual's subscription or enrollment in specific services or benefits issued by an organization.",
"lang": "en"
},
{
"value": "El carnet de soci especifica la subscripció o la inscripció d'un individu en serveis o beneficis específics emesos per una organització.",
"lang": "ca_ES"
},
{
"value": "El carnet de socio especifica la suscripción o inscripción de un individuo en servicios o beneficios específicos emitidos por uns organización.",
"lang": "es"
}
],
"credentialSubject": {
2024-01-15 18:11:22 +00:00
"id": "{{ subject_did }}",
"firstName": "{{ firstName }}",
"lastName": "{{ lastName }}",
"email": "{{ email }}",
2024-01-25 10:55:28 +00:00
"role": "{{ role }}",
2024-01-15 18:11:22 +00:00
"typeOfPerson": "{{ typeOfPerson }}",
"identityDocType": "{{ identityDocType }}",
"identityNumber": "{{ identityNumber }}",
"organisation": "{{ organisation }}",
"membershipType": "{{ membershipType }}",
2024-03-18 16:31:16 +00:00
"membershipId": "{{ membershipId }}",
2024-01-15 18:11:22 +00:00
"affiliatedSince": "{{ affiliatedSince }}",
"affiliatedUntil": "{{ affiliatedUntil }}"
},
2024-02-14 16:08:41 +00:00
"credentialStatus": {
"id": "{{ credential_status_id}}",
2024-02-14 16:08:41 +00:00
"type": "RevocationBitmap2022",
"revocationBitmapIndex": "{{ id_credential }}"
},
"credentialSchema": {
"id": "https://idhub.pangea.org/vc_schemas/membership-card.json",
"type": "FullJsonSchemaValidator2021"
}
}