---
id: "ordinal_number"
kind: "datatype"
status: "draft"
is_pii: false
name: "Ordinal number in English (1st, 2nd, 3rd)"
regexp: "^(?:\\d*1[1-3]th|(?:\\d*[02-9])?1st|(?:\\d*[02-9])?2nd|(?:\\d*[02-9])?3rd|\\d*[04-9]th)$"
categories: ["values"]
langs: ["en"]
quality: 90
url: "https://registry.apicrafter.io/datatype/ordinal_number"
---

# Ordinal number in English (1st, 2nd, 3rd) (`ordinal_number`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Number written as an English ordinal with its suffix: 1st, 2nd, 3rd, 4th, 11th, 22nd, 103rd. Tables of results, rankings, percentiles, draft rounds, periods of games and school grades write ranks and positions this way (1st Place, T-3rd for a tie). The suffix follows the last digit, except 11th, 12th and 13th.

- Personal data (PII): no
- Categories: All measurable values (percentage, amount and e.t.c) (values)
- Countries: global
- Languages: English (en)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:\d*1[1-3]th|(?:\d*[02-9])?1st|(?:\d*[02-9])?2nd|(?:\d*[02-9])?3rd|\d*[04-9]th)$
```

## Examples

- `1st`
- `2nd`
- `3rd`
- `4th`
- `11th`
- `22nd`
- `103rd`
- `11st` (invalid example) — a wrong suffix

## Metacrafter rules

1 rules: 0 match the field name, 1 match values.

- `ordinalnumbervalue` (data, `common/values.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Translations

- ru: Порядковое числительное на английском (1st, 2nd, 3rd)

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Ordinal_numeral>
- wikipedia: <https://en.wikipedia.org/wiki/English_numerals>

## Quality

Score 90/100. Missing: mapping (Wikidata, Schema.org, ...).

JSON: <https://registry.apicrafter.io/api/v1/datatypes/ordinal_number.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/values/ordinal_number.yaml>
