{
  "id": "it_cig",
  "kind": "datatype",
  "status": "draft",
  "name": "Italian tender identification code (CIG)",
  "doc": "Codice identificativo di gara (CIG), the 10-character code that the national anti-corruption authority (ANAC) gives to a public contract awarded after a tender or by another procedure of the public contracts code. It is quoted on payments and electronic invoices and in the open data of ANAC. The SIOPE+ rules of the Banca d'Italia accept three forms, all made of digits and the letters A to F after the first character: the ordinary CIG of seven digits and three characters, the smart CIG for small contracts, which starts with a letter from V to Z, and the single format that replaces both, which starts with a letter from A to U.",
  "is_pii": false,
  "categories": [
    "government"
  ],
  "country": [
    "IT"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:\\d{7}[0-9A-F]{3}|[A-Z][0-9A-F]{9})$",
  "examples": [
    {
      "value": "9204715C3E",
      "description": "Synthetic number in the ordinary form",
      "valid": true
    },
    {
      "value": "Z3A2F4B1C0",
      "description": "Synthetic number in the smart CIG form",
      "valid": true
    },
    {
      "value": "B4C21E07A9",
      "description": "Synthetic number in the single form",
      "valid": true
    },
    {
      "value": "9204715G3E",
      "description": "G is not used after the first character",
      "valid": false
    },
    {
      "value": "Z3A2F4B1C",
      "description": "Nine characters",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.agid.gov.it/sites/default/files/repository_files/scheda_33.pdf"
    },
    {
      "type": "doc",
      "url": "https://dati.anticorruzione.it/opendata/dataset/cig-2025"
    },
    {
      "type": "wikipedia",
      "url": "https://it.wikipedia.org/wiki/Codice_identificativo_di_gara"
    }
  ],
  "translations": {
    "it": {
      "name": "Codice identificativo di gara (CIG)",
      "doc": "Codice di 10 caratteri attribuito dall'ANAC a un contratto pubblico; CIG ordinario, smart CIG (iniziale da V a Z) o CIG nel formato unico (iniziale da A a U)."
    },
    "ru": {
      "name": "Идентификационный код закупки Италии (CIG)",
      "doc": "Десятисимвольный код, который антикоррупционное агентство ANAC присваивает государственному контракту."
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/IT/government/it_cig.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/IT/government/it_cig.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/IT/government/it_cig.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/it_cig",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/it_cig.json"
  }
}