{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://idhub.pangea.org/credentials/base/v1",
    "https://idhub.pangea.org/credentials/membership-card/v1"
  ],
  "type": [
    "VerifiableCredential",
    "VerifiableAttestation",
    "MembershipCard"
  ],
  "id": "{{ vc_id }}",
  "issuer": {
    "id": "{{ issuer_did }}",
    "name": "{{ organisation }}"
  },
  "issuanceDate": "{{ issuance_date }}",
  "issued": "{{ issuance_date }}",
  "validFrom": "{{ issuance_date }}",
  "validUntil": "{{ validUntil }}",
  "name": [
    {
      "value": "Membership Card",
      "lang": "en"
    },
    {
      "value": "Carnet de soci/a",
      "lang": "ca_ES"
    },
    {
      "value": "Carnet de socio/a",
      "lang": "es"
    }
  ],
  "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": {
    "id": "{{ subject_did }}",
    "firstName": "{{ firstName }}",
    "lastName": "{{ lastName }}",
    "email": "{{ email }}",
    "role": "{{ role }}",
    "typeOfPerson": "{{ typeOfPerson }}",
    "identityDocType": "{{ identityDocType }}",
    "identityNumber": "{{ identityNumber }}",
    "organisation": "{{ organisation }}",
    "membershipType": "{{ membershipType }}",
    "membershipId": "{{ vc_id }}",
    "affiliatedSince": "{{ affiliatedSince }}",
    "affiliatedUntil": "{{ affiliatedUntil }}"
  },
  "credentialStatus": {
    "id": "{{ issuer_did }}",
    "type": "RevocationBitmap2022",
    "revocationBitmapIndex": "{{ id_credential }}"
  },
  "credentialSchema": {
    "id": "https://idhub.pangea.org/vc_schemas/membership-card.json",
    "type": "FullJsonSchemaValidator2021"
  }
}