{
  "id": "fr_election_nuance",
  "kind": "datatype",
  "status": "draft",
  "name": "French political nuance code (nuance politique)",
  "doc": "Code of the political nuance that the Ministry of the Interior gives to candidates and lists in French election results (décret 2014-1479). A circular sets the grid of each election: individual candidates have codes such as SOC, DVD or RN, lists of municipal and regional elections the codes of the list grid, which start with L (LDVD, LREM, LRN), and pairs of candidates of departmental elections codes that start with BC- (BC-SOC, BC-DVD). The grid changes from one election to the next.",
  "is_pii": false,
  "categories": [
    "government"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "categorical",
  "regexp": "^(?:L|BC-)?[A-Z]{2,5}$",
  "examples": [
    {
      "value": "LDVG",
      "description": "List of the miscellaneous left (municipal elections 2020)",
      "valid": true
    },
    {
      "value": "LRN",
      "description": "List of the Rassemblement national (regional elections 2021)",
      "valid": true
    },
    {
      "value": "BC-SOC",
      "description": "Socialist pair of candidates (departmental elections 2021)",
      "valid": true
    },
    {
      "value": "DVD",
      "description": "Miscellaneous right candidate",
      "valid": true
    },
    {
      "value": "Divers gauche",
      "description": "the label, not the code",
      "valid": false
    },
    {
      "value": "BC_SOC",
      "description": "underscore instead of hyphen",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.legifrance.gouv.fr/circulaire/id/45157"
    }
  ],
  "translations": {
    "fr": {
      "name": "Code nuance politique"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "frelectionnuancebyname",
        "type": "field",
        "match": "regex",
        "file": "fr/fr_government.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/government/fr_election_nuance.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/government/fr_election_nuance.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/government/fr_election_nuance.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/fr_election_nuance",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/fr_election_nuance.json"
  }
}