Residence permit
Status: project-defined demo profile. The document type and namespace ae.icp.residence_permit.1
are this project’s, not a published standard; the choice of elements and the card design mirror the
printed UAE residence permit for demos. It is not approved, certified or issued by the UAE Federal
Authority for Identity, Citizenship, Customs & Port Security (ICP), and all demo data is fictional.

What is on it
Section titled “What is on it”| Field | Name to request | Example |
|---|---|---|
| ID number | person_id |
784199163629860 |
| File number | file_number |
201/2025/7/53075 |
| Passport number | passport_number |
K3277548B |
| Place of issue | place_of_issue |
دبي |
| Name | full_name |
ABDUL HAKIM BIN ABDUL RAZAK |
| Name in Arabic | full_name_ar |
عبدالحكيم بن عبدالرزاق |
| Profession | profession |
SOLUTION ARCHITECT |
| Profession in Arabic | profession_ar |
مصمم حلول الاكترونيه |
| Sponsor | sponsor |
DUMMY SPONSOR FOR VIRTUAL WORK |
| Sponsor in Arabic | sponsor_ar |
كفيل وهمى للعمل الافتراضى |
| Issue / expiry dates | issue_date, expiry_date |
2026-02-05 / 2027-02-04 |
| Photo | portrait |
(image) |
| Signature | signature_usual_mark |
(image, optional) |
Every field lives in the one namespace ae.icp.residence_permit.1. The holder is the same person as on the
Emirates ID: the same photo, and the same ID number
(784-1991-6362986-0 on the Emirates ID, printed without dashes on the permit).
Typical requests
Section titled “Typical requests”- Residence check (a counter):
portrait,full_name,person_id,passport_number,sponsor,expiry_date. - Onboarding (a bank, with the Emirates ID in the same request): passport number, profession, sponsor,
expiry date, plus
person_idto match the two cards.
// web: one request for an Emirates ID and a residence permit; `residence` is the document's id'Passport number=residence:passport_number, Profession=residence:profession, Sponsor=residence:sponsor'// in personResidencePermit.IDENTITY_CHECKWhere it is used
Section titled “Where it is used”- Demo NBD asks for it together with the Emirates ID in one request: see Ask for several documents.
- The Verify app offers the residence check in person.
- The demo wallet issues itself one on first run.
Standards and references
Section titled “Standards and references”- ISO/IEC 18013-5 container and mechanisms: see mdoc architecture.
- Element names follow ISO/IEC 23220-2 where one fits (
person_id,portrait,issue_date,expiry_date,signature_usual_mark); the rest are this profile’s.
Doctype and namespaces
Section titled “Doctype and namespaces”| docType | ae.icp.residence_permit.1 (ResidencePermit.DOCTYPE) |
| namespace | ae.icp.residence_permit.1 (every element) |
Definition: ResidencePermit.kt in the demo apps’ brand files (ResidencePermit.type, ResidencePermit.presets).
Attributes
Section titled “Attributes”Namespace ae.icp.residence_permit.1:
| Identifier | Meaning | CBOR | Required | Encoding | Example |
|---|---|---|---|---|---|
person_id |
the Emirates ID number | tstr | yes | 15 digits as printed on the permit (no dashes) | "784199163629860" |
file_number |
residence file number | tstr | yes | as printed | "201/2025/7/53075" |
passport_number |
passport number | tstr | yes | as printed | "K3277548B" |
place_of_issue |
place of issue | tstr | yes | as printed (Arabic) | "دبي" |
accompanied_by |
number of accompanying dependants | tstr | no | as printed; empty when none | "" |
full_name |
full name, Latin | tstr | yes | as printed (capitals) | "ABDUL HAKIM BIN ABDUL RAZAK" |
full_name_ar |
full name, Arabic | tstr | no | UTF-8 Arabic | "عبدالحكيم بن عبدالرزاق" |
profession |
profession, Latin | tstr | yes | as printed | "SOLUTION ARCHITECT" |
profession_ar |
profession, Arabic | tstr | no | UTF-8 Arabic | "مصمم حلول الاكترونيه" |
sponsor |
sponsor, Latin | tstr | yes | as printed | "DUMMY SPONSOR FOR VIRTUAL WORK" |
sponsor_ar |
sponsor, Arabic | tstr | no | UTF-8 Arabic | "كفيل وهمى للعمل الافتراضى" |
issue_date |
permit issue date | full-date | yes | tag 1004 YYYY-MM-DD |
2026-02-05 |
expiry_date |
permit expiry date | full-date | yes | tag 1004 YYYY-MM-DD |
2027-02-04 |
portrait |
holder photo | bstr | yes | JPEG | (bytes) |
signature_usual_mark |
holder signature | bstr | no | image | (bytes) |
Conventions specific to this profile: each printed bilingual field is a Latin element plus an _ar
element, and values are kept exactly as printed (capitals, no dashes in the ID number). Every value above
is in the issued document and covered by the issuer signature; nothing is UI-only.
Card field mapping
Section titled “Card field mapping”| On the card | Source | Kind |
|---|---|---|
| UNITED ARAB EMIRATES / RESIDENCE (EN + AR) | fixed text | decorative |
| Seal | asset supplied by the project owner | decorative |
| Portrait | portrait |
data |
| ID Number / رقم الهوية | person_id |
data |
| File / الملف | file_number |
data |
| Passport No / رقم الجواز | passport_number |
data |
| Place of Issue / جهة الإصدار | label only (the value is not drawn) | decorative |
| Accompanied by / عدد المرافقين | accompanied_by |
data |
| Name / الاسم | full_name; full_name_ar |
data |
| Profession / المهنة | profession; profession_ar |
data |
| Sponsor / الكفيل | sponsor; sponsor_ar |
data |
| Issue Date, Expiry Date (EN + AR labels) | issue_date, expiry_date |
derived format |
| Sign. / التوقيع | holder signature asset supplied by the project owner | decorative (not read from signature_usual_mark) |
| Validity note (red, EN + AR), background print | fixed text, drawn | decorative |
Face: ResidencePermitFace.kt in the demo apps’ brand files.
Issuance and provisioning
Section titled “Issuance and provisioning”Demo: the demo wallet adds it as a sample credential (addSampleCredential with
ResidencePermit.type, the values above and the Emirates ID’s photo) on first run, signed by the SDK’s
sample issuer. A real deployment would issue over OpenID4VCI from the authority’s issuer; the wallet side
(issueFromOffer) is the same.
Issuer authentication and trust
Section titled “Issuer authentication and trust”Verifiers trust the demo IACA (in the demo VICAL, which lists ae.icp.residence_permit.1 for it); on
the web the Verify API holds it per tenant. A VICAL entry that does not list this doctype rejects the
document, by design.
Device binding and presentation
Section titled “Device binding and presentation”Standard: the device key in the MSO signs the session transcript (proximity, OpenID4VP or DC-API). Device-tested online (Demo NBD, via the Verify API, together with the Emirates ID); the in-person preset exists in the Verify app and awaits a two-phone test.
Validity and revocation
Section titled “Validity and revocation”Validity comes from the MSO window and expiry_date. The self-issued demo document carries no status
reference, so verifiers report revocationPublished = false; an authority-issued document would use a
status list.
Selective-disclosure requests
Section titled “Selective-disclosure requests”In person (ResidencePermit.presets):
// Residence checkPresentationRequest(docType = "ae.icp.residence_permit.1", namespaces = mapOf( "ae.icp.residence_permit.1" to setOf("portrait", "full_name", "person_id", "passport_number", "sponsor", "expiry_date"),))Web (Demo NBD): the tenant’s request has a document with id residence and doctype
ae.icp.residence_permit.1, each field named as on the wallet’s consent (“Passport number”, “Sponsor”); the
box lists them under “Residence Permit”, and the result has them under documents.residence.claims. See Ask for several documents.
Example (explanatory JSON, not CBOR)
Section titled “Example (explanatory JSON, not CBOR)”{ "docType": "ae.icp.residence_permit.1", "ae.icp.residence_permit.1": { "person_id": "784199163629860", "file_number": "201/2025/7/53075", "passport_number": "K3277548B", "place_of_issue": "دبي", "accompanied_by": "", "full_name": "ABDUL HAKIM BIN ABDUL RAZAK", "full_name_ar": "عبدالحكيم بن عبدالرزاق", "profession": "SOLUTION ARCHITECT", "profession_ar": "مصمم حلول الاكترونيه", "sponsor": "DUMMY SPONSOR FOR VIRTUAL WORK", "sponsor_ar": "كفيل وهمى للعمل الافتراضى", "issue_date": "2026-02-05", "expiry_date": "2027-02-04", "portrait": "<JPEG bytes>" }}Interoperability and open points
Section titled “Interoperability and open points”- The doctype and elements are this project’s; another verifier can request them only if it knows this profile.
person_idis printed without dashes here and with dashes on the Emirates ID; compare the digits only when matching the two.- No official schema for a digital residence permit has been published for this project to follow; if one appears, this profile should be replaced by it.
- The iOS Digital Credentials sheet lists it only once the app’s provider entitlement includes
ae.icp.residence_permit.1. The demo wallet’s does not, so it is shared from the wallet app only.