{
  "id": "date_roc",
  "kind": "pattern",
  "status": "draft",
  "name": "Date in the ROC (Minguo) calendar",
  "doc": "Calendar date of the Republic of China (Minguo) calendar used in Taiwan, written as the ROC year, month and day without separators (YYYMMDD), as in 1081223 for 23 December 2019. The ROC year is the Gregorian year minus 1911; years before 100 (2011) are written with a leading zero, as in 0991231.",
  "semantic_type": "date",
  "is_pii": false,
  "categories": [
    "datetime"
  ],
  "country": [
    "TW"
  ],
  "langs": [
    "zh"
  ],
  "regexp": "^[01]\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])$",
  "examples": [
    {
      "value": "1081223",
      "description": "23 December 2019",
      "valid": true
    },
    {
      "value": "1140101",
      "description": "1 January 2025",
      "valid": true
    },
    {
      "value": "0991231",
      "description": "31 December 2010",
      "valid": true
    },
    {
      "value": "1081323",
      "description": "Month 13",
      "valid": false
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/Minguo_calendar"
    }
  ],
  "translations": {
    "zh": {
      "name": "民國日期"
    }
  },
  "quality": {
    "score": 80,
    "missing": [
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/TW/datetime/date_roc.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/TW/datetime/date_roc.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/TW/datetime/date_roc.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/date_roc",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/date_roc.json"
  }
}