Skip to content

Commit c5b2219

Browse files
authored
Rename 'birth_place' to 'place_of_birth' in mdoc PID (#209)
1 parent 63d7538 commit c5b2219

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/core/constants/attestation-definitions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const PID_ATTESTATION: AttestationDefinition = {
1010
{ identifier: 'birth_date', attribute: 'Birthdate'},
1111
{ identifier: 'family_name_birth', attribute: 'Family name birth'},
1212
{ identifier: 'given_name_birth', attribute: 'Given name birth'},
13-
{ identifier: 'birth_place', attribute: 'Birth place'},
13+
{ identifier: 'place_of_birth', attribute: 'Birth place'},
1414
{ identifier: 'resident_address', attribute: 'Resident address'},
1515
{ identifier: 'resident_country', attribute: 'Resident country'},
1616
{ identifier: 'resident_state', attribute: 'Resident state'},

src/app/core/constants/attestations-per-format.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ export const PID_SD_JWT_VC_ATTRIBUTE_MAP: { [id: string]: string } = {
117117
"birth_date": "birthdate",
118118
"family_name_birth": "birth_family_name",
119119
"given_name_birth": "birth_given_name",
120-
"birth_place": "place_of_birth.locality",
120+
"place_of_birth": "place_of_birth.locality",
121121
"resident_address": "address.formatted",
122122
"resident_country": "address.country",
123123
"resident_state": "address.region",

0 commit comments

Comments
 (0)