Skip to content

Commit

Permalink
chore: removed tax_id_code and unique_id in the non normative examples
Browse files Browse the repository at this point in the history
  • Loading branch information
m-basili committed Dec 18, 2024
1 parent aae0922 commit 94e48fe
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 41 deletions.
11 changes: 3 additions & 8 deletions examples/ec-eaa.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,15 +186,15 @@
}
]
},
"tax_id_code": {
"personal_administrative_number": {
"value_type": "string",
"display": [
{
"name": "Codice Fiscale",
"locale": "it-IT"
},
{
"name": "Tax Id Number",
"name": "Tax Identification Number",
"locale": "en-US"
}
]
Expand Down Expand Up @@ -553,12 +553,7 @@
},
{
"path": [
"$.unique_id"
]
},
{
"path": [
"$.tax_id_code"
"$.personal_administrative_number"
]
}
]
Expand Down
7 changes: 1 addition & 6 deletions examples/ec-rp.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,7 @@
},
{
"path": [
"$.unique_id"
]
},
{
"path": [
"$.tax_id_code"
"$.personal_administrative_number"
]
}
]
Expand Down
21 changes: 6 additions & 15 deletions examples/pid-mdoc-cbor-example.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,10 @@
3: h'E2382149255AE8E955AF9B8984395…',
4: h'BBC77E6CCA981A3AD0C3E544EDF86…',
6: h'BB6E6C68D1B4B4EC5A2AE9206F5t4…',
7: h'F8A5966E6DAC9970E0334D8F75E25…',
8: h'DEFDF1AA746718016EF1B94BFE5R6…'
7: h'F8A5966E6DAC9970E0334D8F75E25…'
},
"eu.europa.ec.eudiw.pid.it.1": {
9: h'F9EE4D36F67DBD75E23311AC1C29…'
8: h'F9EE4D36F67DBD75E23311AC1C29…'
}
},
"deviceKeyInfo": {
Expand Down Expand Up @@ -89,7 +88,7 @@
"elementIdentifier": "given_name",
"elementValue": "Mario"
}
>>)),
>>),
24(<<
{
"digestID": 6,
Expand All @@ -104,24 +103,16 @@
"random": h'6059FF1CE27B4997B4ADE1DE7B01DC60',
"elementIdentifier": "birth_date",
"elementValue": 1004("1956-01-12")% the tag 1004 defines the value
is a full date
is a full date
}
>>),
24(<<
{
"digestID": 8,
"random": h'53C15C57B3B076E788795829190220B4',
"elementIdentifier": "unique_id",
"elementValue": "xxxxxxxx-xxx-xxxx-xxxxxxxxxxxx"
}
>>)
],
"eu.europa.ec.eudiw.pid.it.1": [
24(<<
{
"digestID": 9,
"digestID": 8,
"random": h'11aa7273a2d2daa973f5951f0c34c2fbae',
"elementIdentifier": "tax_id_number",
"elementIdentifier": "personal_administrative_number",
"elementValue": "TINIT-XXXXXXXXXXXXXXX"
}
>>)
Expand Down
15 changes: 3 additions & 12 deletions examples/presentation-definition.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@
"constraints": {
"limit_disclosure": "preferred",
"fields": [
{
"filter": {
"const": "unique_id",
"type": "string"
},
"path": [
"$.credentialSubject.unique_id"
]
},
{
"filter": {
"const": "given_name",
Expand Down Expand Up @@ -58,18 +49,18 @@
},
{
"filter": {
"const": "tax_id_code",
"const": "personal_administrative_number",
"type": "string"
},
"path": [
"$.credentialSubject.tax_id_code"
"$.credentialSubject.personal_administrative_number"
]
}
]
}
},
{
"id": "WalletAttestation",
"id": "WalletAttestation",
"name": "Wallet Attestation",
"purpose": "Wallet Authentication",
"format": "jwt",
Expand Down

0 comments on commit 94e48fe

Please sign in to comment.