{
  "$id": "https://hash.ai/@h/types/entity-type/flow-schedule/v/1",
  "$schema": "https://blockprotocol.org/types/modules/graph/0.3/schema/entity-type",
  "description": "A schedule that triggers recurring executions of a flow definition.",
  "icon": "/icons/types/calendar-clock.svg",
  "kind": "entityType",
  "labelProperty": "https://blockprotocol.org/@blockprotocol/types/property-type/name/",
  "links": {
    "https://hash.ai/@h/types/entity-type/uses/v/1": {
      "items": {
        "oneOf": [
          {
            "$ref": "https://hash.ai/@h/types/entity-type/flow-definition/v/1"
          }
        ]
      },
      "maxItems": 1,
      "minItems": 0,
      "type": "array"
    }
  },
  "properties": {
    "https://blockprotocol.org/@blockprotocol/types/property-type/name/": {
      "$ref": "https://blockprotocol.org/@blockprotocol/types/property-type/name/v/1"
    },
    "https://hash.ai/@h/types/property-type/data-sources/": {
      "$ref": "https://hash.ai/@h/types/property-type/data-sources/v/1"
    },
    "https://hash.ai/@h/types/property-type/flow-definition-id/": {
      "$ref": "https://hash.ai/@h/types/property-type/flow-definition-id/v/1"
    },
    "https://hash.ai/@h/types/property-type/flow-type/": {
      "$ref": "https://hash.ai/@h/types/property-type/flow-type/v/1"
    },
    "https://hash.ai/@h/types/property-type/pause-on-failure/": {
      "$ref": "https://hash.ai/@h/types/property-type/pause-on-failure/v/1"
    },
    "https://hash.ai/@h/types/property-type/schedule-catchup-window/": {
      "$ref": "https://hash.ai/@h/types/property-type/schedule-catchup-window/v/1"
    },
    "https://hash.ai/@h/types/property-type/schedule-overlap-policy/": {
      "$ref": "https://hash.ai/@h/types/property-type/schedule-overlap-policy/v/1"
    },
    "https://hash.ai/@h/types/property-type/schedule-pause-state/": {
      "$ref": "https://hash.ai/@h/types/property-type/schedule-pause-state/v/1"
    },
    "https://hash.ai/@h/types/property-type/schedule-spec/": {
      "$ref": "https://hash.ai/@h/types/property-type/schedule-spec/v/1"
    },
    "https://hash.ai/@h/types/property-type/schedule-status/": {
      "$ref": "https://hash.ai/@h/types/property-type/schedule-status/v/1"
    },
    "https://hash.ai/@h/types/property-type/trigger/": {
      "$ref": "https://hash.ai/@h/types/property-type/trigger/v/1"
    }
  },
  "required": [
    "https://hash.ai/@h/types/property-type/flow-type/",
    "https://hash.ai/@h/types/property-type/schedule-overlap-policy/",
    "https://hash.ai/@h/types/property-type/trigger/",
    "https://blockprotocol.org/@blockprotocol/types/property-type/name/",
    "https://hash.ai/@h/types/property-type/schedule-status/",
    "https://hash.ai/@h/types/property-type/schedule-spec/",
    "https://hash.ai/@h/types/property-type/flow-definition-id/"
  ],
  "title": "Flow Schedule",
  "type": "object"
}