{
  "id": "gw_country_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Gleditsch-Ward country code",
  "doc": "Numeric code of an independent state in the list of Kristian Skrede Gleditsch and Michael D. Ward, a revision of the Correlates of War state numbers used in conflict datasets (UCDP/PRIO, the gwno and gwcode variables): 2 United States, 200 United Kingdom, 710 China. Most numbers equal the COW ones.",
  "is_pii": false,
  "categories": [
    "geo",
    "government"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{1,3}$",
  "examples": [
    {
      "value": "2",
      "description": "United States",
      "valid": true
    },
    {
      "value": "200",
      "description": "United Kingdom",
      "valid": true
    },
    {
      "value": "710",
      "description": "China",
      "valid": true
    },
    {
      "value": "USA",
      "description": "The letter abbreviation, not the number",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "http://ksgleditsch.com/statelist.html"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код страны по Гледичу и Уорду"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "gwcountrycodebyname",
        "type": "field",
        "match": "regex",
        "file": "common/research_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/gw_country_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/gw_country_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/gw_country_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/gw_country_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/gw_country_code.json"
  }
}