{
  "id": "imf_country_code",
  "kind": "datatype",
  "status": "draft",
  "name": "IMF country code",
  "doc": "Three-digit code of a country or territory of the International Monetary Fund, the WEO Country Code of the World Economic Outlook downloads and the IFS country code of the International Financial Statistics: 111 United States, 112 United Kingdom, 134 Germany, 199 South Africa, 512 Afghanistan, 612 Algeria, 694 Nigeria, 914 Albania. The codes do not follow ISO 3166-1 numeric or UN M49 (unm49), where the United States is 840: only the field name and the source tell them apart from other three-digit numbers.",
  "is_pii": false,
  "categories": [
    "geo",
    "finances"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{3}$",
  "examples": [
    {
      "value": "111",
      "description": "United States (WEO, IFS)",
      "valid": true
    },
    {
      "value": "512",
      "description": "Afghanistan",
      "valid": true
    },
    {
      "value": "612",
      "description": "Algeria",
      "valid": true
    },
    {
      "value": "199",
      "description": "South Africa",
      "valid": true
    },
    {
      "value": "914",
      "description": "Albania",
      "valid": true
    },
    {
      "value": "USA",
      "description": "ISO 3166-1 alpha-3: countrycode_alpha3",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://www.imf.org/en/Publications/WEO/weo-database/2021/April"
    },
    {
      "type": "doc",
      "url": "https://data.imf.org/"
    }
  ],
  "translations": {
    "ru": {
      "name": "Код страны МВФ",
      "doc": "Трёхзначный код страны Международного валютного фонда (WEO Country Code, код IFS), например 111 — США, 199 — ЮАР, 512 — Афганистан; не совпадает с цифровым кодом ISO 3166-1."
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "imfcountrycodebyname",
        "type": "field",
        "match": "regex",
        "file": "common/intcodes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/geo/imf_country_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/geo/imf_country_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/imf_country_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/imf_country_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/imf_country_code.json"
  }
}