{
  "id": "fr_iris_code",
  "kind": "datatype",
  "status": "draft",
  "name": "French IRIS code (INSEE)",
  "doc": "Code of an IRIS, the basic sub-municipal unit of INSEE statistics. It has 9 characters - the 5-character code of the commune (of the municipal arrondissement in Paris, Lyon and Marseille) followed by 4 digits. A commune that is not divided into IRIS counts as one IRIS with the suffix 0000.",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "categorical",
  "regexp": "^(?:\\d{2}|2[AB])\\d{7}$",
  "examples": [
    {
      "value": "751156007",
      "description": "IRIS in Paris 15e arrondissement",
      "valid": true
    },
    {
      "value": "940800304",
      "description": "IRIS in Vincennes",
      "valid": true
    },
    {
      "value": "75115600",
      "description": "eight characters",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.insee.fr/fr/metadonnees/definition/c1523"
    },
    {
      "type": "doc",
      "url": "https://www.insee.fr/fr/statistiques/fichier/2383389/doc_utilisations_bases_infracommunales_2010.pdf"
    }
  ],
  "translations": {
    "fr": {
      "name": "Code IRIS"
    },
    "ru": {
      "name": "Код IRIS (INSEE)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/geo/fr_iris_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/geo/fr_iris_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/geo/fr_iris_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_iris_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_iris_code.json"
  }
}