{
  "id": "osm_relation_id",
  "kind": "datatype",
  "status": "draft",
  "name": "OpenStreetMap relation ID",
  "doc": "Numeric ID of an OpenStreetMap relation, a group of nodes, ways and other relations with roles. Relations model administrative boundaries, multipolygons and transport routes.",
  "parent": "osm_id",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[1-9][0-9]{0,18}$",
  "examples": [
    {
      "value": "62422",
      "description": "Berlin boundary",
      "valid": true
    },
    {
      "value": "51701",
      "description": "Switzerland boundary",
      "valid": true
    },
    {
      "value": "r62422",
      "description": "type-prefixed form of osm_id, not a bare relation ID",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P402"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P402"
    },
    {
      "type": "doc",
      "url": "https://wiki.openstreetmap.org/wiki/Relation"
    }
  ],
  "translations": {
    "fr": {
      "name": "Identifiant de relation OpenStreetMap"
    },
    "ru": {
      "name": "Идентификатор отношения OpenStreetMap"
    }
  },
  "quality": {
    "score": 90,
    "missing": [
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/osm_relation_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/osm_relation_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/osm_relation_id.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/osm_relation_id",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/osm_relation_id.json"
  }
}