{
  "id": "windows_code_page",
  "kind": "datatype",
  "status": "draft",
  "name": "Windows code page identifier",
  "doc": "Number of a character encoding in Windows, as in 1251 for Windows Cyrillic and 65001 for UTF-8. Identifiers run from 037 to 65001. File metadata, database collations and the chcp command use them. The name of the encoding is a separate record (character_encoding). Any number of three to five digits matches, so use the field name or context.",
  "is_pii": false,
  "categories": [
    "software",
    "texts"
  ],
  "langs": [
    "common"
  ],
  "classification": "categorical",
  "regexp": "^\\d{3,5}$",
  "examples": [
    {
      "value": "1251",
      "description": "windows-1251, ANSI Cyrillic",
      "valid": true
    },
    {
      "value": "866",
      "description": "cp866, OEM Russian",
      "valid": true
    },
    {
      "value": "65001",
      "description": "utf-8",
      "valid": true
    },
    {
      "value": "037",
      "description": "IBM037, IBM EBCDIC US-Canada",
      "valid": true
    },
    {
      "value": "cp1251",
      "description": "Encoding name",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://learn.microsoft.com/en-us/windows/win32/intl/code-page-identifiers"
    }
  ],
  "translations": {
    "ru": {
      "name": "Номер кодовой страницы Windows"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/software/windows_code_page.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/software/windows_code_page.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/software/windows_code_page.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/windows_code_page",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/windows_code_page.json"
  }
}