{
  "type": [
    "VerifiableCredential",
    "SkvAddressCredential"
  ],
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://registry.siros.org/contexts/skv-address-credential/v1"
  ],
  "name": "SkvAddressCredential",
  "description": "Credential som innehåller folkbokföringsadress för en person, inklusive namn och personnummer.",
  "display": {
    "backgroundColor": "#0b3a82",
    "textColor": "#ffffff"
  },
  "credentialSchema": {
    "type": "JsonSchema",
    "properties": {
      "credentialSubject": {
        "type": "object",
        "properties": {
          "adress": {
            "type": "string",
            "title": "adress",
            "description": "Gatuadress"
          },
          "birth_date": {
            "type": "string",
            "title": "birth_date",
            "description": "Födelsedatum"
          },
          "efternamn": {
            "type": "string",
            "title": "efternamn",
            "description": "Efternamn"
          },
          "family_name": {
            "type": "string",
            "title": "family_name",
            "description": "Efternamn"
          },
          "fornamn": {
            "type": "string",
            "title": "fornamn",
            "description": "Förnamn"
          },
          "given_name": {
            "type": "string",
            "title": "given_name",
            "description": "Förnamn"
          },
          "personal_administrative_number": {
            "type": "string",
            "title": "personal_administrative_number",
            "description": "Svenskt personnummer"
          },
          "personnummer": {
            "type": "string",
            "title": "personnummer",
            "description": "Svenskt personnummer"
          },
          "postnummer": {
            "type": "string",
            "title": "postnummer",
            "description": "Postnummer"
          },
          "postort": {
            "type": "string",
            "title": "postort",
            "description": "Postort"
          }
        },
        "required": [
          "personnummer",
          "fornamn",
          "efternamn",
          "adress",
          "personal_administrative_number",
          "given_name",
          "postnummer",
          "postort",
          "family_name",
          "birth_date"
        ]
      }
    }
  }
}