{
  "id": "fr_irve_id",
  "kind": "datatype",
  "status": "draft",
  "name": "French EV charging station or point id (AFIREV)",
  "doc": "Identifier of an electric vehicle charging station or charging point in France, built on the operator id assigned by AFIREV: FR, a three-character operator code, P for a station (id_station_itinerance) or E for a charging point (id_pdc_itinerance), and up to 30 letters and digits. The parts may be separated by asterisks (FR*S56*E...). The consolidated IRVE dataset on data.gouv.fr uses it.",
  "parent": "id",
  "is_pii": false,
  "categories": [
    "transport",
    "energy"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^FR\\*?[A-Z0-9]{3}\\*?[PE][A-Z0-9]{1,30}$",
  "examples": [
    {
      "value": "FRS56PLMBT3H1YW1BIVW",
      "description": "Charging station in Morbihan",
      "valid": true
    },
    {
      "value": "FRS56EPWRK1",
      "description": "Charging point in Morbihan",
      "valid": true
    },
    {
      "value": "FR*S56*EPWRK1",
      "description": "With asterisks",
      "valid": true
    },
    {
      "value": "FRS56XPWRK1",
      "description": "Neither P nor E",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://afirev.fr/"
    },
    {
      "type": "doc",
      "url": "https://schema.data.gouv.fr/etalab/schema-irve-statique/"
    }
  ],
  "translations": {
    "fr": {
      "name": "Identifiant de station ou de point de recharge (AFIREV)"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/transport/fr_irve_id.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/transport/fr_irve_id.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/transport/fr_irve_id.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_irve_id",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_irve_id.json"
  }
}