{
  "id": "ocds_ocid",
  "kind": "datatype",
  "status": "draft",
  "name": "Open Contracting ID (OCDS ocid)",
  "doc": "Identifier of a contracting process in the Open Contracting Data Standard (OCDS). It joins a publisher prefix and the publisher's own identifier of the process. The prefix is \"ocds-\" followed by six random lowercase letters or digits assigned to the publisher; the local part has no fixed format. The ocid is case-sensitive and links all releases about one procurement process.",
  "is_pii": false,
  "categories": [
    "government",
    "finances"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^ocds-[a-z0-9]{6}-.+$",
  "examples": [
    {
      "value": "ocds-b5fd17-602bd466-c6e3-4b23-95de-e99b3e0feed6",
      "description": "UK Contracts Finder release",
      "valid": true
    },
    {
      "value": "ocds-87sd3t-OM-DGRMSG-004-13",
      "description": "example from the OCDS documentation",
      "valid": true
    },
    {
      "value": "ocds-b5fd1-123",
      "description": "prefix has five characters",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://standard.open-contracting.org/latest/en/schema/identifiers/"
    },
    {
      "type": "wikidata",
      "url": "https://www.wikidata.org/wiki/Q24534540"
    }
  ],
  "quality": {
    "score": 75,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/government/ocds_ocid.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/government/ocds_ocid.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/government/ocds_ocid.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/ocds_ocid",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/ocds_ocid.json"
  }
}