{
  "id": "org_id_scheme",
  "kind": "datatype",
  "status": "draft",
  "name": "ORG-ID.guide list code (organization identifier scheme)",
  "doc": "Code of an organization identifier list in the ORG-ID.guide register, such as GB-COH for Companies House or XI-LEI for the Global Legal Entity Identifier Index. The code is the ISO 3166-1 country code of the list (or XI, XM, XR or ZZ for international lists), optionally an underscore and a subdivision code, a hyphen and an abbreviation of the register. It is the prefix of an org_id identifier and the value of identifier.scheme in Open Contracting data. The registry maps each list code to a datatype record through mappings.orgid.",
  "is_pii": false,
  "categories": [
    "companies"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^[A-Z]{2}(?:_[A-Z]{2})?-[A-Z0-9]+(?:_[A-Z0-9]+)?$",
  "examples": [
    {
      "value": "GB-COH",
      "description": "Companies House (United Kingdom)",
      "valid": true
    },
    {
      "value": "XI-LEI",
      "description": "Global Legal Entity Identifier Index",
      "valid": true
    },
    {
      "value": "CA_ON-ONT",
      "description": "ServiceOntario corporate registry (Canada, Ontario)",
      "valid": true
    },
    {
      "value": "BE-BCE_KBO",
      "description": "Crossroads Bank for Enterprises (Belgium)",
      "valid": true
    },
    {
      "value": "gb-coh",
      "description": "list codes are upper case",
      "valid": false
    },
    {
      "value": "GB-COH-09506232",
      "description": "a whole identifier is org_id",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://org-id.guide/download"
    },
    {
      "type": "doc",
      "url": "https://standard.open-contracting.org/latest/en/schema/identifiers/"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код списка идентификаторов организаций ORG-ID.guide"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/companies/org_id_scheme.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/companies/org_id_scheme.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/companies/org_id_scheme.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/org_id_scheme",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/org_id_scheme.json"
  }
}