{
  "id": "fr_baac_accident_number",
  "kind": "datatype",
  "status": "draft",
  "name": "French road accident number (BAAC Num_Acc)",
  "doc": "Identifier of a road traffic injury accident in the annual files of the French national road accident register (fichier BAAC of the ONISR, published on data.gouv.fr since 2005). Twelve digits: the year of the accident and a sequence number. It joins the four tables of a year: caractéristiques, lieux, véhicules and usagers.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^20\\d{10}$",
  "examples": [
    {
      "value": "201800000138",
      "description": "An accident of 2018",
      "valid": true
    },
    {
      "value": "200500000001",
      "description": "The first accident of the 2005 file",
      "valid": true
    },
    {
      "value": "20180000013",
      "description": "eleven digits",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.data.gouv.fr/datasets/bases-de-donnees-annuelles-des-accidents-corporels-de-la-circulation-routiere-annees-de-2005-a-2023/"
    }
  ],
  "translations": {
    "fr": {
      "name": "Numéro d'accident (BAAC)"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frbaacaccidentnumberbyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_transport.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/transport/fr_baac_accident_number.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/transport/fr_baac_accident_number.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/transport/fr_baac_accident_number.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_baac_accident_number",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_baac_accident_number.json"
  }
}