{
  "id": "year_th_be",
  "kind": "pattern",
  "status": "draft",
  "name": "Year in the Thai Buddhist era",
  "doc": "Year of the Thai solar calendar, counted in the Buddhist era (พ.ศ.): the Gregorian year plus 543, as in 2561 for 2018. Thai licence and document numbers end with it.",
  "semantic_type": "year",
  "is_pii": false,
  "categories": [
    "datetime"
  ],
  "country": [
    "TH"
  ],
  "langs": [
    "th"
  ],
  "regexp": "^25\\d{2}$",
  "examples": [
    {
      "value": "2561",
      "description": "2018",
      "valid": true
    },
    {
      "value": "2563",
      "description": "2020",
      "valid": true
    },
    {
      "value": "2018",
      "description": "Gregorian year",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Thai_solar_calendar"
    }
  ],
  "translations": {
    "th": {
      "name": "ปีพุทธศักราช"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "thyearbevalue",
        "type": "data",
        "match": "regex",
        "file": "th/th_datetime.yaml"
      }
    ]
  },
  "quality": {
    "score": 90,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/TH/datetime/year_th_be.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/TH/datetime/year_th_be.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/TH/datetime/year_th_be.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/year_th_be",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/year_th_be.json"
  }
}