Skip to content

Commit

Permalink
Align the PID definition with ARF 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgios DIMTSAS committed Feb 20, 2025
1 parent 1bbfb1a commit 3748f4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
12 changes: 6 additions & 6 deletions src/app/core/constants/attestation-definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ export const PID_ATTESTATION: AttestationDefinition = {
{ identifier: 'family_name_birth', attribute: 'Family name birth'},
{ identifier: 'given_name_birth', attribute: 'Given name birth'},
{ identifier: 'birth_place', attribute: 'Birth place'},
{ identifier: 'birth_country', attribute: 'Birth country'},
{ identifier: 'birth_state', attribute: 'Birth state'},
{ identifier: 'birth_city', attribute: 'Birth city'},
{ identifier: 'resident_address', attribute: 'Resident address'},
{ identifier: 'resident_country', attribute: 'Resident country'},
{ identifier: 'resident_state', attribute: 'Resident state'},
{ identifier: 'resident_city', attribute: 'Resident city'},
{ identifier: 'resident_postal_code', attribute: 'Resident postal code'},
{ identifier: 'resident_street', attribute: 'Resident street'},
{ identifier: 'resident_house_number', attribute: 'Resident house number'},
{ identifier: 'gender', attribute: 'Gender'},
{ identifier: 'sex', attribute: 'Sex'},
{ identifier: 'nationality', attribute: 'Nationality'},
{ identifier: 'issuance_date', attribute: 'Issuance date'},
{ identifier: 'expiry_date', attribute: 'Expiry date'},
{ identifier: 'issuing_authority', attribute: 'Issuing authority'},
{ identifier: 'document_number', attribute: 'Document number'},
{ identifier: 'administrative_number', attribute: 'Administrative number'},
{ identifier: 'personal_administrative_number', attribute: 'Personal administrative number'},
{ identifier: 'issuing_country', attribute: 'Issuing country'},
{ identifier: 'issuing_jurisdiction', attribute: 'Issuing jurisdiction'}
{ identifier: 'issuing_jurisdiction', attribute: 'Issuing jurisdiction'},
{ identifier: 'portrait', attribute: 'Portrait'},
{ identifier: 'email_address', attribute: 'Email address'},
{ identifier: 'mobile_phone_number', attribute: 'Mobile phone number'}
]
}

Expand Down
4 changes: 0 additions & 4 deletions src/app/core/constants/attestations-per-format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,17 +75,13 @@ export const PID_SD_JWT_VC_ATTRIBUTE_MAP: { [id: string]: string } = {
"family_name_birth": "birth_family_name",
"given_name_birth": "birth_given_name",
"birth_place": "place_of_birth.locality",
"birth_country": "place_of_birth.country",
"birth_state": "place_of_birth.region",
"birth_city": "place_of_birth.locality",
"resident_address": "address.formatted",
"resident_country": "address.country",
"resident_state": "address.region",
"resident_city": "address.locality",
"resident_postal_code": "address.postal_code",
"resident_street": "address.street_address",
"resident_house_number": "address.house_number",
"gender": "gender",
"nationality": "nationalities",
"issuance_date": "iat",
"expiry_date": "exp"
Expand Down

0 comments on commit 3748f4b

Please sign in to comment.