{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/asap-cool/json-schema/asap-cool-digest-view-schema.json",
  "title": "DigestView",
  "description": "The caller's daily digest preference.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/asap-cool-automation-api-openapi.yml#/components/schemas/DigestView",
  "type": "object",
  "required": [
    "enabled",
    "hour_local",
    "timezone"
  ],
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Whether the digest is on. Off by default."
    },
    "hour_local": {
      "type": "integer",
      "format": "int32",
      "description": "Hour of the day, 0 to 23, the digest goes out at (8 by default).",
      "minimum": 0
    },
    "timezone": {
      "type": "string",
      "description": "IANA time zone the hour is read in: the one on the caller's calendar\nprofile, Europe/Paris when they have none."
    }
  }
}