Available Documents


This page documents the 18013/OID4VP mdoc documents, namespaces, and attributes that can be requested for AltID.

This information may be useful when providing a preview_raw18013Request during Session creation.


Document TypeDescriptionPrimary NamespaceOther Namespace(s)
eu.europa.ec.eudi.pid.1EUDI Person Identification Dataeu.europa.ec.eudi.pid.1None
eu.europa.ec.av.1EU Age Verificationeu.europa.ec.av.1None



EUDI Person Identification Data

eu.europa.ec.eudi.pid.1

This document type is the Person Identification Data credential type in the EUDI Wallet framework.


eu.europa.ec.eudi.pid.1 Namespace

AttributeDescriptionMandatoryExample
given_nameCurrent first name(s), including middle name(s) where applicable, of the user to whom the person identification data relates.JEAN
given_name_birthFirst name(s), including middle name(s), of the user at the time of birth.JEAN
family_nameCurrent last name(s) or surname(s) of the user to whom the person identification data relates.DUPONT
family_name_birthLast name(s) or surname(s) of the user at the time of birth.DUPONT
birth_dateDay, month, and year on which the user was born.1990-01-31
birth_placeCountry, state, province, district, local area, municipality, city, town, or village where the user was born.PARIS
nationalityOne or more ISO 3166-1 alpha-2 country codes representing the user's nationality.["FR"]
expiry_dateDate when the person identification data expires.2030-01-31
issuing_authorityAdministrative authority that issued the person identification data, or the issuing country code.FR
issuing_countryISO 3166-1 alpha-2 country code of the provider of the person identification data.FR
issuance_dateDate when the person identification data was issued or its administrative validity period began.2020-01-31
trust_anchorURL where a machine-readable trust anchor for verifying the PID can be found.https://trust.example.test/anchor
attestation_legal_categoryIndicator that the credential has been issued as PID. When present, typically PID.PID
document_numberNumber assigned to the person identification data by the provider.P1234567
issuing_jurisdictionISO 3166-2 country-subdivision code for the jurisdiction that issued the person identification data.FR-75
location_statusLocation of validity status information for the person identification data.https://status.example.test/pid
portraitFacial image of the wallet user compliant with ISO 19794-5 or ISO 39794 specifications.<JPEG bytes>
sexUser's sex. Values include ISO/IEC 5218 values and EUDI-specific values.1
email_addressEmail address of the user.[email protected]
mobile_phone_numberMobile telephone number of the user, in international format.+33612345678
personal_administrative_numberPersonal administrative number assigned to the user by the provider.123456789
resident_addressFull address where the user currently resides or can be contacted.1 RUE DE LA PAIX, 75001 PARIS
resident_streetStreet where the user currently resides.RUE DE LA PAIX
resident_house_numberHouse number where the user currently resides.1
resident_cityMunicipality, city, town, or village where the user currently resides.PARIS
resident_stateState, province, district, or local area where the user currently resides.ILE-DE-FRANCE
resident_postal_codePostal code of the place where the user currently resides.75001
resident_countryISO 3166-1 alpha-2 country code where the user currently resides.FR



EU Age Verification

eu.europa.ec.av.1

This document type is the Age Verification credential type according to the EU Age Verification framework.


eu.europa.ec.av.1 Namespace

AttributeDescriptionMandatoryExample
age_over_18Whether the credential holder's age is at least 18 as of the issuance date of the credential.true
age_over_21Whether the credential holder's age is at least 21 as of the issuance date of the credential.true



How To Make A Custom Request

🚧

Preview Feature

This feature is currently available as a Preview.

By default, your Verification Profile's configuration is used to create the 18013 request when you create a Session.

To specify a custom request, set preview_raw18013Request in providerInput.

{
    "verificationProfileId": "...",
    "provider": "denmark-altid",

    // Other fields omitted

    "providerInput": {
        "denmark-altid": {
            "preview_raw18013Request": {
                // `documentRequests` is an array of requests, each describing a single document.
                // A credential which satisfies any request can be used by the user.
                "documentRequests": [
                    {
                        // EU PID
                        "documentType": "eu.europa.ec.eudi.pid.1",

                        // A map of (namespaceName -> map(attributeName -> willRetain)).
                        "nameSpaces": {
                            "eu.europa.ec.eudi.pid.1": {
                                // `given_name` is requested and will be retained.
                                "given_name": true,

                                // `family_name` is requested and will be retained.
                                "family_name": true,

                                // `portrait` is requested and will not be retained.
                                "portrait": false
                            }
                        }
                    }
                ]
            }
        }
    }
}
{
    "verificationProfileId": "...",
    "provider": "denmark-altid",
    "providerInput": {
        "denmark-altid": {
            "preview_raw18013Request": {
                "documentRequests": [
                    {
                        "documentType": "eu.europa.ec.eudi.pid.1",
                        "nameSpaces": {
                            "eu.europa.ec.eudi.pid.1": {
                                "given_name": true,
                                "family_name": true,
                                "portrait": false
                            }
                        }
                    }
                ]
            }
        }
    }
}

Did this page help you?