{
  "id": "fr_gaspar_id",
  "kind": "datatype",
  "status": "draft",
  "name": "French risk procedure identifier (GASPAR)",
  "doc": "Identifier of a risk procedure (risk prevention plan, PPR) in GASPAR, the database of the Ministry of Ecology published by Géorisques. Before GASPAR NG (2022) it is the department, the acronym of the instructing service (DDT, DDTM, DREAL, RTM ...), the year and a four-digit number (76DDTM20120001); GASPAR NG identifiers are the type of procedure, the year and a number separated by underscores (PPRN-RGA_2025_0396).",
  "is_pii": false,
  "categories": [
    "environment",
    "government"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "identifier",
  "regexp": "^(?:(?:\\d{2,3}|2[AB])[A-Z]+\\d{8}|[A-Z]+(?:-[A-Z]+)?_\\d{4}_\\d{4})$",
  "examples": [
    {
      "value": "67DREAL20120003",
      "description": "Flood risk plan of the Eurométropole de Strasbourg",
      "valid": true
    },
    {
      "value": "2BDREAL20170001",
      "description": "Technological risk plan in Haute-Corse",
      "valid": true
    },
    {
      "value": "PPRN-RGA_2025_0396",
      "description": "GASPAR NG identifier",
      "valid": true
    },
    {
      "value": "DREAL20170001",
      "description": "no department",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://cnig.gouv.fr/IMG/pdf/2026-03-24-commission-standards-risques-spp-26-0011.pdf"
    },
    {
      "type": "doc",
      "url": "https://georisques.gouv.fr/api/v1/gaspar/pprn"
    }
  ],
  "translations": {
    "fr": {
      "name": "Identifiant GASPAR"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frgasparbyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_environment.yaml"
      },
      {
        "rule": "frgasparvalue",
        "type": "data",
        "match": "regex",
        "file": "fr/fr_environment.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/environment/fr_gaspar_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/environment/fr_gaspar_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/environment/fr_gaspar_id.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_gaspar_id",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_gaspar_id.json"
  }
}