FeaturesEntry types
NationalID — National ID
Government-issued national ID card.
National ID type (NationalID, discriminant 9) — Identity category. Government-issued national ID card.
Classification
← Types index · Category: Identity · Discriminant: 9
Field schema (EntryData)
| Field | Rust type | Optional | Protected | UI label |
|---|---|---|---|---|
id_number | String | no | yes | ID number |
document_number | Option<String> | yes | yes | Document number |
issuing_authority | Option<String> | yes | no | Issuing authority |
expiry_date | Option<String> | yes | no | Expiry date |
date_of_birth | Option<String> | yes | no | Date of birth |
personal_code | Option<String> | yes | yes | Personal code |
last_name | Option<String> | yes | no | Last name |
first_name | Option<String> | yes | no | First name |
place_of_birth | Option<String> | yes | no | Place of birth |
sex | Option<String> | yes | no | Sex |
nationality | Option<String> | yes | no | Nationality |
address | Option<String> | yes | no | Address |
issue_date | Option<String> | yes | no | Issue date |
issuing_country | Option<String> | yes | no | Issuing country |
notes | Option<String> | yes | no | Notes |
Secrets
Protected fields (masked in UI, EntryType::is_protected_field): id_number, document_number, personal_code.
Attachments
Attachments
Like all entry types, a NationalID entry may have encrypted attachments via Entry.attachments (EntryAttachments: files, folders). Add them by drag-and-drop in the entry editor; binary content is encrypted with the vault.
In the app
Create a National ID entry: vault → + → type NationalID → fill fields → add attachments (optional, all types) → Save. Validation: only title is required (validation_service.rs).