{
  "id": "th_school_code",
  "kind": "datatype",
  "status": "draft",
  "name": "Thai school code (10 digits)",
  "doc": "Ten-digit code of a school or college in the registers of the Thai Ministry of Education, as in 1310016101. The lists of colleges of the Office of the Vocational Education Commission give it in columns named รหัสสถานศึกษา (institution code) and รหัสโรงเรียน (school code); in them the codes start with 13 and the province code (th_province_code).",
  "is_pii": false,
  "categories": [
    "education",
    "government"
  ],
  "country": [
    "TH"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^\\d{10}$",
  "examples": [
    {
      "value": "1310016101",
      "description": "a public vocational college in Bangkok",
      "valid": true
    },
    {
      "value": "1310100545",
      "description": "a private vocational college in Bangkok",
      "valid": true
    },
    {
      "value": "131001610",
      "description": "nine digits",
      "valid": false
    }
  ],
  "translations": {
    "th": {
      "name": "รหัสสถานศึกษา"
    },
    "ru": {
      "name": "Код учебного заведения Таиланда"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "thschoolcodebyname",
        "type": "field",
        "match": "regex",
        "file": "th/th_codes.yaml"
      }
    ]
  },
  "quality": {
    "score": 75,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/TH/education/th_school_code.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/TH/education/th_school_code.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/TH/education/th_school_code.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/th_school_code",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/th_school_code.json"
  }
}