{
  "id": "siret",
  "kind": "datatype",
  "status": "stable",
  "name": "Code SIRET par nom de champ",
  "doc": "FR datatype for 'Code SIRET par nom de champ' (siret) from rules in context 'finances'. The SIRET (Système d'Identification du Répertoire des Établissements) is a unique 14-digit identifier assigned to each business establishment in France. It consists of two parts: the first 9 digits are the SIREN number (identifying the legal entity or company), and the last 5 digits are the NIC (Numéro Interne de Classement), where the first 4 digits identify the specific establishment and the last digit is a check digit calculated using the Luhn algorithm. The SIRET number is used for official identification and registration of business establishments in France.",
  "is_pii": false,
  "categories": [
    "finances"
  ],
  "country": [
    "FR"
  ],
  "langs": [
    "fr"
  ],
  "classification": "identifier",
  "regexp": "^[0-9]{14}$",
  "examples": [
    {
      "value": "73282932000074",
      "description": "French SIRET number with 14 digits (SIREN: 732829320, NIC: 00074)",
      "valid": true
    },
    {
      "value": "12345678901234",
      "description": "Another valid French SIRET number format",
      "valid": true
    },
    {
      "value": "55203253400015",
      "description": "French SIRET number example",
      "valid": true
    }
  ],
  "mappings": {
    "stdnum": "fr.siret",
    "wikidata": "P3215"
  },
  "links": [
    {
      "type": "wikipedia",
      "url": "https://fr.wikipedia.org/wiki/Syst%C3%A8me_d%27identification_du_r%C3%A9pertoire_des_%C3%A9tablissements"
    },
    {
      "type": "doc",
      "url": "https://www.sirene.fr/"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Property:P3215"
    }
  ],
  "translations": {
    "en": {
      "name": "SIRET Number (Business Establishment Identifier)"
    },
    "fr": {
      "name": "Numéro SIRET (Système d'Identification du Répertoire des Établissements)"
    }
  },
  "detected_by": {
    "tools": [
      "csvdetective",
      "metacrafter",
      "pythonstdnum"
    ],
    "metacrafter_rules": [
      {
        "rule": "frsiretfield",
        "type": "field",
        "match": "text",
        "file": "fr/fr_tax.yaml"
      },
      {
        "rule": "frsiretvalue",
        "type": "data",
        "match": "ppr",
        "file": "fr/fr_tax.yaml"
      }
    ]
  },
  "quality": {
    "score": 95,
    "missing": [
      "negative example"
    ]
  },
  "source": {
    "path": "data/datatypes/FR/finances/siret.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/FR/finances/siret.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/FR/finances/siret.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/siret",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/siret.json"
  }
}