---
id: "unclass"
kind: "datatype"
status: "stable"
is_pii: false
categories: ["chemistry"]
langs: ["common"]
quality: 58
url: "http://registry.apicrafter.io/datatype/unclass"
---

# UN Class (`unclass`)

UN hazard classification code

- Personal data (PII): no
- Categories: Chemistry (chemistry)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
(1\.[1-6]|[24]\.[123]|[56]\.[12]|[3789])
```

## Examples

- `6.1` — sodium azide

## Mappings

- wikidata: `P874`

## Translations

- ru: Код класса опасности ООН: Номер ООН, Номер UN или UN-идентификатор — четырёхзначное число, позволяющее определить опасность вещества или изделия (такого, например, как взрывчатое вещество, легковоспламеняющаяся жидкость, ядовитое вещество и др.)

## Sources

- wikidata: <https://www.wikidata.org/wiki/Property:P874>

## Quality

Score 58/100. Missing: longer description, anchored regexp, second example, negative example, detector coverage.

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