{
  "id": "ro_county_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Romanian county code (SIRUTA)",
  "doc": "Number of a Romanian county (județ) in the SIRUTA classification of the National Institute of Statistics: 1 to 39 in alphabetical order from Alba, 40 for the Municipality of Bucharest, and 51 and 52 for Călărași and Giurgiu. The code of a locality is ro_siruta.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "RO"
  ],
  "langs": [
    "ro"
  ],
  "classification": "categorical",
  "regexp": "^(?:[1-9]|[1-3]\\d|40|5[12])$",
  "examples": [
    {
      "value": "1",
      "description": "Alba",
      "valid": true
    },
    {
      "value": "2",
      "description": "Arad",
      "valid": true
    },
    {
      "value": "40",
      "description": "Municipiul București",
      "valid": true
    },
    {
      "value": "52",
      "description": "Giurgiu",
      "valid": true
    },
    {
      "value": "45",
      "description": "Not a county code",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Counties_of_Romania"
    }
  ],
  "translations": {
    "ro": {
      "name": "Cod județ"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "rocountycodebyfield",
        "type": "field",
        "match": "regex",
        "file": "ro/ro_common.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/RO/geo/ro_county_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/RO/geo/ro_county_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/RO/geo/ro_county_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ro_county_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ro_county_code.json"
  }
}