{
  "id": "it_road_number",
  "kind": "datatype",
  "status": "draft",
  "name": "Italian road number",
  "doc": "Number of an Italian road: letters for its class and a number. A for motorways (A1, A 04), SS for state roads (SS 36), SR for regional and SP for provincial roads, SC for municipal roads, RA for motorway link roads and T for the Alpine tunnels (T1, Mont Blanc). A suffix may follow the number: bis, ter, quater, dir (branch), var (variant), racc (link) or radd. Files pad the number with zeros (SS 011) and put the road name after it (SS 011 - Padana Superiore). A provincial number is unique only inside its province.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport",
    "geo"
  ],
  "country": [
    "IT"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:A|SS|SR|SP|SC|RA|T) ?\\d{1,4}(?: ?(?:bis|ter|quater|dir|var|racc|radd))*$",
  "examples": [
    {
      "value": "A1",
      "description": "Autostrada del Sole",
      "valid": true
    },
    {
      "value": "SS 36",
      "description": "Strada statale del Lago di Como e dello Spluga",
      "valid": true
    },
    {
      "value": "SS 031 bis",
      "description": "With a zero-padded number and a suffix, as the road tables of the transport ministry write it",
      "valid": true
    },
    {
      "value": "T1",
      "description": "Mont Blanc tunnel",
      "valid": true
    },
    {
      "value": "E35",
      "description": "A European route number (e_road_number)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://it.wikipedia.org/wiki/Classificazioni_delle_strade_in_Italia"
    }
  ],
  "translations": {
    "it": {
      "name": "Numero di strada"
    },
    "ru": {
      "name": "Номер автомобильной дороги Италии"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "itroadnumberbyname",
        "type": "field",
        "match": "regex",
        "file": "it/it_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/IT/transport/it_road_number.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/IT/transport/it_road_number.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/transport/it_road_number.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/it_road_number",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/it_road_number.json"
  }
}