{
  "type": [
    "VerifiableCredential",
    "DemoIdentityCredential"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://raw.githubusercontent.com/leifj/vctm-template/vctm/contexts/demo-identity/v1"
  ],
  "name": "Demo Identity Credential",
  "description": "A demonstration verifiable credential for identity verification. This credential can be used as a template for creating your own VCTM credentials.",
  "display": {
    "backgroundColor": "#1a365d",
    "textColor": "#ffffff"
  },
  "credentialSchema": {
    "type": "JsonSchema",
    "properties": {
      "credentialSubject": {
        "type": "object",
        "properties": {
          "birth_date": {
            "type": "string",
            "title": "Date of Birth",
            "description": "Date of birth of the holder",
            "format": "date"
          },
          "email": {
            "type": "string",
            "title": "Email",
            "description": "Email address of the holder"
          },
          "family_name": {
            "type": "string",
            "title": "Family Name",
            "description": "The family name of the credential holder"
          },
          "given_name": {
            "type": "string",
            "title": "Given Name",
            "description": "The given name of the credential holder"
          },
          "national_id": {
            "type": "string",
            "title": "National ID",
            "description": "National identification number"
          },
          "nationality": {
            "type": "string",
            "title": "Nationality",
            "description": "Nationality of the credential holder"
          }
        },
        "required": [
          "given_name",
          "family_name"
        ]
      }
    }
  }
}