Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 293fff29 authored by Alen Horvat's avatar Alen Horvat
Browse files

update schema, add readme

parent 011f4fd6
Branches
Tags
No related merge requests found
{ {
"$schema": "https://json-schema.org/draft/2020-12/schema", "$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "EBSI Proof of residence", "title": "Verifiable Proof of residence",
"description": "Schema of an EBSI Proof of residence", "description": "Proof of residence Verifiable Credential",
"type": "object", "type": "object",
"allOf": [ "allOf": [
{ {
"$ref": "https://api-conformance.ebsi.eu/trusted-schemas-registry/v2/schemas/0xeb6d8131264327f3cbc5ddba9c69cb9afd34732b3b787e4b3e3507a25d3079e9" "$ref": "../../../ebsi-attestation/2022-11_01/schema.json"
}, },
{ {
"properties": { "properties": {
...@@ -36,44 +36,40 @@ ...@@ -36,44 +36,40 @@
"type": "string" "type": "string"
}, },
"residence": { "residence": {
"description": "Defines the information about the residence of the credential subject", "description": "Defines the information about the residence of the credential subject. Definition: https://schema.org/PostalAddress",
"type": "object", "type": "object",
"properties": { "properties": {
"country": { "addressCountry": {
"description": "Defines the country of residence of the credential subject", "description": "Defines the country of residence of the credential subject. MUST be two-letter ISO 3166-1 alpha-2 country code.",
"type": "string" "type": "string"
}, },
"city": { "addressRegion": {
"description": "Defines the city of residence of the credential subject", "description": "Defines the address region of residence of the credential subject. MUST be ISO 3166-2 code",
"type": "string" "type": "string"
}, },
"postalCode": { "addressLocality": {
"description": "Defines the postal code of residence of the credential subject", "description": "The locality in which the street address is, and which is in the region. For example, Mountain View.",
"type": "string"
},
"provinceCode": {
"description": "Defines the province code of residence of the credential subject",
"type": "string" "type": "string"
}, },
"municipalityCode": { "postalCode": {
"description": "Defines the municipality code of residence of the credential subject", "description": "Defines the postal code of residence of the credential subject",
"type": "string" "type": "string"
}, },
"address": { "fullAddress": {
"description": "Defines the address of residence of the credential subject", "description": "The complete address written as a string. https://semiceu.github.io/Core-Person-Vocabulary/releases/2.1.0/",
"type": "string" "type": "string"
} }
}, },
"required": [ "required": [
"Country", "addressCountry",
"city", "addressLocality",
"postalCode" "postalCode"
] ]
}, }
}, },
"required": [ "required": [
"id", "id",
"familyNames", "familyName",
"firstName", "firstName",
"personalIdentifier", "personalIdentifier",
"residence" "residence"
......
# Verifiable Proof of Residence
> Schema for additional properties on credentialSubject to describe Verifiable Proof of Residence.
Vocabularies used:
- [eIDAS minimum dataset](http://mapping.semic.eu:81/vdm/description.vsp?namespace=cv&type=eb004434a93bbeaa2ba5968d26af06be&id=&format=)
- [Schema.org - Postal Address](https://schema.org/PostalAddress)
## Changes
### 2023-07
Initial schema.
- Pump to json-schema 2020-12
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment