@@ -16,7 +16,7 @@ export const MDL_MSO_MDOC: MsoMdocAttestation = {
1616 doctype : 'org.iso.18013.5.1.mDL' ,
1717 namespace : 'org.iso.18013.5.1' ,
1818 attributePath : ( attribute : DataElement ) => { return msoMdocAttributePath ( attribute , 'org.iso.18013.5.1' ) } ,
19- claimPath : ( attribute : DataElement ) => { return { namespace : 'org.iso.18013.5.1' , claim_name : attribute . identifier } }
19+ claimPath : ( attribute : DataElement ) => { return { namespace : 'org.iso.18013.5.1' , claim_name : attribute . identifier , intent_to_retain : false } }
2020}
2121
2222/*---- PID ATTESTATION INSTANCES PER FORMAT ----*/
@@ -26,7 +26,7 @@ export const PID_MSO_MDOC: MsoMdocAttestation = {
2626 doctype : 'eu.europa.ec.eudi.pid.1' ,
2727 namespace : 'eu.europa.ec.eudi.pid.1' ,
2828 attributePath : ( attribute : DataElement ) => { return msoMdocAttributePath ( attribute , 'eu.europa.ec.eudi.pid.1' ) } ,
29- claimPath : ( attribute : DataElement ) => { return { namespace : 'eu.europa.ec.eudi.pid.1' , claim_name : attribute . identifier } }
29+ claimPath : ( attribute : DataElement ) => { return { namespace : 'eu.europa.ec.eudi.pid.1' , claim_name : attribute . identifier , intent_to_retain : false } }
3030}
3131export const PID_SD_JWT_VC : SdJwtVcAttestation = {
3232 format : AttestationFormat . SD_JWT_VC ,
@@ -43,7 +43,7 @@ export const AGE_OVER_18_MSO_MDOC: MsoMdocAttestation = {
4343 doctype : 'eu.europa.ec.eudi.pseudonym.age_over_18.1' ,
4444 namespace : 'eu.europa.ec.eudi.pseudonym.age_over_18.1' ,
4545 attributePath : ( attribute : DataElement ) => { return msoMdocAttributePath ( attribute , 'eu.europa.ec.eudi.pseudonym.age_over_18.1' ) } ,
46- claimPath : ( attribute : DataElement ) => { return { namespace : 'eu.europa.ec.eudi.pseudonym.age_over_18.1' , claim_name : attribute . identifier } }
46+ claimPath : ( attribute : DataElement ) => { return { namespace : 'eu.europa.ec.eudi.pseudonym.age_over_18.1' , claim_name : attribute . identifier , intent_to_retain : false } }
4747}
4848
4949/*---- PHOTO ID ATTESTATION INSTANCES PER FORMAT ----*/
@@ -53,7 +53,7 @@ export const PHOTO_ID_MSO_MDOC: MsoMdocAttestation = {
5353 doctype : 'org.iso.23220.2.photoid.1' ,
5454 namespace : 'org.iso.23220.photoid.1' ,
5555 attributePath : ( attribute : DataElement ) => { return msoMdocAttributePath ( attribute , 'org.iso.23220.photoid.1' ) } ,
56- claimPath : ( attribute : DataElement ) => { return { namespace : 'org.iso.23220.photoid.1' , claim_name : attribute . identifier } }
56+ claimPath : ( attribute : DataElement ) => { return { namespace : 'org.iso.23220.photoid.1' , claim_name : attribute . identifier , intent_to_retain : false } }
5757}
5858
5959function msoMdocAttributePath ( attribute : DataElement , namespace : string ) : string {
0 commit comments