PostHog · Schema

AlertScheduleRestriction

A/B TestingAnalyticsFeature FlagsOpen SourceProduct AnalyticsSession Recording

Properties

Name Type Description
blocked_windows array Blocked local time windows when the alert must not run. Overlapping or identical windows are merged when saved. At most five windows before normalization; empty array clears quiet hours.
View JSON Schema on GitHub

JSON Schema

posthog-alertschedulerestriction-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AlertScheduleRestriction",
  "title": "AlertScheduleRestriction",
  "additionalProperties": false,
  "properties": {
    "blocked_windows": {
      "description": "Blocked local time windows when the alert must not run. Overlapping or identical windows are merged when saved. At most five windows before normalization; empty array clears quiet hours.",
      "items": {
        "$ref": "#/components/schemas/AlertScheduleRestrictionWindow"
      },
      "title": "Blocked Windows",
      "type": "array"
    }
  },
  "required": [
    "blocked_windows"
  ],
  "type": "object"
}