{
  "id": "iso8601duration",
  "kind": "pattern",
  "status": "stable",
  "name": "Duration",
  "doc": "The amount of intervening time in a time interval and are represented by the format P[n]Y[n]M[n]DT[n]H[n]M[n]S or P[n]W as shown on the aside",
  "semantic_type": "duration",
  "is_pii": false,
  "categories": [
    "datetime"
  ],
  "langs": [
    "common"
  ],
  "examples": [
    {
      "value": "P3Y6M4DT12H30M5S",
      "description": "Three years, six months, four days, twelve hours, thirty minutes, and five seconds",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "wikipedia",
      "url": "https://en.wikipedia.org/wiki/ISO_8601#Durations"
    }
  ],
  "quality": {
    "score": 43,
    "missing": [
      "regexp",
      "second example",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/datetime/iso8601duration.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/datetime/iso8601duration.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/iso8601duration.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/iso8601duration",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/iso8601duration.json"
  }
}