Credential format - MSO-MDOC

Sample PID

The following data is an example of data contained in a PID:

            
{
    "given_name": "ERIKA",
    "family_name": "MUSTERMANN",
    "family_name_birth": "GABLER",
    "birth_date": "1964-08-12",
    "age_over_12": true,
    "age_over_14": true,
    "age_over_16": true,
    "age_over_18": true,
    "age_over_21": true,
    "age_over_65": false,
    "birth_place": {
        "locality": "BERLIN"
    },
    "resident_country": "D",
    "resident_city": "KÖLN",
    "resident_postal_code": "51147",
    "resident_street": "HEIDESTRAẞE 17",
    "nationality": [
        "DE"
    ],

    "source_document_type": "ID",
    "issuance_date": "...",
    "expiry_date": "...",
    "issuing_country": "DE",
    "issuing_authority": "DE"
}
            
        

Raw credentials (Base64URL-encoded as defined for the credential parameter in OID4VCI) are shown in the manual. See the credentials property in the response. Note that this raw credential is generated during local testing, and therefore the issuer is set to localhost instead of the actual production URL.