{
  "id": "fr_region_code",
  "kind": "pattern",
  "status": "draft",
  "name": "French region code (INSEE)",
  "doc": "Two-digit code of a French region in the INSEE Official Geographic Code (COG). The 18 current codes are 01 to 04 and 06 for the overseas regions and 11, 24, 27, 28, 32, 44, 52, 53, 75, 76, 84, 93 and 94 for the regions of metropolitan France.",
  "semantic_type": "fr_region",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "categorical",
  "regexp": "^(?:0[1-46]|11|2[478]|32|44|5[23]|7[56]|84|9[34])$",
  "examples": [
    {
      "value": "11",
      "description": "Île-de-France",
      "valid": true
    },
    {
      "value": "53",
      "description": "Bretagne",
      "valid": true
    },
    {
      "value": "84",
      "description": "Auvergne-Rhône-Alpes",
      "valid": true
    },
    {
      "value": "06",
      "description": "Mayotte",
      "valid": true
    },
    {
      "value": "05",
      "description": "not a region code",
      "valid": false
    },
    {
      "value": "21",
      "description": "not a current region code",
      "valid": false
    }
  ],
  "mappings": {
    "wikidata": "P2585"
  },
  "links": [
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P2585"
    },
    {
      "type": "doc",
      "url": "https://www.insee.fr/fr/information/2560452"
    },
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Regions_of_France"
    }
  ],
  "translations": {
    "fr": {
      "name": "Code région"
    }
  },
  "detected_by": {
    "tools": [
      "csvdetective"
    ]
  },
  "quality": {
    "score": 100,
    "missing": []
  },
  "source": {
    "path": "data/datatypes/FR/geo/fr_region_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/geo/fr_region_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/geo/fr_region_code.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/fr_region_code",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/fr_region_code.json"
  }
}