{
  "id": "th_region",
  "kind": "datatype",
  "status": "draft",
  "name": "Thai region",
  "doc": "Name of a region of Thailand in Thai, with or without the word ภาค: เหนือ (north), กลาง (centre), ตะวันออกเฉียงเหนือ or อีสาน (north-east), ใต้ (south), ตะวันออก (east) and ตะวันตก (west). The National Statistical Office uses four regions beside Bangkok, other agencies six. Statistical tables give it in columns named REGION or ภาค.",
  "is_pii": false,
  "categories": [
    "geo"
  ],
  "country": [
    "TH"
  ],
  "langs": [
    "th"
  ],
  "classification": "categorical",
  "regexp": "^(?:ภาค)?(?:เหนือ|กลาง|ตะวันออกเฉียงเหนือ|อีสาน|ใต้|ตะวันออก|ตะวันตก)$",
  "examples": [
    {
      "value": "ภาคเหนือ",
      "description": "the north",
      "valid": true
    },
    {
      "value": "ตะวันออกเฉียงเหนือ",
      "description": "the north-east, without the word ภาค",
      "valid": true
    },
    {
      "value": "ภาคใต้",
      "description": "the south",
      "valid": true
    },
    {
      "value": "กรุงเทพมหานคร",
      "description": "Bangkok, a province",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Regions_of_Thailand"
    }
  ],
  "translations": {
    "th": {
      "name": "ภาค"
    },
    "ru": {
      "name": "Регион Таиланда"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "thregionbyname",
        "type": "field",
        "match": "regex",
        "file": "th/th_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/TH/geo/th_region.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/TH/geo/th_region.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/TH/geo/th_region.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/th_region",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/th_region.json"
  }
}