{
  "id": "eu_lau_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Eurostat LAU code",
  "doc": "Code of a local administrative unit (LAU) in the Eurostat correspondence tables and GISCO, with the country code in front: the alpha-2 code, an underscore and the national code, as in RO_1017.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "EU"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^[A-Z]{2}_[0-9A-Z]{1,12}$",
  "examples": [
    {
      "value": "RO_1017",
      "description": "Romanian commune (SIRUTA 1017)",
      "valid": true
    },
    {
      "value": "RO_1213",
      "description": "Romanian commune",
      "valid": true
    },
    {
      "value": "RO1017",
      "description": "No underscore",
      "valid": false
    }
  ],
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "eulaucodevalue",
        "type": "data",
        "match": "regex",
        "file": "eu/eu_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 70,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/EU/geo/eu_lau_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/EU/geo/eu_lau_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/EU/geo/eu_lau_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/eu_lau_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/eu_lau_code.json"
  }
}