{
  "id": "part_of_day",
  "kind": "datatype",
  "status": "draft",
  "name": "Part of the day",
  "doc": "Part of the day in words: morning, afternoon, evening and night, sometimes with noon, midnight, early morning or late night. Surveys of time use and media consumption, crime and traffic incident records and schedules give it instead of a time (time of day, daypart; mañana, tarde, noche in Spanish; manhã, tarde, noite in Portuguese). The session in which a school works is school_shift.",
  "parent": "category",
  "is_pii": false,
  "categories": [
    "datetime"
  ],
  "langs": [
    "en",
    "es",
    "pt",
    "de",
    "fr"
  ],
  "classification": "categorical",
  "examples": [
    {
      "value": "Morning",
      "valid": true
    },
    {
      "value": "Afternoon",
      "valid": true
    },
    {
      "value": "Evening",
      "valid": true
    },
    {
      "value": "Night",
      "valid": true
    },
    {
      "value": "Noche",
      "description": "Night in Spanish",
      "valid": true
    },
    {
      "value": "14:30",
      "description": "A time (time)",
      "valid": false
    }
  ],
  "translations": {
    "ru": {
      "name": "Время суток"
    }
  },
  "detected_by": {
    "tools": [
      "metacrafter"
    ],
    "metacrafter_rules": [
      {
        "rule": "partofdaybyname",
        "type": "field",
        "match": "regex",
        "file": "common/dateandtime.yaml"
      }
    ]
  },
  "quality": {
    "score": 55,
    "missing": [
      "regexp",
      "source link",
      "mapping (Wikidata, Schema.org, ...)"
    ]
  },
  "source": {
    "path": "data/datatypes/any/datetime/part_of_day.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/datetime/part_of_day.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/datetime/part_of_day.yaml"
  },
  "urls": {
    "html": "https://registry.apicrafter.io/datatype/part_of_day",
    "json": "https://registry.apicrafter.io/api/v1/datatypes/part_of_day.json"
  }
}