{
  "id": "fr_road_number",
  "kind": "datatype",
  "status": "draft",
  "name": "French road number",
  "doc": "Number of a French road: a letter for its class and a number. A for motorways (A6), N for national roads (N20), D for departmental roads (D121, D1083), M for roads handed over to a metropolis, C for communal roads. Files also write RN and RD and put a space after the letters (RD 121). A departmental number is unique only inside its department.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport",
    "geo"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:A|N|D|M|C|RN|RD|RM) ?\\d{1,4}[A-Z]?\\d{0,2}$",
  "examples": [
    {
      "value": "D121",
      "description": "A departmental road",
      "valid": true
    },
    {
      "value": "A6",
      "description": "Autoroute du Soleil",
      "valid": true
    },
    {
      "value": "RD 1083",
      "description": "With RD and a space",
      "valid": true
    },
    {
      "value": "E15",
      "description": "A European route number (e_road_number)",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://fr.wikipedia.org/wiki/R%C3%A9seau_routier_fran%C3%A7ais"
    }
  ],
  "translations": {
    "fr": {
      "name": "Numéro de route"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frroadnumberbyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_transport.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/transport/fr_road_number.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/transport/fr_road_number.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/transport/fr_road_number.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_road_number",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_road_number.json"
  }
}