---
id: "inspire_id"
kind: "datatype"
status: "draft"
is_pii: false
name: "INSPIRE identifier"
regexp: "^[A-Z]{2}\\.[A-Za-z0-9_-]+(?:\\.[A-Za-z0-9_-]+)+$"
categories: ["geo"]
country: ["EU"]
langs: ["common"]
quality: 95
url: "https://registry.apicrafter.io/datatype/inspire_id"
---

# INSPIRE identifier (`inspire_id`)

> **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.

External object identifier of a spatial object under the INSPIRE directive: the namespace of the data provider, which starts with the country code, and the local id, joined with dots, as in AT.BEV.DOP.MD.20220128.49921. The INSPIRE generic conceptual model defines it as namespace, localId and an optional versionId; datasets and Wikidata write it as one dotted string. Exports call the field inspireId or inspire_id, and localId for the last part alone.

- Parent datatype: [`id`](https://registry.apicrafter.io/datatype/id.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: European Union (EU)
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^[A-Z]{2}\.[A-Za-z0-9_-]+(?:\.[A-Za-z0-9_-]+)+$
```

## Examples

- `AT.BEV.DOP.MD.20220128.49921` — orthophoto flight date polygon of the Austrian BEV
- `PL.ZIPOP.1393.N2K.PLH120061` — Natura 2000 site in Poland (Wikidata example)
- `49921` (invalid example) — local id alone

## Mappings

- wikidata: [`P4115`](https://www.wikidata.org/wiki/Property:P4115)

## Metacrafter rules

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

- `inspireidvalue` (data, `eu/eu_geo.yaml`)

## Supported by tools

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

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/Infrastructure_for_Spatial_Information_in_the_European_Community>
- wikidata: <https://www.wikidata.org/wiki/Property:P4115>
- doc: <https://inspire.ec.europa.eu/documents/inspire-generic-conceptual-model>

## Quality

Score 95/100. Missing: translation.

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