Roman numeral
ID roman_numeral
DatatypeNot PIIDraft
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Number from 1 to 3999 written in Roman numerals, with the letters I, V, X, L, C, D and M in the standard subtractive form, where IV is 4 and CM is 900. Roman numerals number volumes, chapters, monarchs and recurring events, and some copyright notices and inscriptions give years in them. The regexp accepts uppercase standard forms only, not additive variants such as IIII or numbers above 3999.
- Categories
- All measurable values (percentage, amount and e.t.c)
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- AutoType benchmark
roman- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- Auto-Type, Great Expectations Semantic Types Expectations
Regular expression
^(?=[MDCLXVI])M{0,3}(?:CM|CD|D?C{0,3})(?:XC|XL|L?X{0,3})(?:IX|IV|V?I{0,3})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| XIV | 14 |
| MCMXCIX | 1999 |
| MMXXVI | 2026 |
| IV | 4 |
| XIIII invalid | Additive form of 14 |
| IC invalid | Not a standard form of 99 (XCIX) |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Римское число | Число от 1 до 3999, записанное римскими цифрами I, V, X, L, C, D и M. |
Sources
- wikipedia: https://en.wikipedia.org/wiki/Roman_numerals
- other: https://github.com/congy/AutoType/blob/master/data_release/roman.txt
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/roman_numeral - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/values/roman_numeral.yamlon GitHub