Represents an Italian Driver's Licence (Patente di Guida) with all the data fields present on the physical card (EU format, post-2013 model).
The licence number follows the format: 1 uppercase letter + 1 digit + 7 alphanumeric characters + 1 uppercase letter (e.g., U1T86I309C). The first two characters identify the security printer (currently "U1" for IPZS), followed by a 7-character alphanumeric sequential code, and a check letter. Validation is performed upon construction to ensure the number matches the expected pattern.
<aside> <img src="attachment:a3a56fc3-c53c-47ff-aacc-d7c34f62abfd:table_of_content.png" alt="attachment:a3a56fc3-c53c-47ff-aacc-d7c34f62abfd:table_of_content.png" width="40px" />
TABLE OF CONTENT
</aside>
| Package | ‣ dev.tommasop1804.italyutils.classes |
|---|---|
| Since version | 2026-02.1 |
| Serialization | • tools.jackson |
• com.fasterxml.jackson |
|
| Deserialization | • tools.jackson |
• com.fasterxml.jackson |
|
| Data class | ✔️ |
| Type-Aliases | • Patente |
number| Since version | 2026-02.1 |
|---|---|
| Type | :ij-kt-class: String |
The licence number.
surname| Since version | 2026-02.1 |
|---|---|
| Type | :ij-kt-class: String |
The surname of the licence holder.
name| Since version | 2026-02.1 |
|---|---|
| Type | :ij-kt-class: String |
The name of the licence holder.
birthDate