Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align PID with ARF 1.5 #123

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -70,17 +70,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
Loading