{
  "id": "it_istat_province_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Italian ISTAT province code",
  "doc": "Three-digit code of an Italian province, metropolitan city or free municipal consortium in the ISTAT statistical codes, as in 001 for Torino, 015 for Milano and 058 for Roma; the historical code (codice storico) keeps the code of the former province. The two-letter abbreviation (sigla, TO) is it_province_code.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "IT"
  ],
  "langs": [
    "it"
  ],
  "classification": "categorical",
  "regexp": "^\\d{3}$",
  "examples": [
    {
      "value": "001",
      "description": "Torino",
      "valid": true
    },
    {
      "value": "004",
      "description": "Cuneo",
      "valid": true
    },
    {
      "value": "015",
      "description": "Milano",
      "valid": true
    },
    {
      "value": "058",
      "description": "Roma",
      "valid": true
    },
    {
      "value": "TO",
      "description": "Sigla: it_province_code",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.istat.it/classificazione/codici-dei-comuni-delle-province-e-delle-regioni/"
    }
  ],
  "translations": {
    "it": {
      "name": "Codice ISTAT della provincia"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "itistatprovincebyfield",
        "type": "field",
        "match": "regex",
        "file": "it/it_geo.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/IT/geo/it_istat_province_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/IT/geo/it_istat_province_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/geo/it_istat_province_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/it_istat_province_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/it_istat_province_code.json"
  }
}