{
  "id": "person_life_years",
  "kind": "datatype",
  "status": "draft",
  "name": "Years of life of a person",
  "doc": "Years of birth and death of a person written as two four-digit years joined by a hyphen or an en dash, such as 1837–1919. A question mark stands for an unknown year of death. Catalogues of museum objects and of lost cultural property give the years of life of authors in this form.",
  "parent": "year_range",
  "is_pii": true,
  "categories": [
    "persons",
    "datetime",
    "pii"
  ],
  "langs": [
    "common"
  ],
  "regexp": "^\\d{4}\\s?[-–]\\s?(?:\\d{4}|\\?)$",
  "examples": [
    {
      "value": "1720-1778",
      "valid": true
    },
    {
      "value": "1837–1919",
      "valid": true
    },
    {
      "value": "1877-?",
      "description": "Year of death unknown",
      "valid": true
    },
    {
      "value": "Вторая половина XIX в.",
      "description": "Historical dating, the datatype ru_historical_dating",
      "valid": false
    }
  ],
  "translations": {
    "ru": {
      "name": "Годы жизни"
    }
  },
  "quality": {
    "score": 65,
    "missing": [
      "source link",
      "mapping (Wikidata, Schema.org, ...)",
      "detector coverage"
    ]
  },
  "source": {
    "path": "data/datatypes/any/persons/person_life_years.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/persons/person_life_years.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/persons/person_life_years.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/person_life_years",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/person_life_years.json"
  }
}