{
  "openapi": "3.1.0",
  "info": {
    "title": "NuvoStatus API",
    "version": "1",
    "description": "Resource-oriented, versioned in the path, authenticated by a workspace key. Lists answer with `items` and `next`, an opaque cursor. Times are ISO 8601 in UTC. Errors are an envelope with a stable code. The limit follows the workspace plan and is told in the RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset headers; a refused request answers 429 request.rate_limited with Retry-After. A creating request may carry an Idempotency-Key; the answer of a replay says Idempotency-Replayed: true."
  },
  "servers": [
    {
      "url": "https://api.nuvostatus.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "type": "http",
        "scheme": "bearer",
        "description": "A key of the workspace, made in its settings: `Authorization: Bearer nvs_…`."
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "auth.cannot_revoke_current",
                  "auth.email_not_verified",
                  "auth.invalid_code",
                  "auth.invalid_credentials",
                  "auth.invalid_token",
                  "auth.password_too_long",
                  "auth.password_too_short",
                  "auth.totp_required",
                  "auth.two_factor_already_enabled",
                  "auth.two_factor_not_enabled",
                  "auth.unauthenticated",
                  "internal.error",
                  "invitation.already_member",
                  "invitation.limit_reached",
                  "invitation.not_found",
                  "account.password_incorrect",
                  "account.sole_owner",
                  "account.disabled",
                  "account.email_taken",
                  "account.email_unchanged",
                  "admin.not_an_operator",
                  "admin.permission_denied",
                  "admin.user_not_found",
                  "admin.workspace_not_found",
                  "admin.monitor_not_found",
                  "admin.incident_not_found",
                  "admin.plan_unknown",
                  "admin.plan_below_usage",
                  "admin.override_invalid",
                  "admin.subscription_not_found",
                  "alert_digest.invalid_window",
                  "alert_grouping.invalid",
                  "api.bulk_empty",
                  "audit.read_forbidden",
                  "billing.provider_unavailable",
                  "billing.plan_not_sold",
                  "billing.no_subscription",
                  "billing.subscription_state",
                  "billing.subscription_conflict",
                  "billing.webhook_rejected",
                  "entitlement.feature_not_included",
                  "escalation_steps.invalid",
                  "escalation.rotation_not_found",
                  "escalation_steps.contact_not_found",
                  "escalation_steps.channel_not_found",
                  "member.limit_reached",
                  "member.last_owner",
                  "member.not_found",
                  "member.role_not_assignable",
                  "monitor.account_limit_reached",
                  "monitor.confirmation_out_of_range",
                  "monitor.interval_not_allowed",
                  "monitor.limit_reached",
                  "monitor.timeout_not_allowed",
                  "monitor.update_forbidden",
                  "import.invalid_export",
                  "import.row_refused",
                  "import.secret_unavailable",
                  "import.source_key_refused",
                  "import.source_unavailable",
                  "import.unsupported_type",
                  "import.missing_target",
                  "import.invalid_target",
                  "import.invalid_name",
                  "import.unsupported_interval",
                  "import.too_many_rows",
                  "incident.not_found",
                  "incident.invalid_cursor",
                  "incident.impact_invalid",
                  "incident.assignee_not_member",
                  "incident.assignment_forbidden",
                  "incident.already_resolved",
                  "incident.not_resolved",
                  "incident.already_open",
                  "incident.not_manual",
                  "incident.cause_invalid",
                  "incident.declaration_forbidden",
                  "incident.export_too_large",
                  "action_item.not_found",
                  "action_item.too_many",
                  "action_item.incident_open",
                  "action_item.owner_not_member",
                  "action_item.due_in_past",
                  "postmortem.not_found",
                  "incident_comment.not_author",
                  "incident_comment.not_found",
                  "monitor.invalid_cursor",
                  "monitor.not_found",
                  "monitor.not_deleted",
                  "monitor.restore_window_expired",
                  "monitor.url_not_allowed",
                  "monitor.channel_not_found",
                  "monitor.keyword_needs_body",
                  "monitor.conditions_need_body",
                  "monitor.json_condition_needs_body",
                  "monitor.config_invalid",
                  "monitor.authorization_header_conflict",
                  "monitor.auth_value_has_scheme",
                  "monitor.domain_invalid",
                  "monitor.secrets_unavailable",
                  "monitor.host_not_allowed",
                  "monitor.not_a_heartbeat",
                  "monitor.slow_response_not_supported",
                  "monitor.baseline_not_supported",
                  "monitor.pause_until_in_past",
                  "monitor.pause_until_too_far",
                  "monitor.dependency_not_found",
                  "monitor.dependency_self",
                  "monitor.dependency_limit",
                  "monitor.dependency_duplicate",
                  "monitor.dependency_cycle",
                  "monitor.runbook_url_invalid",
                  "monitor.paused",
                  "monitor.check_too_soon",
                  "monitor.check_budget_spent",
                  "monitor.check_not_supported",
                  "monitor.no_capable_probe",
                  "manual_check.not_found",
                  "on_call.invalid_participant",
                  "on_call.invalid_window",
                  "on_call.invalid_name",
                  "on_call.name_taken",
                  "on_call.rotation_not_found",
                  "on_call.rotation_last",
                  "rotation.in_use",
                  "group.not_found",
                  "group.name_taken",
                  "group.limit_reached",
                  "group.order_invalid",
                  "idempotency.conflict",
                  "idempotency.in_progress",
                  "tag.not_found",
                  "tag.name_taken",
                  "tag.limit_reached",
                  "tag.limit_per_monitor",
                  "sla_policy.not_found",
                  "sla_policy.name_taken",
                  "sla_policy.monitor_already_covered",
                  "sla_report.not_found",
                  "sla_report.month_not_closed",
                  "sla_report.too_large",
                  "api_key.not_found",
                  "api_key.limit_reached",
                  "api_key.write_key_not_limited",
                  "api_key.monitor_not_allowed",
                  "api_key.not_rotatable",
                  "api_key.grace_out_of_range",
                  "contact.not_found",
                  "contact.already_exists",
                  "contact.limit_reached",
                  "contact.availability_invalid",
                  "contact.unavailable",
                  "maintenance.not_found",
                  "maintenance.not_editable",
                  "maintenance.limit_reached",
                  "maintenance.monitor_not_found",
                  "maintenance.group_not_found",
                  "maintenance.invalid_window",
                  "maintenance.skip_not_recurring",
                  "maintenance.skip_not_an_occurrence",
                  "maintenance.skip_started",
                  "maintenance.skip_already_skipped",
                  "maintenance.skip_not_found",
                  "maintenance_window.group_not_found",
                  "maintenance_window.limit_exceeded",
                  "maintenance_window.monitor_not_found",
                  "maintenance_window.not_active",
                  "maintenance_window.not_found",
                  "contact.not_verified",
                  "contact.unknown_contact",
                  "contact.verification_invalid",
                  "channel.not_found",
                  "channel.name_taken",
                  "channel.limit_reached",
                  "channel.config_invalid",
                  "channel.events_empty",
                  "channel.secret_unavailable",
                  "channel.secret_not_rotatable",
                  "delivery.not_found",
                  "delivery.not_retryable",
                  "delivery.paced",
                  "email.lane_budget_exhausted",
                  "email.suppression_not_found",
                  "email.webhook_rejected",
                  "alert_provider.not_configured",
                  "permission.denied",
                  "probe.enrolment_expired",
                  "probe.enrolment_invalid_key",
                  "probe.enrolment_invalid_request",
                  "probe.enrolment_revoked",
                  "probe.enrolment_unknown",
                  "probe.enrolment_used",
                  "request.content_type_not_allowed",
                  "request.cross_site",
                  "request.host_not_allowed",
                  "request.origin_missing",
                  "request.origin_not_allowed",
                  "request.rate_limited",
                  "resource.not_found",
                  "status_page.limit_reached",
                  "status_page.monitor_not_found",
                  "status_page.not_found",
                  "status_page.password_incorrect",
                  "status_page.slug_taken",
                  "status_page.unavailable",
                  "status_page.service_not_found",
                  "status_page.services_required",
                  "status_page.domain_invalid",
                  "status_page.domain_taken",
                  "status_page_announcement.invalid_window",
                  "status_page_announcement.limit_reached",
                  "status_page_announcement.not_found",
                  "status_page_subscriber.not_found",
                  "validation.failed",
                  "weekly_report.invalid_reader",
                  "workspace.limit_reached",
                  "workspace.not_found",
                  "workspace.nothing_to_change",
                  "workspace.import_limit_exceeded"
                ]
              },
              "details": {
                "description": "On validation failures: which field, and why."
              }
            },
            "required": [
              "code"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "error"
        ],
        "additionalProperties": false
      }
    }
  },
  "paths": {
    "/v1/me": {
      "get": {
        "summary": "The key, its workspace, and the plan",
        "description": "Says which key is calling, what it may do, the workspace it belongs to, the limits that apply to it, what it uses of them, and whether it is within them. A read key may be limited to a set of monitors; `monitorIds` says which, and empty means the whole workspace. Read-only: nothing about billing can be changed through a key.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "key": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "scope": {
                          "type": "string",
                          "enum": [
                            "read",
                            "write"
                          ]
                        },
                        "monitorIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "description": "The monitors a read key is limited to; empty means the whole workspace. A write key is never limited."
                        }
                      },
                      "required": [
                        "id",
                        "scope",
                        "monitorIds"
                      ],
                      "additionalProperties": false
                    },
                    "workspace": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "defaultLocale": {
                          "type": "string"
                        },
                        "role": {
                          "type": "string",
                          "enum": [
                            "owner",
                            "admin",
                            "member",
                            "viewer"
                          ],
                          "description": "The role the key acts as: viewer for read, member for write."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "planId": {
                          "type": "string",
                          "description": "The plan the workspace is on; `plan` says the same, as the catalogue knows it."
                        },
                        "escalationAfterSeconds": {
                          "nullable": true,
                          "description": "How long an incident may stay unacknowledged before it is told again, in seconds; null repeats nothing.",
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "defaultLocale",
                        "role",
                        "createdAt",
                        "planId",
                        "escalationAfterSeconds"
                      ],
                      "additionalProperties": false
                    },
                    "plan": {
                      "type": "object",
                      "properties": {
                        "planId": {
                          "type": "string",
                          "enum": [
                            "free",
                            "starter",
                            "pro",
                            "business",
                            "beta"
                          ]
                        }
                      },
                      "required": [
                        "planId"
                      ],
                      "additionalProperties": false
                    },
                    "limits": {
                      "type": "object",
                      "properties": {
                        "monitors": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "minIntervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "members": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "retentionDays": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "apiKeys": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "contacts": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "maintenanceWindows": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "regions": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "statusPages": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "webhooks": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "manualChecksPerDay": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "monitors",
                        "minIntervalSeconds",
                        "members",
                        "retentionDays",
                        "apiKeys",
                        "contacts",
                        "maintenanceWindows",
                        "regions",
                        "statusPages",
                        "webhooks",
                        "manualChecksPerDay"
                      ],
                      "additionalProperties": false,
                      "description": "What applies to the workspace: the plan's figures, with any adjustment made for it."
                    },
                    "usage": {
                      "type": "object",
                      "properties": {
                        "monitors": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "members": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "contacts": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "maintenanceWindows": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "apiKeys": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "shortestIntervalSeconds": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "monitors",
                        "members",
                        "contacts",
                        "maintenanceWindows",
                        "apiKeys",
                        "shortestIntervalSeconds"
                      ],
                      "additionalProperties": false
                    },
                    "compliance": {
                      "type": "object",
                      "properties": {
                        "withinLimits": {
                          "type": "boolean"
                        },
                        "exceeded": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "key": {
                                "type": "string",
                                "enum": [
                                  "monitors",
                                  "minIntervalSeconds",
                                  "members",
                                  "retentionDays",
                                  "apiKeys",
                                  "contacts",
                                  "maintenanceWindows",
                                  "regions",
                                  "statusPages",
                                  "webhooks",
                                  "manualChecksPerDay"
                                ]
                              },
                              "used": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "allowed": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "key",
                              "used",
                              "allowed"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "featuresInUse": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "monitor.http",
                              "monitor.tcp",
                              "monitor.dns",
                              "monitor.heartbeat",
                              "monitor.ping",
                              "monitor.udp",
                              "monitor.domain",
                              "ssl",
                              "api",
                              "statusPages",
                              "webhooks"
                            ]
                          }
                        }
                      },
                      "required": [
                        "withinLimits",
                        "exceeded",
                        "featuresInUse"
                      ],
                      "additionalProperties": false,
                      "description": "What the workspace holds beyond its limits; creating more of it is refused."
                    }
                  },
                  "required": [
                    "key",
                    "workspace",
                    "plan",
                    "limits",
                    "usage",
                    "compliance"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/account": {
      "get": {
        "summary": "The account: plan, limits and usage",
        "description": "The workspace, the plan it is on, its language, and where it stands against the plan’s limits: monitors used and allowed, seats used and allowed, and the shortest interval it may choose. The same figures the dashboard shows, counted by the same queries. The key that asked, with its name and scope, and nothing of another workspace.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "workspace": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "slug": {
                          "type": "string",
                          "description": "A readable handle derived from the name; not an address and not unique."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "slug"
                      ],
                      "additionalProperties": false
                    },
                    "plan": {
                      "type": "string",
                      "description": "The id of the plan the workspace is on."
                    },
                    "locale": {
                      "type": "string"
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "entitlements": {
                      "type": "object",
                      "properties": {
                        "monitorLimit": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "monitorsUsed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "seatLimit": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "seatsUsed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "minimumIntervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "monitorLimit",
                        "monitorsUsed",
                        "seatLimit",
                        "seatsUsed",
                        "minimumIntervalSeconds"
                      ],
                      "additionalProperties": false
                    },
                    "apiKey": {
                      "nullable": true,
                      "description": "The key that asked; null when a member’s session asked.",
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "scopes": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "read",
                              "write"
                            ]
                          }
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "scopes"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "workspace",
                    "plan",
                    "locale",
                    "createdAt",
                    "entitlements",
                    "apiKey"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/audit-logs": {
      "get": {
        "summary": "Read the activity log",
        "description": "What happened in the workspace, who did it, on what and when, newest first. Only an owner, an administrator or a read key may ask; a write key and a member are refused. The entry never carries the request’s address or a secret, and its metadata holds only what the change recorded on purpose.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 20,
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200
            }
          },
          {
            "name": "action",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100
            }
          },
          {
            "name": "actorId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          {
            "name": "targetType",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 50
            }
          },
          {
            "name": "targetId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          {
            "name": "from",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
            }
          },
          {
            "name": "to",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "entries": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "actorType": {
                            "type": "string",
                            "enum": [
                              "user",
                              "api_key",
                              "system"
                            ]
                          },
                          "actorId": {
                            "nullable": true,
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "actorName": {
                            "nullable": true,
                            "type": "string"
                          },
                          "action": {
                            "type": "string"
                          },
                          "targetType": {
                            "nullable": true,
                            "type": "string"
                          },
                          "targetId": {
                            "nullable": true,
                            "type": "string"
                          },
                          "metadata": {
                            "type": "object",
                            "additionalProperties": {}
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          }
                        },
                        "required": [
                          "id",
                          "actorType",
                          "actorId",
                          "actorName",
                          "action",
                          "targetType",
                          "targetId",
                          "metadata",
                          "createdAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "nextCursor": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "entries",
                    "nextCursor"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `audit.read_forbidden`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/workspace/export": {
      "get": {
        "summary": "Export the whole workspace as one document",
        "description": "The workspace’s configuration as one versioned JSON file: its name, monitors, groups, maintenance windows, channels and status pages. It carries the shape of every credential and never a value — an HTTP monitor’s headers, password, token and body are the mask, a channel has no destination, a protected page has no password — and each such entry says `secretsOmitted`. Ids are absent by design: an import remaps everything through names, targets and slugs. Send it back to `/v1/workspace/import`, in this workspace or another.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "formatVersion": {
                      "type": "number",
                      "enum": [
                        1
                      ]
                    },
                    "exportedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                    },
                    "workspace": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 120
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    },
                    "monitors": {
                      "maxItems": 1000,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 120
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "http",
                              "tcp",
                              "dns",
                              "heartbeat",
                              "ping",
                              "udp",
                              "domain"
                            ]
                          },
                          "config": {
                            "type": "object",
                            "additionalProperties": {},
                            "description": "The configuration of its kind, with every secret replaced by the mask."
                          },
                          "intervalSeconds": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "timeoutSeconds": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "confirmationChecks": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "confirmationSpanSeconds": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "importance": {
                            "type": "string",
                            "enum": [
                              "critical",
                              "standard"
                            ]
                          },
                          "certificateAlertDays": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "slaTargetBp": {
                            "type": "integer",
                            "minimum": 9000,
                            "maximum": 10000
                          },
                          "slaBudgetAlertPercent": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100
                          },
                          "slowResponseMs": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "runbookUrl": {
                            "default": null,
                            "nullable": true,
                            "type": "string",
                            "maxLength": 2048
                          },
                          "responseBaselinePercent": {
                            "default": null,
                            "nullable": true,
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "paused": {
                            "type": "boolean"
                          },
                          "groupName": {
                            "nullable": true,
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 60
                          },
                          "channelNames": {
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 80
                            }
                          },
                          "secretsOmitted": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "name",
                          "type",
                          "config",
                          "intervalSeconds",
                          "timeoutSeconds",
                          "confirmationChecks",
                          "confirmationSpanSeconds",
                          "importance",
                          "certificateAlertDays",
                          "slaTargetBp",
                          "slaBudgetAlertPercent",
                          "slowResponseMs",
                          "paused",
                          "groupName",
                          "channelNames",
                          "secretsOmitted"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "groups": {
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 60
                          }
                        },
                        "required": [
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "maintenance": {
                      "maxItems": 200,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 120
                          },
                          "startsAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          "endsAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          "recurrence": {
                            "type": "string",
                            "enum": [
                              "none",
                              "daily",
                              "weekly",
                              "monthly"
                            ]
                          },
                          "timeZone": {
                            "nullable": true,
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 64
                          },
                          "monitorNames": {
                            "nullable": true,
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 120
                            }
                          },
                          "groupNames": {
                            "nullable": true,
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 60
                            }
                          }
                        },
                        "required": [
                          "name",
                          "startsAt",
                          "endsAt",
                          "recurrence",
                          "timeZone",
                          "monitorNames",
                          "groupNames"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "channels": {
                      "maxItems": 100,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "webhook",
                              "slack",
                              "telegram",
                              "teams",
                              "discord",
                              "google_chat",
                              "mattermost",
                              "splunk",
                              "pagerduty",
                              "pushover",
                              "pushbullet",
                              "sms",
                              "voice",
                              "zapier"
                            ]
                          },
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "enabled": {
                            "type": "boolean"
                          },
                          "events": {
                            "minItems": 1,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "enum": [
                                "opened",
                                "resolved",
                                "escalated"
                              ]
                            }
                          },
                          "severityFloor": {
                            "type": "string",
                            "enum": [
                              "all",
                              "critical"
                            ]
                          },
                          "secretsOmitted": {
                            "type": "boolean",
                            "enum": [
                              true
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "name",
                          "enabled",
                          "events",
                          "severityFloor",
                          "secretsOmitted"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "statusPages": {
                      "maxItems": 50,
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "slug": {
                            "type": "string",
                            "maxLength": 63
                          },
                          "title": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          },
                          "description": {
                            "nullable": true,
                            "type": "string",
                            "maxLength": 280
                          },
                          "accentColor": {
                            "nullable": true,
                            "type": "string",
                            "pattern": "^#[0-9a-f]{6}$"
                          },
                          "logoUrl": {
                            "nullable": true,
                            "type": "string",
                            "maxLength": 2048,
                            "format": "uri"
                          },
                          "locale": {
                            "nullable": true,
                            "type": "string",
                            "enum": [
                              "en",
                              "es",
                              "de",
                              "fr",
                              "pt"
                            ]
                          },
                          "subscriberAlertBudget": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 5000
                          },
                          "published": {
                            "type": "boolean"
                          },
                          "passwordProtected": {
                            "type": "boolean"
                          },
                          "services": {
                            "maxItems": 100,
                            "type": "array",
                            "items": {
                              "anyOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "monitor"
                                      ]
                                    },
                                    "monitorName": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 120
                                    },
                                    "displayName": {
                                      "nullable": true,
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 80
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "monitorName",
                                    "displayName"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "group"
                                      ]
                                    },
                                    "name": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 80
                                    },
                                    "monitorNames": {
                                      "maxItems": 100,
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "minLength": 1,
                                        "maxLength": 120
                                      }
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "name",
                                    "monitorNames"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "secretsOmitted": {
                            "type": "boolean",
                            "enum": [
                              true
                            ]
                          }
                        },
                        "required": [
                          "slug",
                          "title",
                          "description",
                          "accentColor",
                          "logoUrl",
                          "locale",
                          "subscriberAlertBudget",
                          "published",
                          "passwordProtected",
                          "services",
                          "secretsOmitted"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "formatVersion",
                    "exportedAt",
                    "workspace",
                    "monitors",
                    "groups",
                    "maintenance",
                    "channels",
                    "statusPages"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/workspace/import": {
      "post": {
        "summary": "Import a workspace document",
        "description": "Creates what the document carries in this workspace: monitors, groups, maintenance windows, channels and status pages, with every id its own and every reference remapped by name. A channel arrives disabled without its destination; a monitor that needs a credential the file did not carry arrives paused; a page arrives unpublished, and under a fresh slug when its own is taken. Nothing already there — a monitor with the same name and target, a group, channel or page with the same name or slug, a window with the same name and start — is created twice. The plan is checked before anything is written: a document that would exceed it answers `workspace.import_limit_exceeded` and creates nothing. Send an `Idempotency-Key` to make a retry replay this answer.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "formatVersion": {
                    "type": "number",
                    "enum": [
                      1
                    ]
                  },
                  "exportedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "workspace": {
                    "type": "object",
                    "properties": {
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      }
                    },
                    "required": [
                      "name"
                    ],
                    "additionalProperties": false
                  },
                  "monitors": {
                    "maxItems": 1000,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 120
                        },
                        "type": {
                          "type": "string",
                          "enum": [
                            "http",
                            "tcp",
                            "dns",
                            "heartbeat",
                            "ping",
                            "udp",
                            "domain"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "additionalProperties": {},
                          "description": "The configuration of its kind, with every secret replaced by the mask."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "confirmationChecks": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "confirmationSpanSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "importance": {
                          "type": "string",
                          "enum": [
                            "critical",
                            "standard"
                          ]
                        },
                        "certificateAlertDays": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "slaTargetBp": {
                          "type": "integer",
                          "minimum": 9000,
                          "maximum": 10000
                        },
                        "slaBudgetAlertPercent": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 100
                        },
                        "slowResponseMs": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "runbookUrl": {
                          "default": null,
                          "nullable": true,
                          "type": "string",
                          "maxLength": 2048
                        },
                        "responseBaselinePercent": {
                          "default": null,
                          "nullable": true,
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 60
                        },
                        "channelNames": {
                          "maxItems": 100,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 80
                          }
                        },
                        "secretsOmitted": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "name",
                        "type",
                        "config",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "confirmationChecks",
                        "confirmationSpanSeconds",
                        "importance",
                        "certificateAlertDays",
                        "slaTargetBp",
                        "slaBudgetAlertPercent",
                        "slowResponseMs",
                        "paused",
                        "groupName",
                        "channelNames",
                        "secretsOmitted"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "groups": {
                    "maxItems": 200,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 60
                        }
                      },
                      "required": [
                        "name"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "maintenance": {
                    "maxItems": 200,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 120
                        },
                        "startsAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "endsAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "recurrence": {
                          "type": "string",
                          "enum": [
                            "none",
                            "daily",
                            "weekly",
                            "monthly"
                          ]
                        },
                        "timeZone": {
                          "nullable": true,
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 64
                        },
                        "monitorNames": {
                          "nullable": true,
                          "maxItems": 100,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 120
                          }
                        },
                        "groupNames": {
                          "nullable": true,
                          "maxItems": 100,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 60
                          }
                        }
                      },
                      "required": [
                        "name",
                        "startsAt",
                        "endsAt",
                        "recurrence",
                        "timeZone",
                        "monitorNames",
                        "groupNames"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "channels": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "kind": {
                          "type": "string",
                          "enum": [
                            "webhook",
                            "slack",
                            "telegram",
                            "teams",
                            "discord",
                            "google_chat",
                            "mattermost",
                            "splunk",
                            "pagerduty",
                            "pushover",
                            "pushbullet",
                            "sms",
                            "voice",
                            "zapier"
                          ]
                        },
                        "name": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 80
                        },
                        "enabled": {
                          "type": "boolean"
                        },
                        "events": {
                          "minItems": 1,
                          "type": "array",
                          "items": {
                            "type": "string",
                            "enum": [
                              "opened",
                              "resolved",
                              "escalated"
                            ]
                          }
                        },
                        "severityFloor": {
                          "type": "string",
                          "enum": [
                            "all",
                            "critical"
                          ]
                        },
                        "secretsOmitted": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "kind",
                        "name",
                        "enabled",
                        "events",
                        "severityFloor",
                        "secretsOmitted"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "statusPages": {
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "object",
                      "properties": {
                        "slug": {
                          "type": "string",
                          "maxLength": 63
                        },
                        "title": {
                          "type": "string",
                          "minLength": 1,
                          "maxLength": 80
                        },
                        "description": {
                          "nullable": true,
                          "type": "string",
                          "maxLength": 280
                        },
                        "accentColor": {
                          "nullable": true,
                          "type": "string",
                          "pattern": "^#[0-9a-f]{6}$"
                        },
                        "logoUrl": {
                          "nullable": true,
                          "type": "string",
                          "maxLength": 2048,
                          "format": "uri"
                        },
                        "locale": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "en",
                            "es",
                            "de",
                            "fr",
                            "pt"
                          ]
                        },
                        "subscriberAlertBudget": {
                          "type": "integer",
                          "minimum": 1,
                          "maximum": 5000
                        },
                        "published": {
                          "type": "boolean"
                        },
                        "passwordProtected": {
                          "type": "boolean"
                        },
                        "services": {
                          "maxItems": 100,
                          "type": "array",
                          "items": {
                            "anyOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "monitor"
                                    ]
                                  },
                                  "monitorName": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 120
                                  },
                                  "displayName": {
                                    "nullable": true,
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 80
                                  }
                                },
                                "required": [
                                  "kind",
                                  "monitorName",
                                  "displayName"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "kind": {
                                    "type": "string",
                                    "enum": [
                                      "group"
                                    ]
                                  },
                                  "name": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 80
                                  },
                                  "monitorNames": {
                                    "maxItems": 100,
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 120
                                    }
                                  }
                                },
                                "required": [
                                  "kind",
                                  "name",
                                  "monitorNames"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          }
                        },
                        "secretsOmitted": {
                          "type": "boolean",
                          "enum": [
                            true
                          ]
                        }
                      },
                      "required": [
                        "slug",
                        "title",
                        "description",
                        "accentColor",
                        "logoUrl",
                        "locale",
                        "subscriberAlertBudget",
                        "published",
                        "passwordProtected",
                        "services",
                        "secretsOmitted"
                      ],
                      "additionalProperties": false
                    }
                  }
                },
                "required": [
                  "formatVersion",
                  "exportedAt",
                  "workspace",
                  "monitors",
                  "groups",
                  "maintenance",
                  "channels",
                  "statusPages"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "created": {
                      "type": "object",
                      "properties": {
                        "monitors": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "groups": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "maintenance": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "channels": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "statusPages": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        }
                      },
                      "required": [
                        "monitors",
                        "groups",
                        "maintenance",
                        "channels",
                        "statusPages"
                      ],
                      "additionalProperties": false
                    },
                    "ids": {
                      "type": "object",
                      "properties": {
                        "monitors": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          }
                        },
                        "groups": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          }
                        },
                        "maintenance": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          }
                        },
                        "channels": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          }
                        },
                        "statusPages": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          }
                        }
                      },
                      "required": [
                        "monitors",
                        "groups",
                        "maintenance",
                        "channels",
                        "statusPages"
                      ],
                      "additionalProperties": false
                    },
                    "skipped": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "monitor",
                              "group",
                              "maintenance",
                              "channel",
                              "status_page"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string",
                            "enum": [
                              "already_present",
                              "invalid",
                              "unknown_reference"
                            ]
                          }
                        },
                        "required": [
                          "kind",
                          "name",
                          "reason"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "unconfigured": {
                      "type": "object",
                      "properties": {
                        "monitors": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "channels": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "statusPages": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      },
                      "required": [
                        "monitors",
                        "channels",
                        "statusPages"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "created",
                    "ids",
                    "skipped",
                    "unconfigured"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `workspace.import_limit_exceeded`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/members": {
      "get": {
        "summary": "List the members",
        "description": "The people in the workspace, with the role each holds and since when. Never a session, a credential or a token. A read key sees them as a viewer sees them.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "email": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string",
                            "enum": [
                              "owner",
                              "admin",
                              "member",
                              "viewer"
                            ]
                          },
                          "joinedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "email",
                          "role",
                          "joinedAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/members/invitations": {
      "post": {
        "summary": "Invite somebody to the workspace",
        "description": "Invites one address with one role. A write key acts as an administrator over people, never as an owner: it may invite members and viewers only. The invitation is sent by email; its token is in the link and never in an answer.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "maxLength": 320
                  },
                  "role": {
                    "type": "string",
                    "enum": [
                      "owner",
                      "admin",
                      "member",
                      "viewer"
                    ]
                  }
                },
                "required": [
                  "email",
                  "role"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "invitation": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "email": {
                          "type": "string"
                        },
                        "role": {
                          "type": "string",
                          "enum": [
                            "owner",
                            "admin",
                            "member",
                            "viewer"
                          ]
                        },
                        "invitedBy": {
                          "nullable": true,
                          "description": "The person who invited, or null when a key did.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "expiresAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "email",
                        "role",
                        "invitedBy",
                        "expiresAt",
                        "createdAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "invitation"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`, `member.role_not_assignable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `member.limit_reached`, `invitation.already_member`, `invitation.limit_reached`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "get": {
        "summary": "List the open invitations",
        "description": "The invitations that have been sent and not yet accepted, oldest first. Their tokens are not part of any answer.",
        "x-scope": "write",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "email": {
                            "type": "string"
                          },
                          "role": {
                            "type": "string",
                            "enum": [
                              "owner",
                              "admin",
                              "member",
                              "viewer"
                            ]
                          },
                          "invitedBy": {
                            "nullable": true,
                            "description": "The person who invited, or null when a key did.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          },
                          "expiresAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "email",
                          "role",
                          "invitedBy",
                          "expiresAt",
                          "createdAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/members/invitations/{id}": {
      "delete": {
        "summary": "Withdraw an invitation",
        "description": "Revokes an invitation that has not been accepted; its link stops working.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `invitation.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/members/{id}": {
      "patch": {
        "summary": "Change a member's role",
        "description": "Gives a member another role. A write key acts as an administrator over people: it may change members and viewers, never an owner or another administrator.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "role": {
                    "type": "string",
                    "enum": [
                      "owner",
                      "admin",
                      "member",
                      "viewer"
                    ]
                  }
                },
                "required": [
                  "role"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`, `member.role_not_assignable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `member.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `member.last_owner`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Remove a member",
        "description": "Removes a member from the workspace. The last owner stays; an owner or another administrator is out of a write key’s reach.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`, `member.role_not_assignable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `member.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `member.last_owner`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors": {
      "get": {
        "summary": "List the monitors",
        "description": "A page of the monitors the key may read, with its state and the limits of the workspace. Search by name or address, keep one group, label or state, order by name, creation or latest median response time, and ask for the next page with `cursor`. A read key limited to some monitors lists exactly those; another monitor of the workspace answers as one that does not exist.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 120
            }
          },
          {
            "name": "groupId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          {
            "name": "tagId",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            }
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "up",
                "down",
                "paused"
              ]
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "schema": {
              "default": "name",
              "type": "string",
              "enum": [
                "name",
                "created",
                "slowest"
              ]
            }
          },
          {
            "name": "direction",
            "in": "query",
            "required": false,
            "schema": {
              "default": "asc",
              "type": "string",
              "enum": [
                "asc",
                "desc"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 50,
              "type": "integer",
              "minimum": 1,
              "maximum": 100
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "http"
                                ]
                              },
                              "config": {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string"
                                  },
                                  "method": {
                                    "type": "string",
                                    "enum": [
                                      "GET",
                                      "HEAD",
                                      "POST",
                                      "PUT",
                                      "PATCH",
                                      "DELETE"
                                    ]
                                  },
                                  "followRedirects": {
                                    "type": "boolean"
                                  },
                                  "expectedStatus": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "keyword": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "keywordMustAppear": {
                                    "type": "boolean"
                                  },
                                  "conditions": {
                                    "type": "array",
                                    "items": {
                                      "oneOf": [
                                        {
                                          "type": "object",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "body_contains"
                                              ]
                                            },
                                            "text": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "type",
                                            "text"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "body_not_contains"
                                              ]
                                            },
                                            "text": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "type",
                                            "text"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "json_exists"
                                              ]
                                            },
                                            "path": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "type",
                                            "path"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "json_equals"
                                              ]
                                            },
                                            "path": {
                                              "type": "string"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "type",
                                            "path",
                                            "value"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "header"
                                              ]
                                            },
                                            "name": {
                                              "type": "string"
                                            },
                                            "equals": {
                                              "nullable": true,
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "type",
                                            "name",
                                            "equals"
                                          ],
                                          "additionalProperties": false
                                        },
                                        {
                                          "type": "object",
                                          "properties": {
                                            "type": {
                                              "type": "string",
                                              "enum": [
                                                "final_url"
                                              ]
                                            },
                                            "equals": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "type",
                                            "equals"
                                          ],
                                          "additionalProperties": false
                                        }
                                      ]
                                    }
                                  },
                                  "conditionMode": {
                                    "type": "string",
                                    "enum": [
                                      "all",
                                      "any"
                                    ]
                                  },
                                  "headers": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "name": {
                                          "type": "string"
                                        },
                                        "value": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "name",
                                        "value"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "auth": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "none"
                                            ]
                                          }
                                        },
                                        "required": [
                                          "type"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "basic"
                                            ]
                                          },
                                          "username": {
                                            "type": "string"
                                          },
                                          "password": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "username",
                                          "password"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "bearer"
                                            ]
                                          },
                                          "token": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "token"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  },
                                  "body": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "contentType": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "contentType",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "required": [
                                  "url",
                                  "method",
                                  "followRedirects",
                                  "expectedStatus",
                                  "keyword",
                                  "keywordMustAppear",
                                  "conditions",
                                  "conditionMode",
                                  "headers",
                                  "auth",
                                  "body"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "target": {
                                "type": "string",
                                "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                              },
                              "intervalSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How often it is checked; a heartbeat's period."
                              },
                              "timeoutSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "paused": {
                                "type": "boolean"
                              },
                              "pausedUntil": {
                                "nullable": true,
                                "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "passing",
                                  "failing",
                                  "down",
                                  "paused",
                                  "unknown"
                                ]
                              },
                              "statusSince": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "pendingReason": {
                                "nullable": true,
                                "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "enum": [
                                      "no_probe_capability"
                                    ]
                                  },
                                  "missingCapability": {
                                    "type": "string",
                                    "enum": [
                                      "http",
                                      "tcp",
                                      "dns",
                                      "http_secrets",
                                      "icmp",
                                      "udp",
                                      "domain",
                                      "ipv6"
                                    ]
                                  }
                                },
                                "required": [
                                  "code",
                                  "missingCapability"
                                ],
                                "additionalProperties": false
                              },
                              "lastCheck": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "at": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "class": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "fail"
                                    ]
                                  },
                                  "error": {
                                    "nullable": true,
                                    "type": "string",
                                    "enum": [
                                      "dns_not_found",
                                      "dns_failure",
                                      "dns_timeout",
                                      "connection_refused",
                                      "connection_timeout",
                                      "connection_reset",
                                      "network_unreachable",
                                      "tls_certificate_expired",
                                      "tls_certificate_invalid",
                                      "tls_hostname_mismatch",
                                      "tls_handshake_failed",
                                      "timeout",
                                      "unexpected_status",
                                      "too_many_redirects",
                                      "invalid_redirect",
                                      "destination_not_allowed",
                                      "response_headers_too_large",
                                      "protocol_error",
                                      "keyword_not_found",
                                      "keyword_found",
                                      "json_invalid",
                                      "json_path_missing",
                                      "json_value_mismatch",
                                      "json_too_large",
                                      "header_missing",
                                      "header_mismatch",
                                      "final_url_mismatch",
                                      "dns_no_records",
                                      "dns_unexpected_answer",
                                      "heartbeat_missed",
                                      "no_reply",
                                      "domain_expiring",
                                      "domain_expired",
                                      "lease_expired",
                                      "rate_limited",
                                      "expired",
                                      "probe_overloaded",
                                      "secret_unavailable",
                                      "icmp_unavailable",
                                      "domain_expiry_unknown",
                                      "probe_no_ipv6",
                                      "own_destination",
                                      "self_check_failed"
                                    ]
                                  },
                                  "statusCode": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "responseMs": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "at",
                                  "class",
                                  "error",
                                  "statusCode",
                                  "responseMs"
                                ],
                                "additionalProperties": false
                              },
                              "certificate": {
                                "nullable": true,
                                "description": "Only over HTTPS, once a check connected.",
                                "type": "object",
                                "properties": {
                                  "notBefore": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "notAfter": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "issuer": {
                                    "type": "string"
                                  },
                                  "subject": {
                                    "type": "string"
                                  },
                                  "sans": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "seenAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "daysLeft": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "attention",
                                      "critical",
                                      "expired",
                                      "invalid"
                                    ]
                                  }
                                },
                                "required": [
                                  "notBefore",
                                  "notAfter",
                                  "issuer",
                                  "subject",
                                  "sans",
                                  "seenAt",
                                  "daysLeft",
                                  "state"
                                ],
                                "additionalProperties": false
                              },
                              "maintenance": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "endsAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "endsAt"
                                ],
                                "additionalProperties": false
                              },
                              "incident": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "startedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "confirmedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "recovering": {
                                    "type": "boolean"
                                  },
                                  "flapping": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "startedAt",
                                  "confirmedAt",
                                  "recovering",
                                  "flapping"
                                ],
                                "additionalProperties": false
                              },
                              "notifications": {
                                "type": "object",
                                "properties": {
                                  "alertMembers": {
                                    "type": "boolean"
                                  },
                                  "contactIds": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    }
                                  },
                                  "quietUntil": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "quietForever": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "alertMembers",
                                  "contactIds",
                                  "quietUntil",
                                  "quietForever"
                                ],
                                "additionalProperties": false
                              },
                              "groupId": {
                                "nullable": true,
                                "description": "The monitor’s group, or null when ungrouped.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "groupName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "groupState": {
                                "nullable": true,
                                "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                "type": "string",
                                "enum": [
                                  "operational",
                                  "degraded",
                                  "down",
                                  "maintenance",
                                  "unknown"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "nextCheckAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "heartbeat": {
                                "nullable": true,
                                "description": "Only for a heartbeat.",
                                "type": "object",
                                "properties": {
                                  "lastPingAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "dueAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "lastPingAt",
                                  "dueAt"
                                ],
                                "additionalProperties": false
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "type",
                              "config",
                              "id",
                              "name",
                              "target",
                              "intervalSeconds",
                              "timeoutSeconds",
                              "paused",
                              "pausedUntil",
                              "status",
                              "statusSince",
                              "pendingReason",
                              "lastCheck",
                              "certificate",
                              "maintenance",
                              "incident",
                              "notifications",
                              "groupId",
                              "groupName",
                              "groupState",
                              "tags",
                              "nextCheckAt",
                              "heartbeat",
                              "createdAt",
                              "updatedAt"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "tcp"
                                ]
                              },
                              "config": {
                                "type": "object",
                                "properties": {
                                  "host": {
                                    "type": "string"
                                  },
                                  "port": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "host",
                                  "port"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "target": {
                                "type": "string",
                                "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                              },
                              "intervalSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How often it is checked; a heartbeat's period."
                              },
                              "timeoutSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "paused": {
                                "type": "boolean"
                              },
                              "pausedUntil": {
                                "nullable": true,
                                "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "passing",
                                  "failing",
                                  "down",
                                  "paused",
                                  "unknown"
                                ]
                              },
                              "statusSince": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "pendingReason": {
                                "nullable": true,
                                "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "enum": [
                                      "no_probe_capability"
                                    ]
                                  },
                                  "missingCapability": {
                                    "type": "string",
                                    "enum": [
                                      "http",
                                      "tcp",
                                      "dns",
                                      "http_secrets",
                                      "icmp",
                                      "udp",
                                      "domain",
                                      "ipv6"
                                    ]
                                  }
                                },
                                "required": [
                                  "code",
                                  "missingCapability"
                                ],
                                "additionalProperties": false
                              },
                              "lastCheck": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "at": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "class": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "fail"
                                    ]
                                  },
                                  "error": {
                                    "nullable": true,
                                    "type": "string",
                                    "enum": [
                                      "dns_not_found",
                                      "dns_failure",
                                      "dns_timeout",
                                      "connection_refused",
                                      "connection_timeout",
                                      "connection_reset",
                                      "network_unreachable",
                                      "tls_certificate_expired",
                                      "tls_certificate_invalid",
                                      "tls_hostname_mismatch",
                                      "tls_handshake_failed",
                                      "timeout",
                                      "unexpected_status",
                                      "too_many_redirects",
                                      "invalid_redirect",
                                      "destination_not_allowed",
                                      "response_headers_too_large",
                                      "protocol_error",
                                      "keyword_not_found",
                                      "keyword_found",
                                      "json_invalid",
                                      "json_path_missing",
                                      "json_value_mismatch",
                                      "json_too_large",
                                      "header_missing",
                                      "header_mismatch",
                                      "final_url_mismatch",
                                      "dns_no_records",
                                      "dns_unexpected_answer",
                                      "heartbeat_missed",
                                      "no_reply",
                                      "domain_expiring",
                                      "domain_expired",
                                      "lease_expired",
                                      "rate_limited",
                                      "expired",
                                      "probe_overloaded",
                                      "secret_unavailable",
                                      "icmp_unavailable",
                                      "domain_expiry_unknown",
                                      "probe_no_ipv6",
                                      "own_destination",
                                      "self_check_failed"
                                    ]
                                  },
                                  "statusCode": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "responseMs": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "at",
                                  "class",
                                  "error",
                                  "statusCode",
                                  "responseMs"
                                ],
                                "additionalProperties": false
                              },
                              "certificate": {
                                "nullable": true,
                                "description": "Only over HTTPS, once a check connected.",
                                "type": "object",
                                "properties": {
                                  "notBefore": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "notAfter": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "issuer": {
                                    "type": "string"
                                  },
                                  "subject": {
                                    "type": "string"
                                  },
                                  "sans": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "seenAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "daysLeft": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "attention",
                                      "critical",
                                      "expired",
                                      "invalid"
                                    ]
                                  }
                                },
                                "required": [
                                  "notBefore",
                                  "notAfter",
                                  "issuer",
                                  "subject",
                                  "sans",
                                  "seenAt",
                                  "daysLeft",
                                  "state"
                                ],
                                "additionalProperties": false
                              },
                              "maintenance": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "endsAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "endsAt"
                                ],
                                "additionalProperties": false
                              },
                              "incident": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "startedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "confirmedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "recovering": {
                                    "type": "boolean"
                                  },
                                  "flapping": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "startedAt",
                                  "confirmedAt",
                                  "recovering",
                                  "flapping"
                                ],
                                "additionalProperties": false
                              },
                              "notifications": {
                                "type": "object",
                                "properties": {
                                  "alertMembers": {
                                    "type": "boolean"
                                  },
                                  "contactIds": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    }
                                  },
                                  "quietUntil": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "quietForever": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "alertMembers",
                                  "contactIds",
                                  "quietUntil",
                                  "quietForever"
                                ],
                                "additionalProperties": false
                              },
                              "groupId": {
                                "nullable": true,
                                "description": "The monitor’s group, or null when ungrouped.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "groupName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "groupState": {
                                "nullable": true,
                                "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                "type": "string",
                                "enum": [
                                  "operational",
                                  "degraded",
                                  "down",
                                  "maintenance",
                                  "unknown"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "nextCheckAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "heartbeat": {
                                "nullable": true,
                                "description": "Only for a heartbeat.",
                                "type": "object",
                                "properties": {
                                  "lastPingAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "dueAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "lastPingAt",
                                  "dueAt"
                                ],
                                "additionalProperties": false
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "type",
                              "config",
                              "id",
                              "name",
                              "target",
                              "intervalSeconds",
                              "timeoutSeconds",
                              "paused",
                              "pausedUntil",
                              "status",
                              "statusSince",
                              "pendingReason",
                              "lastCheck",
                              "certificate",
                              "maintenance",
                              "incident",
                              "notifications",
                              "groupId",
                              "groupName",
                              "groupState",
                              "tags",
                              "nextCheckAt",
                              "heartbeat",
                              "createdAt",
                              "updatedAt"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "dns"
                                ]
                              },
                              "config": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "recordType": {
                                    "type": "string",
                                    "enum": [
                                      "A",
                                      "AAAA",
                                      "CNAME",
                                      "MX",
                                      "TXT",
                                      "NS"
                                    ]
                                  },
                                  "expected": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    }
                                  },
                                  "resolver": {
                                    "type": "string",
                                    "enum": [
                                      "system",
                                      "cloudflare",
                                      "google",
                                      "quad9",
                                      "opendns"
                                    ]
                                  }
                                },
                                "required": [
                                  "name",
                                  "recordType",
                                  "expected",
                                  "resolver"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "target": {
                                "type": "string",
                                "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                              },
                              "intervalSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How often it is checked; a heartbeat's period."
                              },
                              "timeoutSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "paused": {
                                "type": "boolean"
                              },
                              "pausedUntil": {
                                "nullable": true,
                                "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "passing",
                                  "failing",
                                  "down",
                                  "paused",
                                  "unknown"
                                ]
                              },
                              "statusSince": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "pendingReason": {
                                "nullable": true,
                                "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "enum": [
                                      "no_probe_capability"
                                    ]
                                  },
                                  "missingCapability": {
                                    "type": "string",
                                    "enum": [
                                      "http",
                                      "tcp",
                                      "dns",
                                      "http_secrets",
                                      "icmp",
                                      "udp",
                                      "domain",
                                      "ipv6"
                                    ]
                                  }
                                },
                                "required": [
                                  "code",
                                  "missingCapability"
                                ],
                                "additionalProperties": false
                              },
                              "lastCheck": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "at": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "class": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "fail"
                                    ]
                                  },
                                  "error": {
                                    "nullable": true,
                                    "type": "string",
                                    "enum": [
                                      "dns_not_found",
                                      "dns_failure",
                                      "dns_timeout",
                                      "connection_refused",
                                      "connection_timeout",
                                      "connection_reset",
                                      "network_unreachable",
                                      "tls_certificate_expired",
                                      "tls_certificate_invalid",
                                      "tls_hostname_mismatch",
                                      "tls_handshake_failed",
                                      "timeout",
                                      "unexpected_status",
                                      "too_many_redirects",
                                      "invalid_redirect",
                                      "destination_not_allowed",
                                      "response_headers_too_large",
                                      "protocol_error",
                                      "keyword_not_found",
                                      "keyword_found",
                                      "json_invalid",
                                      "json_path_missing",
                                      "json_value_mismatch",
                                      "json_too_large",
                                      "header_missing",
                                      "header_mismatch",
                                      "final_url_mismatch",
                                      "dns_no_records",
                                      "dns_unexpected_answer",
                                      "heartbeat_missed",
                                      "no_reply",
                                      "domain_expiring",
                                      "domain_expired",
                                      "lease_expired",
                                      "rate_limited",
                                      "expired",
                                      "probe_overloaded",
                                      "secret_unavailable",
                                      "icmp_unavailable",
                                      "domain_expiry_unknown",
                                      "probe_no_ipv6",
                                      "own_destination",
                                      "self_check_failed"
                                    ]
                                  },
                                  "statusCode": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "responseMs": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "at",
                                  "class",
                                  "error",
                                  "statusCode",
                                  "responseMs"
                                ],
                                "additionalProperties": false
                              },
                              "certificate": {
                                "nullable": true,
                                "description": "Only over HTTPS, once a check connected.",
                                "type": "object",
                                "properties": {
                                  "notBefore": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "notAfter": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "issuer": {
                                    "type": "string"
                                  },
                                  "subject": {
                                    "type": "string"
                                  },
                                  "sans": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "seenAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "daysLeft": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "attention",
                                      "critical",
                                      "expired",
                                      "invalid"
                                    ]
                                  }
                                },
                                "required": [
                                  "notBefore",
                                  "notAfter",
                                  "issuer",
                                  "subject",
                                  "sans",
                                  "seenAt",
                                  "daysLeft",
                                  "state"
                                ],
                                "additionalProperties": false
                              },
                              "maintenance": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "endsAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "endsAt"
                                ],
                                "additionalProperties": false
                              },
                              "incident": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "startedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "confirmedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "recovering": {
                                    "type": "boolean"
                                  },
                                  "flapping": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "startedAt",
                                  "confirmedAt",
                                  "recovering",
                                  "flapping"
                                ],
                                "additionalProperties": false
                              },
                              "notifications": {
                                "type": "object",
                                "properties": {
                                  "alertMembers": {
                                    "type": "boolean"
                                  },
                                  "contactIds": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    }
                                  },
                                  "quietUntil": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "quietForever": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "alertMembers",
                                  "contactIds",
                                  "quietUntil",
                                  "quietForever"
                                ],
                                "additionalProperties": false
                              },
                              "groupId": {
                                "nullable": true,
                                "description": "The monitor’s group, or null when ungrouped.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "groupName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "groupState": {
                                "nullable": true,
                                "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                "type": "string",
                                "enum": [
                                  "operational",
                                  "degraded",
                                  "down",
                                  "maintenance",
                                  "unknown"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "nextCheckAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "heartbeat": {
                                "nullable": true,
                                "description": "Only for a heartbeat.",
                                "type": "object",
                                "properties": {
                                  "lastPingAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "dueAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "lastPingAt",
                                  "dueAt"
                                ],
                                "additionalProperties": false
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "type",
                              "config",
                              "id",
                              "name",
                              "target",
                              "intervalSeconds",
                              "timeoutSeconds",
                              "paused",
                              "pausedUntil",
                              "status",
                              "statusSince",
                              "pendingReason",
                              "lastCheck",
                              "certificate",
                              "maintenance",
                              "incident",
                              "notifications",
                              "groupId",
                              "groupName",
                              "groupState",
                              "tags",
                              "nextCheckAt",
                              "heartbeat",
                              "createdAt",
                              "updatedAt"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "heartbeat"
                                ]
                              },
                              "config": {
                                "type": "object",
                                "properties": {
                                  "periodSeconds": {
                                    "type": "number",
                                    "enum": [
                                      60,
                                      120,
                                      300,
                                      600,
                                      900,
                                      1800,
                                      3600,
                                      7200,
                                      21600,
                                      43200,
                                      86400,
                                      604800,
                                      2592000
                                    ]
                                  },
                                  "graceSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "periodSeconds",
                                  "graceSeconds"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "target": {
                                "type": "string",
                                "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                              },
                              "intervalSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How often it is checked; a heartbeat's period."
                              },
                              "timeoutSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "paused": {
                                "type": "boolean"
                              },
                              "pausedUntil": {
                                "nullable": true,
                                "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "passing",
                                  "failing",
                                  "down",
                                  "paused",
                                  "unknown"
                                ]
                              },
                              "statusSince": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "pendingReason": {
                                "nullable": true,
                                "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "enum": [
                                      "no_probe_capability"
                                    ]
                                  },
                                  "missingCapability": {
                                    "type": "string",
                                    "enum": [
                                      "http",
                                      "tcp",
                                      "dns",
                                      "http_secrets",
                                      "icmp",
                                      "udp",
                                      "domain",
                                      "ipv6"
                                    ]
                                  }
                                },
                                "required": [
                                  "code",
                                  "missingCapability"
                                ],
                                "additionalProperties": false
                              },
                              "lastCheck": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "at": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "class": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "fail"
                                    ]
                                  },
                                  "error": {
                                    "nullable": true,
                                    "type": "string",
                                    "enum": [
                                      "dns_not_found",
                                      "dns_failure",
                                      "dns_timeout",
                                      "connection_refused",
                                      "connection_timeout",
                                      "connection_reset",
                                      "network_unreachable",
                                      "tls_certificate_expired",
                                      "tls_certificate_invalid",
                                      "tls_hostname_mismatch",
                                      "tls_handshake_failed",
                                      "timeout",
                                      "unexpected_status",
                                      "too_many_redirects",
                                      "invalid_redirect",
                                      "destination_not_allowed",
                                      "response_headers_too_large",
                                      "protocol_error",
                                      "keyword_not_found",
                                      "keyword_found",
                                      "json_invalid",
                                      "json_path_missing",
                                      "json_value_mismatch",
                                      "json_too_large",
                                      "header_missing",
                                      "header_mismatch",
                                      "final_url_mismatch",
                                      "dns_no_records",
                                      "dns_unexpected_answer",
                                      "heartbeat_missed",
                                      "no_reply",
                                      "domain_expiring",
                                      "domain_expired",
                                      "lease_expired",
                                      "rate_limited",
                                      "expired",
                                      "probe_overloaded",
                                      "secret_unavailable",
                                      "icmp_unavailable",
                                      "domain_expiry_unknown",
                                      "probe_no_ipv6",
                                      "own_destination",
                                      "self_check_failed"
                                    ]
                                  },
                                  "statusCode": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "responseMs": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "at",
                                  "class",
                                  "error",
                                  "statusCode",
                                  "responseMs"
                                ],
                                "additionalProperties": false
                              },
                              "certificate": {
                                "nullable": true,
                                "description": "Only over HTTPS, once a check connected.",
                                "type": "object",
                                "properties": {
                                  "notBefore": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "notAfter": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "issuer": {
                                    "type": "string"
                                  },
                                  "subject": {
                                    "type": "string"
                                  },
                                  "sans": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "seenAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "daysLeft": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "attention",
                                      "critical",
                                      "expired",
                                      "invalid"
                                    ]
                                  }
                                },
                                "required": [
                                  "notBefore",
                                  "notAfter",
                                  "issuer",
                                  "subject",
                                  "sans",
                                  "seenAt",
                                  "daysLeft",
                                  "state"
                                ],
                                "additionalProperties": false
                              },
                              "maintenance": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "endsAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "endsAt"
                                ],
                                "additionalProperties": false
                              },
                              "incident": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "startedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "confirmedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "recovering": {
                                    "type": "boolean"
                                  },
                                  "flapping": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "startedAt",
                                  "confirmedAt",
                                  "recovering",
                                  "flapping"
                                ],
                                "additionalProperties": false
                              },
                              "notifications": {
                                "type": "object",
                                "properties": {
                                  "alertMembers": {
                                    "type": "boolean"
                                  },
                                  "contactIds": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    }
                                  },
                                  "quietUntil": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "quietForever": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "alertMembers",
                                  "contactIds",
                                  "quietUntil",
                                  "quietForever"
                                ],
                                "additionalProperties": false
                              },
                              "groupId": {
                                "nullable": true,
                                "description": "The monitor’s group, or null when ungrouped.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "groupName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "groupState": {
                                "nullable": true,
                                "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                "type": "string",
                                "enum": [
                                  "operational",
                                  "degraded",
                                  "down",
                                  "maintenance",
                                  "unknown"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "nextCheckAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "heartbeat": {
                                "nullable": true,
                                "description": "Only for a heartbeat.",
                                "type": "object",
                                "properties": {
                                  "lastPingAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "dueAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "lastPingAt",
                                  "dueAt"
                                ],
                                "additionalProperties": false
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "type",
                              "config",
                              "id",
                              "name",
                              "target",
                              "intervalSeconds",
                              "timeoutSeconds",
                              "paused",
                              "pausedUntil",
                              "status",
                              "statusSince",
                              "pendingReason",
                              "lastCheck",
                              "certificate",
                              "maintenance",
                              "incident",
                              "notifications",
                              "groupId",
                              "groupName",
                              "groupState",
                              "tags",
                              "nextCheckAt",
                              "heartbeat",
                              "createdAt",
                              "updatedAt"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "ping"
                                ]
                              },
                              "config": {
                                "type": "object",
                                "properties": {
                                  "host": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "host"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "target": {
                                "type": "string",
                                "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                              },
                              "intervalSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How often it is checked; a heartbeat's period."
                              },
                              "timeoutSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "paused": {
                                "type": "boolean"
                              },
                              "pausedUntil": {
                                "nullable": true,
                                "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "passing",
                                  "failing",
                                  "down",
                                  "paused",
                                  "unknown"
                                ]
                              },
                              "statusSince": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "pendingReason": {
                                "nullable": true,
                                "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "enum": [
                                      "no_probe_capability"
                                    ]
                                  },
                                  "missingCapability": {
                                    "type": "string",
                                    "enum": [
                                      "http",
                                      "tcp",
                                      "dns",
                                      "http_secrets",
                                      "icmp",
                                      "udp",
                                      "domain",
                                      "ipv6"
                                    ]
                                  }
                                },
                                "required": [
                                  "code",
                                  "missingCapability"
                                ],
                                "additionalProperties": false
                              },
                              "lastCheck": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "at": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "class": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "fail"
                                    ]
                                  },
                                  "error": {
                                    "nullable": true,
                                    "type": "string",
                                    "enum": [
                                      "dns_not_found",
                                      "dns_failure",
                                      "dns_timeout",
                                      "connection_refused",
                                      "connection_timeout",
                                      "connection_reset",
                                      "network_unreachable",
                                      "tls_certificate_expired",
                                      "tls_certificate_invalid",
                                      "tls_hostname_mismatch",
                                      "tls_handshake_failed",
                                      "timeout",
                                      "unexpected_status",
                                      "too_many_redirects",
                                      "invalid_redirect",
                                      "destination_not_allowed",
                                      "response_headers_too_large",
                                      "protocol_error",
                                      "keyword_not_found",
                                      "keyword_found",
                                      "json_invalid",
                                      "json_path_missing",
                                      "json_value_mismatch",
                                      "json_too_large",
                                      "header_missing",
                                      "header_mismatch",
                                      "final_url_mismatch",
                                      "dns_no_records",
                                      "dns_unexpected_answer",
                                      "heartbeat_missed",
                                      "no_reply",
                                      "domain_expiring",
                                      "domain_expired",
                                      "lease_expired",
                                      "rate_limited",
                                      "expired",
                                      "probe_overloaded",
                                      "secret_unavailable",
                                      "icmp_unavailable",
                                      "domain_expiry_unknown",
                                      "probe_no_ipv6",
                                      "own_destination",
                                      "self_check_failed"
                                    ]
                                  },
                                  "statusCode": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "responseMs": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "at",
                                  "class",
                                  "error",
                                  "statusCode",
                                  "responseMs"
                                ],
                                "additionalProperties": false
                              },
                              "certificate": {
                                "nullable": true,
                                "description": "Only over HTTPS, once a check connected.",
                                "type": "object",
                                "properties": {
                                  "notBefore": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "notAfter": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "issuer": {
                                    "type": "string"
                                  },
                                  "subject": {
                                    "type": "string"
                                  },
                                  "sans": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "seenAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "daysLeft": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "attention",
                                      "critical",
                                      "expired",
                                      "invalid"
                                    ]
                                  }
                                },
                                "required": [
                                  "notBefore",
                                  "notAfter",
                                  "issuer",
                                  "subject",
                                  "sans",
                                  "seenAt",
                                  "daysLeft",
                                  "state"
                                ],
                                "additionalProperties": false
                              },
                              "maintenance": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "endsAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "endsAt"
                                ],
                                "additionalProperties": false
                              },
                              "incident": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "startedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "confirmedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "recovering": {
                                    "type": "boolean"
                                  },
                                  "flapping": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "startedAt",
                                  "confirmedAt",
                                  "recovering",
                                  "flapping"
                                ],
                                "additionalProperties": false
                              },
                              "notifications": {
                                "type": "object",
                                "properties": {
                                  "alertMembers": {
                                    "type": "boolean"
                                  },
                                  "contactIds": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    }
                                  },
                                  "quietUntil": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "quietForever": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "alertMembers",
                                  "contactIds",
                                  "quietUntil",
                                  "quietForever"
                                ],
                                "additionalProperties": false
                              },
                              "groupId": {
                                "nullable": true,
                                "description": "The monitor’s group, or null when ungrouped.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "groupName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "groupState": {
                                "nullable": true,
                                "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                "type": "string",
                                "enum": [
                                  "operational",
                                  "degraded",
                                  "down",
                                  "maintenance",
                                  "unknown"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "nextCheckAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "heartbeat": {
                                "nullable": true,
                                "description": "Only for a heartbeat.",
                                "type": "object",
                                "properties": {
                                  "lastPingAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "dueAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "lastPingAt",
                                  "dueAt"
                                ],
                                "additionalProperties": false
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "type",
                              "config",
                              "id",
                              "name",
                              "target",
                              "intervalSeconds",
                              "timeoutSeconds",
                              "paused",
                              "pausedUntil",
                              "status",
                              "statusSince",
                              "pendingReason",
                              "lastCheck",
                              "certificate",
                              "maintenance",
                              "incident",
                              "notifications",
                              "groupId",
                              "groupName",
                              "groupState",
                              "tags",
                              "nextCheckAt",
                              "heartbeat",
                              "createdAt",
                              "updatedAt"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "udp"
                                ]
                              },
                              "config": {
                                "type": "object",
                                "properties": {
                                  "host": {
                                    "type": "string"
                                  },
                                  "port": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "host",
                                  "port"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "target": {
                                "type": "string",
                                "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                              },
                              "intervalSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How often it is checked; a heartbeat's period."
                              },
                              "timeoutSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "paused": {
                                "type": "boolean"
                              },
                              "pausedUntil": {
                                "nullable": true,
                                "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "passing",
                                  "failing",
                                  "down",
                                  "paused",
                                  "unknown"
                                ]
                              },
                              "statusSince": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "pendingReason": {
                                "nullable": true,
                                "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "enum": [
                                      "no_probe_capability"
                                    ]
                                  },
                                  "missingCapability": {
                                    "type": "string",
                                    "enum": [
                                      "http",
                                      "tcp",
                                      "dns",
                                      "http_secrets",
                                      "icmp",
                                      "udp",
                                      "domain",
                                      "ipv6"
                                    ]
                                  }
                                },
                                "required": [
                                  "code",
                                  "missingCapability"
                                ],
                                "additionalProperties": false
                              },
                              "lastCheck": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "at": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "class": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "fail"
                                    ]
                                  },
                                  "error": {
                                    "nullable": true,
                                    "type": "string",
                                    "enum": [
                                      "dns_not_found",
                                      "dns_failure",
                                      "dns_timeout",
                                      "connection_refused",
                                      "connection_timeout",
                                      "connection_reset",
                                      "network_unreachable",
                                      "tls_certificate_expired",
                                      "tls_certificate_invalid",
                                      "tls_hostname_mismatch",
                                      "tls_handshake_failed",
                                      "timeout",
                                      "unexpected_status",
                                      "too_many_redirects",
                                      "invalid_redirect",
                                      "destination_not_allowed",
                                      "response_headers_too_large",
                                      "protocol_error",
                                      "keyword_not_found",
                                      "keyword_found",
                                      "json_invalid",
                                      "json_path_missing",
                                      "json_value_mismatch",
                                      "json_too_large",
                                      "header_missing",
                                      "header_mismatch",
                                      "final_url_mismatch",
                                      "dns_no_records",
                                      "dns_unexpected_answer",
                                      "heartbeat_missed",
                                      "no_reply",
                                      "domain_expiring",
                                      "domain_expired",
                                      "lease_expired",
                                      "rate_limited",
                                      "expired",
                                      "probe_overloaded",
                                      "secret_unavailable",
                                      "icmp_unavailable",
                                      "domain_expiry_unknown",
                                      "probe_no_ipv6",
                                      "own_destination",
                                      "self_check_failed"
                                    ]
                                  },
                                  "statusCode": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "responseMs": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "at",
                                  "class",
                                  "error",
                                  "statusCode",
                                  "responseMs"
                                ],
                                "additionalProperties": false
                              },
                              "certificate": {
                                "nullable": true,
                                "description": "Only over HTTPS, once a check connected.",
                                "type": "object",
                                "properties": {
                                  "notBefore": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "notAfter": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "issuer": {
                                    "type": "string"
                                  },
                                  "subject": {
                                    "type": "string"
                                  },
                                  "sans": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "seenAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "daysLeft": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "attention",
                                      "critical",
                                      "expired",
                                      "invalid"
                                    ]
                                  }
                                },
                                "required": [
                                  "notBefore",
                                  "notAfter",
                                  "issuer",
                                  "subject",
                                  "sans",
                                  "seenAt",
                                  "daysLeft",
                                  "state"
                                ],
                                "additionalProperties": false
                              },
                              "maintenance": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "endsAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "endsAt"
                                ],
                                "additionalProperties": false
                              },
                              "incident": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "startedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "confirmedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "recovering": {
                                    "type": "boolean"
                                  },
                                  "flapping": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "startedAt",
                                  "confirmedAt",
                                  "recovering",
                                  "flapping"
                                ],
                                "additionalProperties": false
                              },
                              "notifications": {
                                "type": "object",
                                "properties": {
                                  "alertMembers": {
                                    "type": "boolean"
                                  },
                                  "contactIds": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    }
                                  },
                                  "quietUntil": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "quietForever": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "alertMembers",
                                  "contactIds",
                                  "quietUntil",
                                  "quietForever"
                                ],
                                "additionalProperties": false
                              },
                              "groupId": {
                                "nullable": true,
                                "description": "The monitor’s group, or null when ungrouped.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "groupName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "groupState": {
                                "nullable": true,
                                "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                "type": "string",
                                "enum": [
                                  "operational",
                                  "degraded",
                                  "down",
                                  "maintenance",
                                  "unknown"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "nextCheckAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "heartbeat": {
                                "nullable": true,
                                "description": "Only for a heartbeat.",
                                "type": "object",
                                "properties": {
                                  "lastPingAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "dueAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "lastPingAt",
                                  "dueAt"
                                ],
                                "additionalProperties": false
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "type",
                              "config",
                              "id",
                              "name",
                              "target",
                              "intervalSeconds",
                              "timeoutSeconds",
                              "paused",
                              "pausedUntil",
                              "status",
                              "statusSince",
                              "pendingReason",
                              "lastCheck",
                              "certificate",
                              "maintenance",
                              "incident",
                              "notifications",
                              "groupId",
                              "groupName",
                              "groupState",
                              "tags",
                              "nextCheckAt",
                              "heartbeat",
                              "createdAt",
                              "updatedAt"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "type": {
                                "type": "string",
                                "enum": [
                                  "domain"
                                ]
                              },
                              "config": {
                                "type": "object",
                                "properties": {
                                  "domain": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "domain"
                                ],
                                "additionalProperties": false
                              },
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "target": {
                                "type": "string",
                                "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                              },
                              "intervalSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How often it is checked; a heartbeat's period."
                              },
                              "timeoutSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "paused": {
                                "type": "boolean"
                              },
                              "pausedUntil": {
                                "nullable": true,
                                "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              },
                              "status": {
                                "type": "string",
                                "enum": [
                                  "pending",
                                  "passing",
                                  "failing",
                                  "down",
                                  "paused",
                                  "unknown"
                                ]
                              },
                              "statusSince": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "pendingReason": {
                                "nullable": true,
                                "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                "type": "object",
                                "properties": {
                                  "code": {
                                    "type": "string",
                                    "enum": [
                                      "no_probe_capability"
                                    ]
                                  },
                                  "missingCapability": {
                                    "type": "string",
                                    "enum": [
                                      "http",
                                      "tcp",
                                      "dns",
                                      "http_secrets",
                                      "icmp",
                                      "udp",
                                      "domain",
                                      "ipv6"
                                    ]
                                  }
                                },
                                "required": [
                                  "code",
                                  "missingCapability"
                                ],
                                "additionalProperties": false
                              },
                              "lastCheck": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "at": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "class": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "fail"
                                    ]
                                  },
                                  "error": {
                                    "nullable": true,
                                    "type": "string",
                                    "enum": [
                                      "dns_not_found",
                                      "dns_failure",
                                      "dns_timeout",
                                      "connection_refused",
                                      "connection_timeout",
                                      "connection_reset",
                                      "network_unreachable",
                                      "tls_certificate_expired",
                                      "tls_certificate_invalid",
                                      "tls_hostname_mismatch",
                                      "tls_handshake_failed",
                                      "timeout",
                                      "unexpected_status",
                                      "too_many_redirects",
                                      "invalid_redirect",
                                      "destination_not_allowed",
                                      "response_headers_too_large",
                                      "protocol_error",
                                      "keyword_not_found",
                                      "keyword_found",
                                      "json_invalid",
                                      "json_path_missing",
                                      "json_value_mismatch",
                                      "json_too_large",
                                      "header_missing",
                                      "header_mismatch",
                                      "final_url_mismatch",
                                      "dns_no_records",
                                      "dns_unexpected_answer",
                                      "heartbeat_missed",
                                      "no_reply",
                                      "domain_expiring",
                                      "domain_expired",
                                      "lease_expired",
                                      "rate_limited",
                                      "expired",
                                      "probe_overloaded",
                                      "secret_unavailable",
                                      "icmp_unavailable",
                                      "domain_expiry_unknown",
                                      "probe_no_ipv6",
                                      "own_destination",
                                      "self_check_failed"
                                    ]
                                  },
                                  "statusCode": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "responseMs": {
                                    "nullable": true,
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  }
                                },
                                "required": [
                                  "at",
                                  "class",
                                  "error",
                                  "statusCode",
                                  "responseMs"
                                ],
                                "additionalProperties": false
                              },
                              "certificate": {
                                "nullable": true,
                                "description": "Only over HTTPS, once a check connected.",
                                "type": "object",
                                "properties": {
                                  "notBefore": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "notAfter": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "issuer": {
                                    "type": "string"
                                  },
                                  "subject": {
                                    "type": "string"
                                  },
                                  "sans": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "seenAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "daysLeft": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "state": {
                                    "type": "string",
                                    "enum": [
                                      "ok",
                                      "attention",
                                      "critical",
                                      "expired",
                                      "invalid"
                                    ]
                                  }
                                },
                                "required": [
                                  "notBefore",
                                  "notAfter",
                                  "issuer",
                                  "subject",
                                  "sans",
                                  "seenAt",
                                  "daysLeft",
                                  "state"
                                ],
                                "additionalProperties": false
                              },
                              "maintenance": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "endsAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "id",
                                  "name",
                                  "endsAt"
                                ],
                                "additionalProperties": false
                              },
                              "incident": {
                                "nullable": true,
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "startedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "confirmedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "recovering": {
                                    "type": "boolean"
                                  },
                                  "flapping": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "id",
                                  "startedAt",
                                  "confirmedAt",
                                  "recovering",
                                  "flapping"
                                ],
                                "additionalProperties": false
                              },
                              "notifications": {
                                "type": "object",
                                "properties": {
                                  "alertMembers": {
                                    "type": "boolean"
                                  },
                                  "contactIds": {
                                    "type": "array",
                                    "items": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    }
                                  },
                                  "quietUntil": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "quietForever": {
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "alertMembers",
                                  "contactIds",
                                  "quietUntil",
                                  "quietForever"
                                ],
                                "additionalProperties": false
                              },
                              "groupId": {
                                "nullable": true,
                                "description": "The monitor’s group, or null when ungrouped.",
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                              },
                              "groupName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "groupState": {
                                "nullable": true,
                                "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                "type": "string",
                                "enum": [
                                  "operational",
                                  "degraded",
                                  "down",
                                  "maintenance",
                                  "unknown"
                                ]
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "nextCheckAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "heartbeat": {
                                "nullable": true,
                                "description": "Only for a heartbeat.",
                                "type": "object",
                                "properties": {
                                  "lastPingAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "dueAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "lastPingAt",
                                  "dueAt"
                                ],
                                "additionalProperties": false
                              },
                              "createdAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "updatedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "type",
                              "config",
                              "id",
                              "name",
                              "target",
                              "intervalSeconds",
                              "timeoutSeconds",
                              "paused",
                              "pausedUntil",
                              "status",
                              "statusSince",
                              "pendingReason",
                              "lastCheck",
                              "certificate",
                              "maintenance",
                              "incident",
                              "notifications",
                              "groupId",
                              "groupName",
                              "groupState",
                              "tags",
                              "nextCheckAt",
                              "heartbeat",
                              "createdAt",
                              "updatedAt"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    },
                    "total": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991,
                      "description": "How many monitors match the same filter, across every page."
                    },
                    "limits": {
                      "type": "object",
                      "properties": {
                        "maxMonitors": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "usedMonitors": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "intervals": {
                          "type": "array",
                          "items": {
                            "type": "number",
                            "enum": [
                              30,
                              60,
                              120,
                              180,
                              300,
                              600,
                              900,
                              1800,
                              3600
                            ]
                          }
                        }
                      },
                      "required": [
                        "maxMonitors",
                        "usedMonitors",
                        "intervals"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "items",
                    "next",
                    "total",
                    "limits"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `monitor.invalid_cursor`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Create a monitor",
        "description": "A monitor of one of the kinds. A heartbeat answers with the address its job must call, shown here and never again. Send an `Idempotency-Key` to make a retry replay this answer instead of creating a second monitor.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "http"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      },
                      "channelIds": {
                        "nullable": true,
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "dependsOn": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "intervalSeconds": {
                        "default": 60,
                        "type": "number",
                        "enum": [
                          30,
                          60,
                          120,
                          180,
                          300,
                          600,
                          900,
                          1800,
                          3600
                        ]
                      },
                      "confirmationChecks": {
                        "default": 3,
                        "type": "integer",
                        "minimum": 3,
                        "maximum": 10
                      },
                      "confirmationSpanSeconds": {
                        "default": 60,
                        "type": "integer",
                        "minimum": 60,
                        "maximum": 1800
                      },
                      "timeoutSeconds": {
                        "default": 10,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 30
                      },
                      "importance": {
                        "default": "standard",
                        "type": "string",
                        "enum": [
                          "critical",
                          "standard"
                        ]
                      },
                      "certificateThresholds": {
                        "type": "object",
                        "properties": {
                          "warningDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          },
                          "criticalDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          }
                        },
                        "required": [
                          "warningDays",
                          "criticalDays"
                        ],
                        "additionalProperties": false
                      },
                      "certificateAlertDays": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "slaTargetBp": {
                        "type": "integer",
                        "minimum": 9000,
                        "maximum": 10000
                      },
                      "slaBudgetAlertPercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "slowResponseMs": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 100,
                        "maximum": 60000
                      },
                      "baselinePercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 20,
                        "maximum": 500
                      },
                      "runbookUrl": {
                        "nullable": true,
                        "type": "string",
                        "maxLength": 2048
                      },
                      "config": {
                        "type": "object",
                        "properties": {
                          "url": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 2048
                          },
                          "method": {
                            "default": "GET",
                            "type": "string",
                            "enum": [
                              "GET",
                              "HEAD",
                              "POST",
                              "PUT",
                              "PATCH",
                              "DELETE"
                            ]
                          },
                          "followRedirects": {
                            "default": true,
                            "type": "boolean"
                          },
                          "expectedStatus": {
                            "default": [
                              "2xx"
                            ],
                            "minItems": 1,
                            "maxItems": 10,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "pattern": "^[1-5](xx|\\d\\d)$"
                            }
                          },
                          "keyword": {
                            "default": null,
                            "nullable": true,
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 200
                          },
                          "keywordMustAppear": {
                            "default": true,
                            "type": "boolean"
                          },
                          "conditions": {
                            "default": [],
                            "maxItems": 5,
                            "type": "array",
                            "items": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "body_contains"
                                      ]
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "body_not_contains"
                                      ]
                                    },
                                    "text": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 200
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "text"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "json_exists"
                                      ]
                                    },
                                    "path": {
                                      "type": "string",
                                      "maxLength": 256
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "path"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "json_equals"
                                      ]
                                    },
                                    "path": {
                                      "type": "string",
                                      "maxLength": 256
                                    },
                                    "value": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 512
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "path",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "header"
                                      ]
                                    },
                                    "name": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 64,
                                      "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]+$"
                                    },
                                    "equals": {
                                      "nullable": true,
                                      "type": "string",
                                      "maxLength": 1024
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "name",
                                    "equals"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "final_url"
                                      ]
                                    },
                                    "equals": {
                                      "type": "string",
                                      "minLength": 1,
                                      "maxLength": 2048
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "equals"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "conditionMode": {
                            "default": "all",
                            "type": "string",
                            "enum": [
                              "all",
                              "any"
                            ]
                          },
                          "headers": {
                            "default": [],
                            "maxItems": 10,
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string",
                                  "minLength": 1,
                                  "maxLength": 64,
                                  "pattern": "^[A-Za-z0-9!#$%&'*+.^_`|~-]+$"
                                },
                                "value": {
                                  "type": "string",
                                  "maxLength": 1024
                                }
                              },
                              "required": [
                                "name",
                                "value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "auth": {
                            "default": {
                              "type": "none"
                            },
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "none"
                                    ]
                                  }
                                },
                                "required": [
                                  "type"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "basic"
                                    ]
                                  },
                                  "username": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 200
                                  },
                                  "password": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 2048
                                  }
                                },
                                "required": [
                                  "type",
                                  "username",
                                  "password"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "bearer"
                                    ]
                                  },
                                  "token": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 2048
                                  }
                                },
                                "required": [
                                  "type",
                                  "token"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "literal"
                                    ]
                                  },
                                  "value": {
                                    "type": "string",
                                    "minLength": 1,
                                    "maxLength": 2048
                                  }
                                },
                                "required": [
                                  "type",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "body": {
                            "default": null,
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "contentType": {
                                "type": "string",
                                "minLength": 1,
                                "maxLength": 100
                              },
                              "value": {
                                "type": "string",
                                "maxLength": 4096
                              }
                            },
                            "required": [
                              "contentType",
                              "value"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "url"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "type",
                      "name",
                      "config"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "tcp"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      },
                      "channelIds": {
                        "nullable": true,
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "dependsOn": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "intervalSeconds": {
                        "default": 60,
                        "type": "number",
                        "enum": [
                          30,
                          60,
                          120,
                          180,
                          300,
                          600,
                          900,
                          1800,
                          3600
                        ]
                      },
                      "confirmationChecks": {
                        "default": 3,
                        "type": "integer",
                        "minimum": 3,
                        "maximum": 10
                      },
                      "confirmationSpanSeconds": {
                        "default": 60,
                        "type": "integer",
                        "minimum": 60,
                        "maximum": 1800
                      },
                      "timeoutSeconds": {
                        "default": 10,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 30
                      },
                      "importance": {
                        "default": "standard",
                        "type": "string",
                        "enum": [
                          "critical",
                          "standard"
                        ]
                      },
                      "certificateThresholds": {
                        "type": "object",
                        "properties": {
                          "warningDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          },
                          "criticalDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          }
                        },
                        "required": [
                          "warningDays",
                          "criticalDays"
                        ],
                        "additionalProperties": false
                      },
                      "certificateAlertDays": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "slaTargetBp": {
                        "type": "integer",
                        "minimum": 9000,
                        "maximum": 10000
                      },
                      "slaBudgetAlertPercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "slowResponseMs": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 100,
                        "maximum": 60000
                      },
                      "baselinePercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 20,
                        "maximum": 500
                      },
                      "runbookUrl": {
                        "nullable": true,
                        "type": "string",
                        "maxLength": 2048
                      },
                      "config": {
                        "type": "object",
                        "properties": {
                          "host": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 253
                          },
                          "port": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 65535
                          }
                        },
                        "required": [
                          "host",
                          "port"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "type",
                      "name",
                      "config"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "dns"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      },
                      "channelIds": {
                        "nullable": true,
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "dependsOn": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "intervalSeconds": {
                        "default": 60,
                        "type": "number",
                        "enum": [
                          30,
                          60,
                          120,
                          180,
                          300,
                          600,
                          900,
                          1800,
                          3600
                        ]
                      },
                      "confirmationChecks": {
                        "default": 3,
                        "type": "integer",
                        "minimum": 3,
                        "maximum": 10
                      },
                      "confirmationSpanSeconds": {
                        "default": 60,
                        "type": "integer",
                        "minimum": 60,
                        "maximum": 1800
                      },
                      "timeoutSeconds": {
                        "default": 10,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 30
                      },
                      "importance": {
                        "default": "standard",
                        "type": "string",
                        "enum": [
                          "critical",
                          "standard"
                        ]
                      },
                      "certificateThresholds": {
                        "type": "object",
                        "properties": {
                          "warningDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          },
                          "criticalDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          }
                        },
                        "required": [
                          "warningDays",
                          "criticalDays"
                        ],
                        "additionalProperties": false
                      },
                      "certificateAlertDays": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "slaTargetBp": {
                        "type": "integer",
                        "minimum": 9000,
                        "maximum": 10000
                      },
                      "slaBudgetAlertPercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "slowResponseMs": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 100,
                        "maximum": 60000
                      },
                      "baselinePercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 20,
                        "maximum": 500
                      },
                      "runbookUrl": {
                        "nullable": true,
                        "type": "string",
                        "maxLength": 2048
                      },
                      "config": {
                        "type": "object",
                        "properties": {
                          "name": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 253
                          },
                          "recordType": {
                            "type": "string",
                            "enum": [
                              "A",
                              "AAAA",
                              "CNAME",
                              "MX",
                              "TXT",
                              "NS"
                            ]
                          },
                          "expected": {
                            "default": [],
                            "maxItems": 10,
                            "type": "array",
                            "items": {
                              "type": "string",
                              "minLength": 1,
                              "maxLength": 255
                            },
                            "description": "Values the answer must contain: the check passes when any one of them is among the records found, compared without regard to case or a trailing dot. Empty: any record of the type is enough."
                          },
                          "resolver": {
                            "default": "system",
                            "description": "The resolver the probe asks, one of the fixed public ones; `system` is the probe’s own. A monitor names an id, never an address.",
                            "type": "string",
                            "enum": [
                              "system",
                              "cloudflare",
                              "google",
                              "quad9",
                              "opendns"
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "recordType"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "type",
                      "name",
                      "config"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "heartbeat"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      },
                      "channelIds": {
                        "nullable": true,
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "dependsOn": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "importance": {
                        "default": "standard",
                        "type": "string",
                        "enum": [
                          "critical",
                          "standard"
                        ]
                      },
                      "confirmationChecks": {
                        "default": 3,
                        "type": "integer",
                        "minimum": 3,
                        "maximum": 10
                      },
                      "confirmationSpanSeconds": {
                        "default": 60,
                        "type": "integer",
                        "minimum": 60,
                        "maximum": 1800
                      },
                      "slowResponseMs": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 100,
                        "maximum": 60000
                      },
                      "baselinePercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 20,
                        "maximum": 500
                      },
                      "runbookUrl": {
                        "nullable": true,
                        "type": "string",
                        "maxLength": 2048
                      },
                      "config": {
                        "type": "object",
                        "properties": {
                          "periodSeconds": {
                            "type": "number",
                            "enum": [
                              60,
                              120,
                              300,
                              600,
                              900,
                              1800,
                              3600,
                              7200,
                              21600,
                              43200,
                              86400,
                              604800,
                              2592000
                            ]
                          },
                          "graceSeconds": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 2592000
                          }
                        },
                        "required": [
                          "periodSeconds",
                          "graceSeconds"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "type",
                      "name",
                      "config"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "ping"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      },
                      "channelIds": {
                        "nullable": true,
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "dependsOn": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "intervalSeconds": {
                        "default": 60,
                        "type": "number",
                        "enum": [
                          30,
                          60,
                          120,
                          180,
                          300,
                          600,
                          900,
                          1800,
                          3600
                        ]
                      },
                      "confirmationChecks": {
                        "default": 3,
                        "type": "integer",
                        "minimum": 3,
                        "maximum": 10
                      },
                      "confirmationSpanSeconds": {
                        "default": 60,
                        "type": "integer",
                        "minimum": 60,
                        "maximum": 1800
                      },
                      "timeoutSeconds": {
                        "default": 10,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 30
                      },
                      "importance": {
                        "default": "standard",
                        "type": "string",
                        "enum": [
                          "critical",
                          "standard"
                        ]
                      },
                      "certificateThresholds": {
                        "type": "object",
                        "properties": {
                          "warningDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          },
                          "criticalDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          }
                        },
                        "required": [
                          "warningDays",
                          "criticalDays"
                        ],
                        "additionalProperties": false
                      },
                      "certificateAlertDays": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "slaTargetBp": {
                        "type": "integer",
                        "minimum": 9000,
                        "maximum": 10000
                      },
                      "slaBudgetAlertPercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "slowResponseMs": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 100,
                        "maximum": 60000
                      },
                      "baselinePercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 20,
                        "maximum": 500
                      },
                      "runbookUrl": {
                        "nullable": true,
                        "type": "string",
                        "maxLength": 2048
                      },
                      "config": {
                        "type": "object",
                        "properties": {
                          "host": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 253
                          }
                        },
                        "required": [
                          "host"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "type",
                      "name",
                      "config"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "udp"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      },
                      "channelIds": {
                        "nullable": true,
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "dependsOn": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "intervalSeconds": {
                        "default": 60,
                        "type": "number",
                        "enum": [
                          30,
                          60,
                          120,
                          180,
                          300,
                          600,
                          900,
                          1800,
                          3600
                        ]
                      },
                      "confirmationChecks": {
                        "default": 3,
                        "type": "integer",
                        "minimum": 3,
                        "maximum": 10
                      },
                      "confirmationSpanSeconds": {
                        "default": 60,
                        "type": "integer",
                        "minimum": 60,
                        "maximum": 1800
                      },
                      "timeoutSeconds": {
                        "default": 10,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 30
                      },
                      "importance": {
                        "default": "standard",
                        "type": "string",
                        "enum": [
                          "critical",
                          "standard"
                        ]
                      },
                      "certificateThresholds": {
                        "type": "object",
                        "properties": {
                          "warningDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          },
                          "criticalDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          }
                        },
                        "required": [
                          "warningDays",
                          "criticalDays"
                        ],
                        "additionalProperties": false
                      },
                      "certificateAlertDays": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "slaTargetBp": {
                        "type": "integer",
                        "minimum": 9000,
                        "maximum": 10000
                      },
                      "slaBudgetAlertPercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "slowResponseMs": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 100,
                        "maximum": 60000
                      },
                      "baselinePercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 20,
                        "maximum": 500
                      },
                      "runbookUrl": {
                        "nullable": true,
                        "type": "string",
                        "maxLength": 2048
                      },
                      "config": {
                        "type": "object",
                        "properties": {
                          "host": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 253
                          },
                          "port": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 65535
                          }
                        },
                        "required": [
                          "host",
                          "port"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "type",
                      "name",
                      "config"
                    ],
                    "additionalProperties": false
                  },
                  {
                    "type": "object",
                    "properties": {
                      "type": {
                        "type": "string",
                        "enum": [
                          "domain"
                        ]
                      },
                      "name": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 120
                      },
                      "channelIds": {
                        "nullable": true,
                        "maxItems": 50,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "dependsOn": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      },
                      "intervalSeconds": {
                        "default": 60,
                        "type": "number",
                        "enum": [
                          30,
                          60,
                          120,
                          180,
                          300,
                          600,
                          900,
                          1800,
                          3600
                        ]
                      },
                      "confirmationChecks": {
                        "default": 3,
                        "type": "integer",
                        "minimum": 3,
                        "maximum": 10
                      },
                      "confirmationSpanSeconds": {
                        "default": 60,
                        "type": "integer",
                        "minimum": 60,
                        "maximum": 1800
                      },
                      "timeoutSeconds": {
                        "default": 10,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 30
                      },
                      "importance": {
                        "default": "standard",
                        "type": "string",
                        "enum": [
                          "critical",
                          "standard"
                        ]
                      },
                      "certificateThresholds": {
                        "type": "object",
                        "properties": {
                          "warningDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          },
                          "criticalDays": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365
                          }
                        },
                        "required": [
                          "warningDays",
                          "criticalDays"
                        ],
                        "additionalProperties": false
                      },
                      "certificateAlertDays": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 365
                      },
                      "slaTargetBp": {
                        "type": "integer",
                        "minimum": 9000,
                        "maximum": 10000
                      },
                      "slaBudgetAlertPercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 100
                      },
                      "slowResponseMs": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 100,
                        "maximum": 60000
                      },
                      "baselinePercent": {
                        "nullable": true,
                        "type": "integer",
                        "minimum": 20,
                        "maximum": 500
                      },
                      "runbookUrl": {
                        "nullable": true,
                        "type": "string",
                        "maxLength": 2048
                      },
                      "config": {
                        "type": "object",
                        "properties": {
                          "domain": {
                            "type": "string",
                            "minLength": 1,
                            "maxLength": 253
                          }
                        },
                        "required": [
                          "domain"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "required": [
                      "type",
                      "name",
                      "config"
                    ],
                    "additionalProperties": false
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "monitor": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "http"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "method": {
                                  "type": "string",
                                  "enum": [
                                    "GET",
                                    "HEAD",
                                    "POST",
                                    "PUT",
                                    "PATCH",
                                    "DELETE"
                                  ]
                                },
                                "followRedirects": {
                                  "type": "boolean"
                                },
                                "expectedStatus": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "keyword": {
                                  "nullable": true,
                                  "type": "string"
                                },
                                "keywordMustAppear": {
                                  "type": "boolean"
                                },
                                "conditions": {
                                  "type": "array",
                                  "items": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "body_contains"
                                            ]
                                          },
                                          "text": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "text"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "body_not_contains"
                                            ]
                                          },
                                          "text": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "text"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "json_exists"
                                            ]
                                          },
                                          "path": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "path"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "json_equals"
                                            ]
                                          },
                                          "path": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "path",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "header"
                                            ]
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "equals": {
                                            "nullable": true,
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "name",
                                          "equals"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "final_url"
                                            ]
                                          },
                                          "equals": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "equals"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "conditionMode": {
                                  "type": "string",
                                  "enum": [
                                    "all",
                                    "any"
                                  ]
                                },
                                "headers": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "auth": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "enum": [
                                            "none"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "type"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "enum": [
                                            "basic"
                                          ]
                                        },
                                        "username": {
                                          "type": "string"
                                        },
                                        "password": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "username",
                                        "password"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "enum": [
                                            "bearer"
                                          ]
                                        },
                                        "token": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "token"
                                      ],
                                      "additionalProperties": false
                                    }
                                  ]
                                },
                                "body": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "contentType": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "contentType",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "url",
                                "method",
                                "followRedirects",
                                "expectedStatus",
                                "keyword",
                                "keywordMustAppear",
                                "conditions",
                                "conditionMode",
                                "headers",
                                "auth",
                                "body"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "tcp"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "host": {
                                  "type": "string"
                                },
                                "port": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "host",
                                "port"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "dns"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "recordType": {
                                  "type": "string",
                                  "enum": [
                                    "A",
                                    "AAAA",
                                    "CNAME",
                                    "MX",
                                    "TXT",
                                    "NS"
                                  ]
                                },
                                "expected": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "resolver": {
                                  "type": "string",
                                  "enum": [
                                    "system",
                                    "cloudflare",
                                    "google",
                                    "quad9",
                                    "opendns"
                                  ]
                                }
                              },
                              "required": [
                                "name",
                                "recordType",
                                "expected",
                                "resolver"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "heartbeat"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "periodSeconds": {
                                  "type": "number",
                                  "enum": [
                                    60,
                                    120,
                                    300,
                                    600,
                                    900,
                                    1800,
                                    3600,
                                    7200,
                                    21600,
                                    43200,
                                    86400,
                                    604800,
                                    2592000
                                  ]
                                },
                                "graceSeconds": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "periodSeconds",
                                "graceSeconds"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "ping"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "host": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "host"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "udp"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "host": {
                                  "type": "string"
                                },
                                "port": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "host",
                                "port"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "domain"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "domain": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "domain"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "heartbeatUrl": {
                      "description": "A heartbeat's address, given once: here, and when its token is regenerated.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "monitor"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `monitor.url_not_allowed`, `monitor.host_not_allowed`, `monitor.domain_invalid`, `monitor.keyword_needs_body`, `monitor.conditions_need_body`, `monitor.json_condition_needs_body`, `monitor.interval_not_allowed`, `monitor.secrets_unavailable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `monitor.limit_reached`, `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/imports/csv": {
      "post": {
        "summary": "Import monitors from a CSV export",
        "description": "A Pingdom, StatusCake or plain CSV export. Every row of the file is answered in order: created, already imported, a duplicate of a row above, over the plan’s cap, or refused with its file row and a code. A refusal never fails the rest, and importing the same file twice creates nothing. Send an `Idempotency-Key` to make a retry replay this answer.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "format": {
                    "type": "string",
                    "enum": [
                      "pingdom",
                      "statuscake",
                      "generic"
                    ]
                  },
                  "csv": {
                    "type": "string",
                    "minLength": 1
                  },
                  "filename": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 255
                  }
                },
                "required": [
                  "format",
                  "csv"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "batch": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string"
                        },
                        "format": {
                          "type": "string",
                          "enum": [
                            "pingdom",
                            "statuscake",
                            "generic"
                          ]
                        },
                        "filename": {
                          "nullable": true,
                          "type": "string"
                        },
                        "rowsRead": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "rowsCreated": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "rowsSkipped": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "rowsRefused": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "rowsLimitReached": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "createdAt": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "id",
                        "format",
                        "filename",
                        "rowsRead",
                        "rowsCreated",
                        "rowsSkipped",
                        "rowsRefused",
                        "rowsLimitReached",
                        "createdAt"
                      ],
                      "additionalProperties": false
                    },
                    "rows": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "row": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "outcome": {
                            "type": "string",
                            "enum": [
                              "created",
                              "already_imported",
                              "duplicate_in_file",
                              "limit_reached",
                              "refused"
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "auth.cannot_revoke_current",
                              "auth.email_not_verified",
                              "auth.invalid_code",
                              "auth.invalid_credentials",
                              "auth.invalid_token",
                              "auth.password_too_long",
                              "auth.password_too_short",
                              "auth.totp_required",
                              "auth.two_factor_already_enabled",
                              "auth.two_factor_not_enabled",
                              "auth.unauthenticated",
                              "internal.error",
                              "invitation.already_member",
                              "invitation.limit_reached",
                              "invitation.not_found",
                              "account.password_incorrect",
                              "account.sole_owner",
                              "account.disabled",
                              "account.email_taken",
                              "account.email_unchanged",
                              "admin.not_an_operator",
                              "admin.permission_denied",
                              "admin.user_not_found",
                              "admin.workspace_not_found",
                              "admin.monitor_not_found",
                              "admin.incident_not_found",
                              "admin.plan_unknown",
                              "admin.plan_below_usage",
                              "admin.override_invalid",
                              "admin.subscription_not_found",
                              "alert_digest.invalid_window",
                              "alert_grouping.invalid",
                              "api.bulk_empty",
                              "audit.read_forbidden",
                              "billing.provider_unavailable",
                              "billing.plan_not_sold",
                              "billing.no_subscription",
                              "billing.subscription_state",
                              "billing.subscription_conflict",
                              "billing.webhook_rejected",
                              "entitlement.feature_not_included",
                              "escalation_steps.invalid",
                              "escalation.rotation_not_found",
                              "escalation_steps.contact_not_found",
                              "escalation_steps.channel_not_found",
                              "member.limit_reached",
                              "member.last_owner",
                              "member.not_found",
                              "member.role_not_assignable",
                              "monitor.account_limit_reached",
                              "monitor.confirmation_out_of_range",
                              "monitor.interval_not_allowed",
                              "monitor.limit_reached",
                              "monitor.timeout_not_allowed",
                              "monitor.update_forbidden",
                              "import.invalid_export",
                              "import.row_refused",
                              "import.secret_unavailable",
                              "import.source_key_refused",
                              "import.source_unavailable",
                              "import.unsupported_type",
                              "import.missing_target",
                              "import.invalid_target",
                              "import.invalid_name",
                              "import.unsupported_interval",
                              "import.too_many_rows",
                              "incident.not_found",
                              "incident.invalid_cursor",
                              "incident.impact_invalid",
                              "incident.assignee_not_member",
                              "incident.assignment_forbidden",
                              "incident.already_resolved",
                              "incident.not_resolved",
                              "incident.already_open",
                              "incident.not_manual",
                              "incident.cause_invalid",
                              "incident.declaration_forbidden",
                              "incident.export_too_large",
                              "action_item.not_found",
                              "action_item.too_many",
                              "action_item.incident_open",
                              "action_item.owner_not_member",
                              "action_item.due_in_past",
                              "postmortem.not_found",
                              "incident_comment.not_author",
                              "incident_comment.not_found",
                              "monitor.invalid_cursor",
                              "monitor.not_found",
                              "monitor.not_deleted",
                              "monitor.restore_window_expired",
                              "monitor.url_not_allowed",
                              "monitor.channel_not_found",
                              "monitor.keyword_needs_body",
                              "monitor.conditions_need_body",
                              "monitor.json_condition_needs_body",
                              "monitor.config_invalid",
                              "monitor.authorization_header_conflict",
                              "monitor.auth_value_has_scheme",
                              "monitor.domain_invalid",
                              "monitor.secrets_unavailable",
                              "monitor.host_not_allowed",
                              "monitor.not_a_heartbeat",
                              "monitor.slow_response_not_supported",
                              "monitor.baseline_not_supported",
                              "monitor.pause_until_in_past",
                              "monitor.pause_until_too_far",
                              "monitor.dependency_not_found",
                              "monitor.dependency_self",
                              "monitor.dependency_limit",
                              "monitor.dependency_duplicate",
                              "monitor.dependency_cycle",
                              "monitor.runbook_url_invalid",
                              "monitor.paused",
                              "monitor.check_too_soon",
                              "monitor.check_budget_spent",
                              "monitor.check_not_supported",
                              "monitor.no_capable_probe",
                              "manual_check.not_found",
                              "on_call.invalid_participant",
                              "on_call.invalid_window",
                              "on_call.invalid_name",
                              "on_call.name_taken",
                              "on_call.rotation_not_found",
                              "on_call.rotation_last",
                              "rotation.in_use",
                              "group.not_found",
                              "group.name_taken",
                              "group.limit_reached",
                              "group.order_invalid",
                              "idempotency.conflict",
                              "idempotency.in_progress",
                              "tag.not_found",
                              "tag.name_taken",
                              "tag.limit_reached",
                              "tag.limit_per_monitor",
                              "sla_policy.not_found",
                              "sla_policy.name_taken",
                              "sla_policy.monitor_already_covered",
                              "sla_report.not_found",
                              "sla_report.month_not_closed",
                              "sla_report.too_large",
                              "api_key.not_found",
                              "api_key.limit_reached",
                              "api_key.write_key_not_limited",
                              "api_key.monitor_not_allowed",
                              "api_key.not_rotatable",
                              "api_key.grace_out_of_range",
                              "contact.not_found",
                              "contact.already_exists",
                              "contact.limit_reached",
                              "contact.availability_invalid",
                              "contact.unavailable",
                              "maintenance.not_found",
                              "maintenance.not_editable",
                              "maintenance.limit_reached",
                              "maintenance.monitor_not_found",
                              "maintenance.group_not_found",
                              "maintenance.invalid_window",
                              "maintenance.skip_not_recurring",
                              "maintenance.skip_not_an_occurrence",
                              "maintenance.skip_started",
                              "maintenance.skip_already_skipped",
                              "maintenance.skip_not_found",
                              "maintenance_window.group_not_found",
                              "maintenance_window.limit_exceeded",
                              "maintenance_window.monitor_not_found",
                              "maintenance_window.not_active",
                              "maintenance_window.not_found",
                              "contact.not_verified",
                              "contact.unknown_contact",
                              "contact.verification_invalid",
                              "channel.not_found",
                              "channel.name_taken",
                              "channel.limit_reached",
                              "channel.config_invalid",
                              "channel.events_empty",
                              "channel.secret_unavailable",
                              "channel.secret_not_rotatable",
                              "delivery.not_found",
                              "delivery.not_retryable",
                              "delivery.paced",
                              "email.lane_budget_exhausted",
                              "email.suppression_not_found",
                              "email.webhook_rejected",
                              "alert_provider.not_configured",
                              "permission.denied",
                              "probe.enrolment_expired",
                              "probe.enrolment_invalid_key",
                              "probe.enrolment_invalid_request",
                              "probe.enrolment_revoked",
                              "probe.enrolment_unknown",
                              "probe.enrolment_used",
                              "request.content_type_not_allowed",
                              "request.cross_site",
                              "request.host_not_allowed",
                              "request.origin_missing",
                              "request.origin_not_allowed",
                              "request.rate_limited",
                              "resource.not_found",
                              "status_page.limit_reached",
                              "status_page.monitor_not_found",
                              "status_page.not_found",
                              "status_page.password_incorrect",
                              "status_page.slug_taken",
                              "status_page.unavailable",
                              "status_page.service_not_found",
                              "status_page.services_required",
                              "status_page.domain_invalid",
                              "status_page.domain_taken",
                              "status_page_announcement.invalid_window",
                              "status_page_announcement.limit_reached",
                              "status_page_announcement.not_found",
                              "status_page_subscriber.not_found",
                              "validation.failed",
                              "weekly_report.invalid_reader",
                              "workspace.limit_reached",
                              "workspace.not_found",
                              "workspace.nothing_to_change",
                              "workspace.import_limit_exceeded"
                            ]
                          },
                          "monitorId": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "row",
                          "outcome",
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "batch",
                    "rows"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `import.invalid_export`, `import.too_many_rows`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/imports/uptimerobot/api": {
      "post": {
        "summary": "Import monitors from UptimeRobot with the workspace key",
        "description": "Connects the workspace to UptimeRobot’s v3 API with its own key and creates every monitor the product can carry, each once: authentication exactly as the vendor sends it, the accepted status codes, request headers and body, and the certificate alert days. The key is stored sealed, is never returned, and the API asks the configured vendor host and no other. A monitor the product cannot express is answered with its own reason; importing again creates nothing.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "apiKey": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 256
                  }
                },
                "required": [
                  "apiKey"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "imported": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "monitor": {
                            "oneOf": [
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "http"
                                    ]
                                  },
                                  "config": {
                                    "type": "object",
                                    "properties": {
                                      "url": {
                                        "type": "string"
                                      },
                                      "method": {
                                        "type": "string",
                                        "enum": [
                                          "GET",
                                          "HEAD",
                                          "POST",
                                          "PUT",
                                          "PATCH",
                                          "DELETE"
                                        ]
                                      },
                                      "followRedirects": {
                                        "type": "boolean"
                                      },
                                      "expectedStatus": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "keyword": {
                                        "nullable": true,
                                        "type": "string"
                                      },
                                      "keywordMustAppear": {
                                        "type": "boolean"
                                      },
                                      "conditions": {
                                        "type": "array",
                                        "items": {
                                          "oneOf": [
                                            {
                                              "type": "object",
                                              "properties": {
                                                "type": {
                                                  "type": "string",
                                                  "enum": [
                                                    "body_contains"
                                                  ]
                                                },
                                                "text": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "type",
                                                "text"
                                              ],
                                              "additionalProperties": false
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "type": {
                                                  "type": "string",
                                                  "enum": [
                                                    "body_not_contains"
                                                  ]
                                                },
                                                "text": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "type",
                                                "text"
                                              ],
                                              "additionalProperties": false
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "type": {
                                                  "type": "string",
                                                  "enum": [
                                                    "json_exists"
                                                  ]
                                                },
                                                "path": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "type",
                                                "path"
                                              ],
                                              "additionalProperties": false
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "type": {
                                                  "type": "string",
                                                  "enum": [
                                                    "json_equals"
                                                  ]
                                                },
                                                "path": {
                                                  "type": "string"
                                                },
                                                "value": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "type",
                                                "path",
                                                "value"
                                              ],
                                              "additionalProperties": false
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "type": {
                                                  "type": "string",
                                                  "enum": [
                                                    "header"
                                                  ]
                                                },
                                                "name": {
                                                  "type": "string"
                                                },
                                                "equals": {
                                                  "nullable": true,
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "type",
                                                "name",
                                                "equals"
                                              ],
                                              "additionalProperties": false
                                            },
                                            {
                                              "type": "object",
                                              "properties": {
                                                "type": {
                                                  "type": "string",
                                                  "enum": [
                                                    "final_url"
                                                  ]
                                                },
                                                "equals": {
                                                  "type": "string"
                                                }
                                              },
                                              "required": [
                                                "type",
                                                "equals"
                                              ],
                                              "additionalProperties": false
                                            }
                                          ]
                                        }
                                      },
                                      "conditionMode": {
                                        "type": "string",
                                        "enum": [
                                          "all",
                                          "any"
                                        ]
                                      },
                                      "headers": {
                                        "type": "array",
                                        "items": {
                                          "type": "object",
                                          "properties": {
                                            "name": {
                                              "type": "string"
                                            },
                                            "value": {
                                              "type": "string"
                                            }
                                          },
                                          "required": [
                                            "name",
                                            "value"
                                          ],
                                          "additionalProperties": false
                                        }
                                      },
                                      "auth": {
                                        "oneOf": [
                                          {
                                            "type": "object",
                                            "properties": {
                                              "type": {
                                                "type": "string",
                                                "enum": [
                                                  "none"
                                                ]
                                              }
                                            },
                                            "required": [
                                              "type"
                                            ],
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "type": {
                                                "type": "string",
                                                "enum": [
                                                  "basic"
                                                ]
                                              },
                                              "username": {
                                                "type": "string"
                                              },
                                              "password": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "type",
                                              "username",
                                              "password"
                                            ],
                                            "additionalProperties": false
                                          },
                                          {
                                            "type": "object",
                                            "properties": {
                                              "type": {
                                                "type": "string",
                                                "enum": [
                                                  "bearer"
                                                ]
                                              },
                                              "token": {
                                                "type": "string"
                                              }
                                            },
                                            "required": [
                                              "type",
                                              "token"
                                            ],
                                            "additionalProperties": false
                                          }
                                        ]
                                      },
                                      "body": {
                                        "nullable": true,
                                        "type": "object",
                                        "properties": {
                                          "contentType": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "contentType",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      }
                                    },
                                    "required": [
                                      "url",
                                      "method",
                                      "followRedirects",
                                      "expectedStatus",
                                      "keyword",
                                      "keywordMustAppear",
                                      "conditions",
                                      "conditionMode",
                                      "headers",
                                      "auth",
                                      "body"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string",
                                    "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                                  },
                                  "intervalSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991,
                                    "description": "How often it is checked; a heartbeat's period."
                                  },
                                  "timeoutSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "paused": {
                                    "type": "boolean"
                                  },
                                  "pausedUntil": {
                                    "nullable": true,
                                    "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "passing",
                                      "failing",
                                      "down",
                                      "paused",
                                      "unknown"
                                    ]
                                  },
                                  "statusSince": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "pendingReason": {
                                    "nullable": true,
                                    "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "no_probe_capability"
                                        ]
                                      },
                                      "missingCapability": {
                                        "type": "string",
                                        "enum": [
                                          "http",
                                          "tcp",
                                          "dns",
                                          "http_secrets",
                                          "icmp",
                                          "udp",
                                          "domain",
                                          "ipv6"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "missingCapability"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "lastCheck": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "class": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "fail"
                                        ]
                                      },
                                      "error": {
                                        "nullable": true,
                                        "type": "string",
                                        "enum": [
                                          "dns_not_found",
                                          "dns_failure",
                                          "dns_timeout",
                                          "connection_refused",
                                          "connection_timeout",
                                          "connection_reset",
                                          "network_unreachable",
                                          "tls_certificate_expired",
                                          "tls_certificate_invalid",
                                          "tls_hostname_mismatch",
                                          "tls_handshake_failed",
                                          "timeout",
                                          "unexpected_status",
                                          "too_many_redirects",
                                          "invalid_redirect",
                                          "destination_not_allowed",
                                          "response_headers_too_large",
                                          "protocol_error",
                                          "keyword_not_found",
                                          "keyword_found",
                                          "json_invalid",
                                          "json_path_missing",
                                          "json_value_mismatch",
                                          "json_too_large",
                                          "header_missing",
                                          "header_mismatch",
                                          "final_url_mismatch",
                                          "dns_no_records",
                                          "dns_unexpected_answer",
                                          "heartbeat_missed",
                                          "no_reply",
                                          "domain_expiring",
                                          "domain_expired",
                                          "lease_expired",
                                          "rate_limited",
                                          "expired",
                                          "probe_overloaded",
                                          "secret_unavailable",
                                          "icmp_unavailable",
                                          "domain_expiry_unknown",
                                          "probe_no_ipv6",
                                          "own_destination",
                                          "self_check_failed"
                                        ]
                                      },
                                      "statusCode": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "responseMs": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "at",
                                      "class",
                                      "error",
                                      "statusCode",
                                      "responseMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "certificate": {
                                    "nullable": true,
                                    "description": "Only over HTTPS, once a check connected.",
                                    "type": "object",
                                    "properties": {
                                      "notBefore": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "notAfter": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "issuer": {
                                        "type": "string"
                                      },
                                      "subject": {
                                        "type": "string"
                                      },
                                      "sans": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "seenAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "daysLeft": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "state": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "attention",
                                          "critical",
                                          "expired",
                                          "invalid"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "notBefore",
                                      "notAfter",
                                      "issuer",
                                      "subject",
                                      "sans",
                                      "seenAt",
                                      "daysLeft",
                                      "state"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "maintenance": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "endsAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "incident": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "startedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "confirmedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "recovering": {
                                        "type": "boolean"
                                      },
                                      "flapping": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "startedAt",
                                      "confirmedAt",
                                      "recovering",
                                      "flapping"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "notifications": {
                                    "type": "object",
                                    "properties": {
                                      "alertMembers": {
                                        "type": "boolean"
                                      },
                                      "contactIds": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        }
                                      },
                                      "quietUntil": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "quietForever": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "alertMembers",
                                      "contactIds",
                                      "quietUntil",
                                      "quietForever"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "groupId": {
                                    "nullable": true,
                                    "description": "The monitor’s group, or null when ungrouped.",
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "groupName": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "groupState": {
                                    "nullable": true,
                                    "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                    "type": "string",
                                    "enum": [
                                      "operational",
                                      "degraded",
                                      "down",
                                      "maintenance",
                                      "unknown"
                                    ]
                                  },
                                  "tags": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "nextCheckAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "heartbeat": {
                                    "nullable": true,
                                    "description": "Only for a heartbeat.",
                                    "type": "object",
                                    "properties": {
                                      "lastPingAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "dueAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "lastPingAt",
                                      "dueAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "type",
                                  "config",
                                  "id",
                                  "name",
                                  "target",
                                  "intervalSeconds",
                                  "timeoutSeconds",
                                  "paused",
                                  "pausedUntil",
                                  "status",
                                  "statusSince",
                                  "pendingReason",
                                  "lastCheck",
                                  "certificate",
                                  "maintenance",
                                  "incident",
                                  "notifications",
                                  "groupId",
                                  "groupName",
                                  "groupState",
                                  "tags",
                                  "nextCheckAt",
                                  "heartbeat",
                                  "createdAt",
                                  "updatedAt"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "tcp"
                                    ]
                                  },
                                  "config": {
                                    "type": "object",
                                    "properties": {
                                      "host": {
                                        "type": "string"
                                      },
                                      "port": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "host",
                                      "port"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string",
                                    "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                                  },
                                  "intervalSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991,
                                    "description": "How often it is checked; a heartbeat's period."
                                  },
                                  "timeoutSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "paused": {
                                    "type": "boolean"
                                  },
                                  "pausedUntil": {
                                    "nullable": true,
                                    "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "passing",
                                      "failing",
                                      "down",
                                      "paused",
                                      "unknown"
                                    ]
                                  },
                                  "statusSince": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "pendingReason": {
                                    "nullable": true,
                                    "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "no_probe_capability"
                                        ]
                                      },
                                      "missingCapability": {
                                        "type": "string",
                                        "enum": [
                                          "http",
                                          "tcp",
                                          "dns",
                                          "http_secrets",
                                          "icmp",
                                          "udp",
                                          "domain",
                                          "ipv6"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "missingCapability"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "lastCheck": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "class": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "fail"
                                        ]
                                      },
                                      "error": {
                                        "nullable": true,
                                        "type": "string",
                                        "enum": [
                                          "dns_not_found",
                                          "dns_failure",
                                          "dns_timeout",
                                          "connection_refused",
                                          "connection_timeout",
                                          "connection_reset",
                                          "network_unreachable",
                                          "tls_certificate_expired",
                                          "tls_certificate_invalid",
                                          "tls_hostname_mismatch",
                                          "tls_handshake_failed",
                                          "timeout",
                                          "unexpected_status",
                                          "too_many_redirects",
                                          "invalid_redirect",
                                          "destination_not_allowed",
                                          "response_headers_too_large",
                                          "protocol_error",
                                          "keyword_not_found",
                                          "keyword_found",
                                          "json_invalid",
                                          "json_path_missing",
                                          "json_value_mismatch",
                                          "json_too_large",
                                          "header_missing",
                                          "header_mismatch",
                                          "final_url_mismatch",
                                          "dns_no_records",
                                          "dns_unexpected_answer",
                                          "heartbeat_missed",
                                          "no_reply",
                                          "domain_expiring",
                                          "domain_expired",
                                          "lease_expired",
                                          "rate_limited",
                                          "expired",
                                          "probe_overloaded",
                                          "secret_unavailable",
                                          "icmp_unavailable",
                                          "domain_expiry_unknown",
                                          "probe_no_ipv6",
                                          "own_destination",
                                          "self_check_failed"
                                        ]
                                      },
                                      "statusCode": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "responseMs": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "at",
                                      "class",
                                      "error",
                                      "statusCode",
                                      "responseMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "certificate": {
                                    "nullable": true,
                                    "description": "Only over HTTPS, once a check connected.",
                                    "type": "object",
                                    "properties": {
                                      "notBefore": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "notAfter": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "issuer": {
                                        "type": "string"
                                      },
                                      "subject": {
                                        "type": "string"
                                      },
                                      "sans": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "seenAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "daysLeft": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "state": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "attention",
                                          "critical",
                                          "expired",
                                          "invalid"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "notBefore",
                                      "notAfter",
                                      "issuer",
                                      "subject",
                                      "sans",
                                      "seenAt",
                                      "daysLeft",
                                      "state"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "maintenance": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "endsAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "incident": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "startedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "confirmedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "recovering": {
                                        "type": "boolean"
                                      },
                                      "flapping": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "startedAt",
                                      "confirmedAt",
                                      "recovering",
                                      "flapping"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "notifications": {
                                    "type": "object",
                                    "properties": {
                                      "alertMembers": {
                                        "type": "boolean"
                                      },
                                      "contactIds": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        }
                                      },
                                      "quietUntil": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "quietForever": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "alertMembers",
                                      "contactIds",
                                      "quietUntil",
                                      "quietForever"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "groupId": {
                                    "nullable": true,
                                    "description": "The monitor’s group, or null when ungrouped.",
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "groupName": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "groupState": {
                                    "nullable": true,
                                    "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                    "type": "string",
                                    "enum": [
                                      "operational",
                                      "degraded",
                                      "down",
                                      "maintenance",
                                      "unknown"
                                    ]
                                  },
                                  "tags": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "nextCheckAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "heartbeat": {
                                    "nullable": true,
                                    "description": "Only for a heartbeat.",
                                    "type": "object",
                                    "properties": {
                                      "lastPingAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "dueAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "lastPingAt",
                                      "dueAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "type",
                                  "config",
                                  "id",
                                  "name",
                                  "target",
                                  "intervalSeconds",
                                  "timeoutSeconds",
                                  "paused",
                                  "pausedUntil",
                                  "status",
                                  "statusSince",
                                  "pendingReason",
                                  "lastCheck",
                                  "certificate",
                                  "maintenance",
                                  "incident",
                                  "notifications",
                                  "groupId",
                                  "groupName",
                                  "groupState",
                                  "tags",
                                  "nextCheckAt",
                                  "heartbeat",
                                  "createdAt",
                                  "updatedAt"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "dns"
                                    ]
                                  },
                                  "config": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "recordType": {
                                        "type": "string",
                                        "enum": [
                                          "A",
                                          "AAAA",
                                          "CNAME",
                                          "MX",
                                          "TXT",
                                          "NS"
                                        ]
                                      },
                                      "expected": {
                                        "type": "array",
                                        "items": {
                                          "type": "string"
                                        }
                                      },
                                      "resolver": {
                                        "type": "string",
                                        "enum": [
                                          "system",
                                          "cloudflare",
                                          "google",
                                          "quad9",
                                          "opendns"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "recordType",
                                      "expected",
                                      "resolver"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string",
                                    "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                                  },
                                  "intervalSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991,
                                    "description": "How often it is checked; a heartbeat's period."
                                  },
                                  "timeoutSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "paused": {
                                    "type": "boolean"
                                  },
                                  "pausedUntil": {
                                    "nullable": true,
                                    "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "passing",
                                      "failing",
                                      "down",
                                      "paused",
                                      "unknown"
                                    ]
                                  },
                                  "statusSince": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "pendingReason": {
                                    "nullable": true,
                                    "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "no_probe_capability"
                                        ]
                                      },
                                      "missingCapability": {
                                        "type": "string",
                                        "enum": [
                                          "http",
                                          "tcp",
                                          "dns",
                                          "http_secrets",
                                          "icmp",
                                          "udp",
                                          "domain",
                                          "ipv6"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "missingCapability"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "lastCheck": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "class": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "fail"
                                        ]
                                      },
                                      "error": {
                                        "nullable": true,
                                        "type": "string",
                                        "enum": [
                                          "dns_not_found",
                                          "dns_failure",
                                          "dns_timeout",
                                          "connection_refused",
                                          "connection_timeout",
                                          "connection_reset",
                                          "network_unreachable",
                                          "tls_certificate_expired",
                                          "tls_certificate_invalid",
                                          "tls_hostname_mismatch",
                                          "tls_handshake_failed",
                                          "timeout",
                                          "unexpected_status",
                                          "too_many_redirects",
                                          "invalid_redirect",
                                          "destination_not_allowed",
                                          "response_headers_too_large",
                                          "protocol_error",
                                          "keyword_not_found",
                                          "keyword_found",
                                          "json_invalid",
                                          "json_path_missing",
                                          "json_value_mismatch",
                                          "json_too_large",
                                          "header_missing",
                                          "header_mismatch",
                                          "final_url_mismatch",
                                          "dns_no_records",
                                          "dns_unexpected_answer",
                                          "heartbeat_missed",
                                          "no_reply",
                                          "domain_expiring",
                                          "domain_expired",
                                          "lease_expired",
                                          "rate_limited",
                                          "expired",
                                          "probe_overloaded",
                                          "secret_unavailable",
                                          "icmp_unavailable",
                                          "domain_expiry_unknown",
                                          "probe_no_ipv6",
                                          "own_destination",
                                          "self_check_failed"
                                        ]
                                      },
                                      "statusCode": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "responseMs": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "at",
                                      "class",
                                      "error",
                                      "statusCode",
                                      "responseMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "certificate": {
                                    "nullable": true,
                                    "description": "Only over HTTPS, once a check connected.",
                                    "type": "object",
                                    "properties": {
                                      "notBefore": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "notAfter": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "issuer": {
                                        "type": "string"
                                      },
                                      "subject": {
                                        "type": "string"
                                      },
                                      "sans": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "seenAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "daysLeft": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "state": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "attention",
                                          "critical",
                                          "expired",
                                          "invalid"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "notBefore",
                                      "notAfter",
                                      "issuer",
                                      "subject",
                                      "sans",
                                      "seenAt",
                                      "daysLeft",
                                      "state"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "maintenance": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "endsAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "incident": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "startedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "confirmedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "recovering": {
                                        "type": "boolean"
                                      },
                                      "flapping": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "startedAt",
                                      "confirmedAt",
                                      "recovering",
                                      "flapping"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "notifications": {
                                    "type": "object",
                                    "properties": {
                                      "alertMembers": {
                                        "type": "boolean"
                                      },
                                      "contactIds": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        }
                                      },
                                      "quietUntil": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "quietForever": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "alertMembers",
                                      "contactIds",
                                      "quietUntil",
                                      "quietForever"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "groupId": {
                                    "nullable": true,
                                    "description": "The monitor’s group, or null when ungrouped.",
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "groupName": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "groupState": {
                                    "nullable": true,
                                    "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                    "type": "string",
                                    "enum": [
                                      "operational",
                                      "degraded",
                                      "down",
                                      "maintenance",
                                      "unknown"
                                    ]
                                  },
                                  "tags": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "nextCheckAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "heartbeat": {
                                    "nullable": true,
                                    "description": "Only for a heartbeat.",
                                    "type": "object",
                                    "properties": {
                                      "lastPingAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "dueAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "lastPingAt",
                                      "dueAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "type",
                                  "config",
                                  "id",
                                  "name",
                                  "target",
                                  "intervalSeconds",
                                  "timeoutSeconds",
                                  "paused",
                                  "pausedUntil",
                                  "status",
                                  "statusSince",
                                  "pendingReason",
                                  "lastCheck",
                                  "certificate",
                                  "maintenance",
                                  "incident",
                                  "notifications",
                                  "groupId",
                                  "groupName",
                                  "groupState",
                                  "tags",
                                  "nextCheckAt",
                                  "heartbeat",
                                  "createdAt",
                                  "updatedAt"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "heartbeat"
                                    ]
                                  },
                                  "config": {
                                    "type": "object",
                                    "properties": {
                                      "periodSeconds": {
                                        "type": "number",
                                        "enum": [
                                          60,
                                          120,
                                          300,
                                          600,
                                          900,
                                          1800,
                                          3600,
                                          7200,
                                          21600,
                                          43200,
                                          86400,
                                          604800,
                                          2592000
                                        ]
                                      },
                                      "graceSeconds": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "periodSeconds",
                                      "graceSeconds"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string",
                                    "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                                  },
                                  "intervalSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991,
                                    "description": "How often it is checked; a heartbeat's period."
                                  },
                                  "timeoutSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "paused": {
                                    "type": "boolean"
                                  },
                                  "pausedUntil": {
                                    "nullable": true,
                                    "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "passing",
                                      "failing",
                                      "down",
                                      "paused",
                                      "unknown"
                                    ]
                                  },
                                  "statusSince": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "pendingReason": {
                                    "nullable": true,
                                    "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "no_probe_capability"
                                        ]
                                      },
                                      "missingCapability": {
                                        "type": "string",
                                        "enum": [
                                          "http",
                                          "tcp",
                                          "dns",
                                          "http_secrets",
                                          "icmp",
                                          "udp",
                                          "domain",
                                          "ipv6"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "missingCapability"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "lastCheck": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "class": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "fail"
                                        ]
                                      },
                                      "error": {
                                        "nullable": true,
                                        "type": "string",
                                        "enum": [
                                          "dns_not_found",
                                          "dns_failure",
                                          "dns_timeout",
                                          "connection_refused",
                                          "connection_timeout",
                                          "connection_reset",
                                          "network_unreachable",
                                          "tls_certificate_expired",
                                          "tls_certificate_invalid",
                                          "tls_hostname_mismatch",
                                          "tls_handshake_failed",
                                          "timeout",
                                          "unexpected_status",
                                          "too_many_redirects",
                                          "invalid_redirect",
                                          "destination_not_allowed",
                                          "response_headers_too_large",
                                          "protocol_error",
                                          "keyword_not_found",
                                          "keyword_found",
                                          "json_invalid",
                                          "json_path_missing",
                                          "json_value_mismatch",
                                          "json_too_large",
                                          "header_missing",
                                          "header_mismatch",
                                          "final_url_mismatch",
                                          "dns_no_records",
                                          "dns_unexpected_answer",
                                          "heartbeat_missed",
                                          "no_reply",
                                          "domain_expiring",
                                          "domain_expired",
                                          "lease_expired",
                                          "rate_limited",
                                          "expired",
                                          "probe_overloaded",
                                          "secret_unavailable",
                                          "icmp_unavailable",
                                          "domain_expiry_unknown",
                                          "probe_no_ipv6",
                                          "own_destination",
                                          "self_check_failed"
                                        ]
                                      },
                                      "statusCode": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "responseMs": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "at",
                                      "class",
                                      "error",
                                      "statusCode",
                                      "responseMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "certificate": {
                                    "nullable": true,
                                    "description": "Only over HTTPS, once a check connected.",
                                    "type": "object",
                                    "properties": {
                                      "notBefore": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "notAfter": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "issuer": {
                                        "type": "string"
                                      },
                                      "subject": {
                                        "type": "string"
                                      },
                                      "sans": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "seenAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "daysLeft": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "state": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "attention",
                                          "critical",
                                          "expired",
                                          "invalid"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "notBefore",
                                      "notAfter",
                                      "issuer",
                                      "subject",
                                      "sans",
                                      "seenAt",
                                      "daysLeft",
                                      "state"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "maintenance": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "endsAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "incident": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "startedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "confirmedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "recovering": {
                                        "type": "boolean"
                                      },
                                      "flapping": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "startedAt",
                                      "confirmedAt",
                                      "recovering",
                                      "flapping"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "notifications": {
                                    "type": "object",
                                    "properties": {
                                      "alertMembers": {
                                        "type": "boolean"
                                      },
                                      "contactIds": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        }
                                      },
                                      "quietUntil": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "quietForever": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "alertMembers",
                                      "contactIds",
                                      "quietUntil",
                                      "quietForever"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "groupId": {
                                    "nullable": true,
                                    "description": "The monitor’s group, or null when ungrouped.",
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "groupName": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "groupState": {
                                    "nullable": true,
                                    "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                    "type": "string",
                                    "enum": [
                                      "operational",
                                      "degraded",
                                      "down",
                                      "maintenance",
                                      "unknown"
                                    ]
                                  },
                                  "tags": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "nextCheckAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "heartbeat": {
                                    "nullable": true,
                                    "description": "Only for a heartbeat.",
                                    "type": "object",
                                    "properties": {
                                      "lastPingAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "dueAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "lastPingAt",
                                      "dueAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "type",
                                  "config",
                                  "id",
                                  "name",
                                  "target",
                                  "intervalSeconds",
                                  "timeoutSeconds",
                                  "paused",
                                  "pausedUntil",
                                  "status",
                                  "statusSince",
                                  "pendingReason",
                                  "lastCheck",
                                  "certificate",
                                  "maintenance",
                                  "incident",
                                  "notifications",
                                  "groupId",
                                  "groupName",
                                  "groupState",
                                  "tags",
                                  "nextCheckAt",
                                  "heartbeat",
                                  "createdAt",
                                  "updatedAt"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "ping"
                                    ]
                                  },
                                  "config": {
                                    "type": "object",
                                    "properties": {
                                      "host": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "host"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string",
                                    "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                                  },
                                  "intervalSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991,
                                    "description": "How often it is checked; a heartbeat's period."
                                  },
                                  "timeoutSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "paused": {
                                    "type": "boolean"
                                  },
                                  "pausedUntil": {
                                    "nullable": true,
                                    "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "passing",
                                      "failing",
                                      "down",
                                      "paused",
                                      "unknown"
                                    ]
                                  },
                                  "statusSince": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "pendingReason": {
                                    "nullable": true,
                                    "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "no_probe_capability"
                                        ]
                                      },
                                      "missingCapability": {
                                        "type": "string",
                                        "enum": [
                                          "http",
                                          "tcp",
                                          "dns",
                                          "http_secrets",
                                          "icmp",
                                          "udp",
                                          "domain",
                                          "ipv6"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "missingCapability"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "lastCheck": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "class": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "fail"
                                        ]
                                      },
                                      "error": {
                                        "nullable": true,
                                        "type": "string",
                                        "enum": [
                                          "dns_not_found",
                                          "dns_failure",
                                          "dns_timeout",
                                          "connection_refused",
                                          "connection_timeout",
                                          "connection_reset",
                                          "network_unreachable",
                                          "tls_certificate_expired",
                                          "tls_certificate_invalid",
                                          "tls_hostname_mismatch",
                                          "tls_handshake_failed",
                                          "timeout",
                                          "unexpected_status",
                                          "too_many_redirects",
                                          "invalid_redirect",
                                          "destination_not_allowed",
                                          "response_headers_too_large",
                                          "protocol_error",
                                          "keyword_not_found",
                                          "keyword_found",
                                          "json_invalid",
                                          "json_path_missing",
                                          "json_value_mismatch",
                                          "json_too_large",
                                          "header_missing",
                                          "header_mismatch",
                                          "final_url_mismatch",
                                          "dns_no_records",
                                          "dns_unexpected_answer",
                                          "heartbeat_missed",
                                          "no_reply",
                                          "domain_expiring",
                                          "domain_expired",
                                          "lease_expired",
                                          "rate_limited",
                                          "expired",
                                          "probe_overloaded",
                                          "secret_unavailable",
                                          "icmp_unavailable",
                                          "domain_expiry_unknown",
                                          "probe_no_ipv6",
                                          "own_destination",
                                          "self_check_failed"
                                        ]
                                      },
                                      "statusCode": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "responseMs": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "at",
                                      "class",
                                      "error",
                                      "statusCode",
                                      "responseMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "certificate": {
                                    "nullable": true,
                                    "description": "Only over HTTPS, once a check connected.",
                                    "type": "object",
                                    "properties": {
                                      "notBefore": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "notAfter": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "issuer": {
                                        "type": "string"
                                      },
                                      "subject": {
                                        "type": "string"
                                      },
                                      "sans": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "seenAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "daysLeft": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "state": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "attention",
                                          "critical",
                                          "expired",
                                          "invalid"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "notBefore",
                                      "notAfter",
                                      "issuer",
                                      "subject",
                                      "sans",
                                      "seenAt",
                                      "daysLeft",
                                      "state"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "maintenance": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "endsAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "incident": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "startedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "confirmedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "recovering": {
                                        "type": "boolean"
                                      },
                                      "flapping": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "startedAt",
                                      "confirmedAt",
                                      "recovering",
                                      "flapping"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "notifications": {
                                    "type": "object",
                                    "properties": {
                                      "alertMembers": {
                                        "type": "boolean"
                                      },
                                      "contactIds": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        }
                                      },
                                      "quietUntil": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "quietForever": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "alertMembers",
                                      "contactIds",
                                      "quietUntil",
                                      "quietForever"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "groupId": {
                                    "nullable": true,
                                    "description": "The monitor’s group, or null when ungrouped.",
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "groupName": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "groupState": {
                                    "nullable": true,
                                    "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                    "type": "string",
                                    "enum": [
                                      "operational",
                                      "degraded",
                                      "down",
                                      "maintenance",
                                      "unknown"
                                    ]
                                  },
                                  "tags": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "nextCheckAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "heartbeat": {
                                    "nullable": true,
                                    "description": "Only for a heartbeat.",
                                    "type": "object",
                                    "properties": {
                                      "lastPingAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "dueAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "lastPingAt",
                                      "dueAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "type",
                                  "config",
                                  "id",
                                  "name",
                                  "target",
                                  "intervalSeconds",
                                  "timeoutSeconds",
                                  "paused",
                                  "pausedUntil",
                                  "status",
                                  "statusSince",
                                  "pendingReason",
                                  "lastCheck",
                                  "certificate",
                                  "maintenance",
                                  "incident",
                                  "notifications",
                                  "groupId",
                                  "groupName",
                                  "groupState",
                                  "tags",
                                  "nextCheckAt",
                                  "heartbeat",
                                  "createdAt",
                                  "updatedAt"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "udp"
                                    ]
                                  },
                                  "config": {
                                    "type": "object",
                                    "properties": {
                                      "host": {
                                        "type": "string"
                                      },
                                      "port": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "host",
                                      "port"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string",
                                    "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                                  },
                                  "intervalSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991,
                                    "description": "How often it is checked; a heartbeat's period."
                                  },
                                  "timeoutSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "paused": {
                                    "type": "boolean"
                                  },
                                  "pausedUntil": {
                                    "nullable": true,
                                    "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "passing",
                                      "failing",
                                      "down",
                                      "paused",
                                      "unknown"
                                    ]
                                  },
                                  "statusSince": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "pendingReason": {
                                    "nullable": true,
                                    "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "no_probe_capability"
                                        ]
                                      },
                                      "missingCapability": {
                                        "type": "string",
                                        "enum": [
                                          "http",
                                          "tcp",
                                          "dns",
                                          "http_secrets",
                                          "icmp",
                                          "udp",
                                          "domain",
                                          "ipv6"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "missingCapability"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "lastCheck": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "class": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "fail"
                                        ]
                                      },
                                      "error": {
                                        "nullable": true,
                                        "type": "string",
                                        "enum": [
                                          "dns_not_found",
                                          "dns_failure",
                                          "dns_timeout",
                                          "connection_refused",
                                          "connection_timeout",
                                          "connection_reset",
                                          "network_unreachable",
                                          "tls_certificate_expired",
                                          "tls_certificate_invalid",
                                          "tls_hostname_mismatch",
                                          "tls_handshake_failed",
                                          "timeout",
                                          "unexpected_status",
                                          "too_many_redirects",
                                          "invalid_redirect",
                                          "destination_not_allowed",
                                          "response_headers_too_large",
                                          "protocol_error",
                                          "keyword_not_found",
                                          "keyword_found",
                                          "json_invalid",
                                          "json_path_missing",
                                          "json_value_mismatch",
                                          "json_too_large",
                                          "header_missing",
                                          "header_mismatch",
                                          "final_url_mismatch",
                                          "dns_no_records",
                                          "dns_unexpected_answer",
                                          "heartbeat_missed",
                                          "no_reply",
                                          "domain_expiring",
                                          "domain_expired",
                                          "lease_expired",
                                          "rate_limited",
                                          "expired",
                                          "probe_overloaded",
                                          "secret_unavailable",
                                          "icmp_unavailable",
                                          "domain_expiry_unknown",
                                          "probe_no_ipv6",
                                          "own_destination",
                                          "self_check_failed"
                                        ]
                                      },
                                      "statusCode": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "responseMs": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "at",
                                      "class",
                                      "error",
                                      "statusCode",
                                      "responseMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "certificate": {
                                    "nullable": true,
                                    "description": "Only over HTTPS, once a check connected.",
                                    "type": "object",
                                    "properties": {
                                      "notBefore": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "notAfter": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "issuer": {
                                        "type": "string"
                                      },
                                      "subject": {
                                        "type": "string"
                                      },
                                      "sans": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "seenAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "daysLeft": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "state": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "attention",
                                          "critical",
                                          "expired",
                                          "invalid"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "notBefore",
                                      "notAfter",
                                      "issuer",
                                      "subject",
                                      "sans",
                                      "seenAt",
                                      "daysLeft",
                                      "state"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "maintenance": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "endsAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "incident": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "startedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "confirmedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "recovering": {
                                        "type": "boolean"
                                      },
                                      "flapping": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "startedAt",
                                      "confirmedAt",
                                      "recovering",
                                      "flapping"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "notifications": {
                                    "type": "object",
                                    "properties": {
                                      "alertMembers": {
                                        "type": "boolean"
                                      },
                                      "contactIds": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        }
                                      },
                                      "quietUntil": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "quietForever": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "alertMembers",
                                      "contactIds",
                                      "quietUntil",
                                      "quietForever"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "groupId": {
                                    "nullable": true,
                                    "description": "The monitor’s group, or null when ungrouped.",
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "groupName": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "groupState": {
                                    "nullable": true,
                                    "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                    "type": "string",
                                    "enum": [
                                      "operational",
                                      "degraded",
                                      "down",
                                      "maintenance",
                                      "unknown"
                                    ]
                                  },
                                  "tags": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "nextCheckAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "heartbeat": {
                                    "nullable": true,
                                    "description": "Only for a heartbeat.",
                                    "type": "object",
                                    "properties": {
                                      "lastPingAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "dueAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "lastPingAt",
                                      "dueAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "type",
                                  "config",
                                  "id",
                                  "name",
                                  "target",
                                  "intervalSeconds",
                                  "timeoutSeconds",
                                  "paused",
                                  "pausedUntil",
                                  "status",
                                  "statusSince",
                                  "pendingReason",
                                  "lastCheck",
                                  "certificate",
                                  "maintenance",
                                  "incident",
                                  "notifications",
                                  "groupId",
                                  "groupName",
                                  "groupState",
                                  "tags",
                                  "nextCheckAt",
                                  "heartbeat",
                                  "createdAt",
                                  "updatedAt"
                                ],
                                "additionalProperties": false
                              },
                              {
                                "type": "object",
                                "properties": {
                                  "type": {
                                    "type": "string",
                                    "enum": [
                                      "domain"
                                    ]
                                  },
                                  "config": {
                                    "type": "object",
                                    "properties": {
                                      "domain": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "domain"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "target": {
                                    "type": "string",
                                    "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                                  },
                                  "intervalSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991,
                                    "description": "How often it is checked; a heartbeat's period."
                                  },
                                  "timeoutSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "paused": {
                                    "type": "boolean"
                                  },
                                  "pausedUntil": {
                                    "nullable": true,
                                    "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                                  },
                                  "status": {
                                    "type": "string",
                                    "enum": [
                                      "pending",
                                      "passing",
                                      "failing",
                                      "down",
                                      "paused",
                                      "unknown"
                                    ]
                                  },
                                  "statusSince": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "pendingReason": {
                                    "nullable": true,
                                    "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                                    "type": "object",
                                    "properties": {
                                      "code": {
                                        "type": "string",
                                        "enum": [
                                          "no_probe_capability"
                                        ]
                                      },
                                      "missingCapability": {
                                        "type": "string",
                                        "enum": [
                                          "http",
                                          "tcp",
                                          "dns",
                                          "http_secrets",
                                          "icmp",
                                          "udp",
                                          "domain",
                                          "ipv6"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "code",
                                      "missingCapability"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "lastCheck": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "at": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "class": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "fail"
                                        ]
                                      },
                                      "error": {
                                        "nullable": true,
                                        "type": "string",
                                        "enum": [
                                          "dns_not_found",
                                          "dns_failure",
                                          "dns_timeout",
                                          "connection_refused",
                                          "connection_timeout",
                                          "connection_reset",
                                          "network_unreachable",
                                          "tls_certificate_expired",
                                          "tls_certificate_invalid",
                                          "tls_hostname_mismatch",
                                          "tls_handshake_failed",
                                          "timeout",
                                          "unexpected_status",
                                          "too_many_redirects",
                                          "invalid_redirect",
                                          "destination_not_allowed",
                                          "response_headers_too_large",
                                          "protocol_error",
                                          "keyword_not_found",
                                          "keyword_found",
                                          "json_invalid",
                                          "json_path_missing",
                                          "json_value_mismatch",
                                          "json_too_large",
                                          "header_missing",
                                          "header_mismatch",
                                          "final_url_mismatch",
                                          "dns_no_records",
                                          "dns_unexpected_answer",
                                          "heartbeat_missed",
                                          "no_reply",
                                          "domain_expiring",
                                          "domain_expired",
                                          "lease_expired",
                                          "rate_limited",
                                          "expired",
                                          "probe_overloaded",
                                          "secret_unavailable",
                                          "icmp_unavailable",
                                          "domain_expiry_unknown",
                                          "probe_no_ipv6",
                                          "own_destination",
                                          "self_check_failed"
                                        ]
                                      },
                                      "statusCode": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "responseMs": {
                                        "nullable": true,
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      }
                                    },
                                    "required": [
                                      "at",
                                      "class",
                                      "error",
                                      "statusCode",
                                      "responseMs"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "certificate": {
                                    "nullable": true,
                                    "description": "Only over HTTPS, once a check connected.",
                                    "type": "object",
                                    "properties": {
                                      "notBefore": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "notAfter": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "issuer": {
                                        "type": "string"
                                      },
                                      "subject": {
                                        "type": "string"
                                      },
                                      "sans": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "seenAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "daysLeft": {
                                        "type": "integer",
                                        "minimum": -9007199254740991,
                                        "maximum": 9007199254740991
                                      },
                                      "state": {
                                        "type": "string",
                                        "enum": [
                                          "ok",
                                          "attention",
                                          "critical",
                                          "expired",
                                          "invalid"
                                        ]
                                      }
                                    },
                                    "required": [
                                      "notBefore",
                                      "notAfter",
                                      "issuer",
                                      "subject",
                                      "sans",
                                      "seenAt",
                                      "daysLeft",
                                      "state"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "maintenance": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "endsAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "name",
                                      "endsAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "incident": {
                                    "nullable": true,
                                    "type": "object",
                                    "properties": {
                                      "id": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      },
                                      "startedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "confirmedAt": {
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "recovering": {
                                        "type": "boolean"
                                      },
                                      "flapping": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "id",
                                      "startedAt",
                                      "confirmedAt",
                                      "recovering",
                                      "flapping"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "notifications": {
                                    "type": "object",
                                    "properties": {
                                      "alertMembers": {
                                        "type": "boolean"
                                      },
                                      "contactIds": {
                                        "type": "array",
                                        "items": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        }
                                      },
                                      "quietUntil": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "quietForever": {
                                        "type": "boolean"
                                      }
                                    },
                                    "required": [
                                      "alertMembers",
                                      "contactIds",
                                      "quietUntil",
                                      "quietForever"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "groupId": {
                                    "nullable": true,
                                    "description": "The monitor’s group, or null when ungrouped.",
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "groupName": {
                                    "nullable": true,
                                    "type": "string"
                                  },
                                  "groupState": {
                                    "nullable": true,
                                    "description": "The state the monitor’s group rolls up to, or null when it has none.",
                                    "type": "string",
                                    "enum": [
                                      "operational",
                                      "degraded",
                                      "down",
                                      "maintenance",
                                      "unknown"
                                    ]
                                  },
                                  "tags": {
                                    "type": "array",
                                    "items": {
                                      "type": "object",
                                      "properties": {
                                        "id": {
                                          "type": "string",
                                          "format": "uuid",
                                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                          "description": "An identifier, UUID version 7."
                                        },
                                        "name": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "id",
                                        "name"
                                      ],
                                      "additionalProperties": false
                                    }
                                  },
                                  "nextCheckAt": {
                                    "nullable": true,
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "heartbeat": {
                                    "nullable": true,
                                    "description": "Only for a heartbeat.",
                                    "type": "object",
                                    "properties": {
                                      "lastPingAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      },
                                      "dueAt": {
                                        "nullable": true,
                                        "type": "string",
                                        "format": "date-time",
                                        "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                        "description": "A moment, ISO 8601 in UTC."
                                      }
                                    },
                                    "required": [
                                      "lastPingAt",
                                      "dueAt"
                                    ],
                                    "additionalProperties": false
                                  },
                                  "createdAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  },
                                  "updatedAt": {
                                    "type": "string",
                                    "format": "date-time",
                                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                    "description": "A moment, ISO 8601 in UTC."
                                  }
                                },
                                "required": [
                                  "type",
                                  "config",
                                  "id",
                                  "name",
                                  "target",
                                  "intervalSeconds",
                                  "timeoutSeconds",
                                  "paused",
                                  "pausedUntil",
                                  "status",
                                  "statusSince",
                                  "pendingReason",
                                  "lastCheck",
                                  "certificate",
                                  "maintenance",
                                  "incident",
                                  "notifications",
                                  "groupId",
                                  "groupName",
                                  "groupState",
                                  "tags",
                                  "nextCheckAt",
                                  "heartbeat",
                                  "createdAt",
                                  "updatedAt"
                                ],
                                "additionalProperties": false
                              }
                            ]
                          },
                          "heartbeatUrl": {
                            "description": "A heartbeat's address, given once: here, and when its token is regenerated.",
                            "type": "string"
                          }
                        },
                        "required": [
                          "monitor"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "skipped": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "externalId": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "uptimeRobotType": {
                            "type": "string"
                          },
                          "reason": {
                            "type": "string",
                            "enum": [
                              "already_imported",
                              "duplicate",
                              "invalid_monitor",
                              "invalid_target",
                              "needs_credentials",
                              "paused",
                              "unsupported_configuration",
                              "unsupported_interval",
                              "unsupported_timeout",
                              "unsupported_type"
                            ]
                          },
                          "authHint": {
                            "type": "string",
                            "enum": [
                              "literal"
                            ]
                          }
                        },
                        "required": [
                          "externalId",
                          "name",
                          "uptimeRobotType",
                          "reason"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "imported",
                    "skipped"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `import.invalid_export`, `import.source_key_refused`, `import.source_unavailable`, `import.secret_unavailable`, `monitor.secrets_unavailable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `monitor.limit_reached`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "get": {
        "summary": "The stored UptimeRobot connection",
        "description": "Whether a key is stored for this workspace, when it was last used and what the last import amounted to. The key itself is never part of any answer.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "source": {
                      "type": "object",
                      "properties": {
                        "provider": {
                          "type": "string",
                          "enum": [
                            "uptimerobot"
                          ]
                        },
                        "connected": {
                          "type": "boolean"
                        },
                        "createdAt": {
                          "nullable": true,
                          "type": "string"
                        },
                        "lastUsedAt": {
                          "nullable": true,
                          "type": "string"
                        },
                        "lastOutcome": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "created": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "skipped": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "refused": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "limitReached": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "created",
                            "skipped",
                            "refused",
                            "limitReached"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "provider",
                        "connected",
                        "createdAt",
                        "lastUsedAt",
                        "lastOutcome"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "source"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Disconnect the stored UptimeRobot key",
        "description": "Deletes the stored key. Monitors already imported are untouched; a later import needs the key again.",
        "x-scope": "write",
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/{id}": {
      "get": {
        "summary": "Read a monitor",
        "description": "The monitor with its state, its last check, its open incident and, over HTTPS, its certificate.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "http"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "method": {
                              "type": "string",
                              "enum": [
                                "GET",
                                "HEAD",
                                "POST",
                                "PUT",
                                "PATCH",
                                "DELETE"
                              ]
                            },
                            "followRedirects": {
                              "type": "boolean"
                            },
                            "expectedStatus": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "keyword": {
                              "nullable": true,
                              "type": "string"
                            },
                            "keywordMustAppear": {
                              "type": "boolean"
                            },
                            "conditions": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_not_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_exists"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_equals"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "header"
                                        ]
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "equals": {
                                        "nullable": true,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "name",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "final_url"
                                        ]
                                      },
                                      "equals": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            },
                            "conditionMode": {
                              "type": "string",
                              "enum": [
                                "all",
                                "any"
                              ]
                            },
                            "headers": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "auth": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "none"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "basic"
                                      ]
                                    },
                                    "username": {
                                      "type": "string"
                                    },
                                    "password": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "username",
                                    "password"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "bearer"
                                      ]
                                    },
                                    "token": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "token"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "body": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "contentType": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "contentType",
                                "value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "url",
                            "method",
                            "followRedirects",
                            "expectedStatus",
                            "keyword",
                            "keywordMustAppear",
                            "conditions",
                            "conditionMode",
                            "headers",
                            "auth",
                            "body"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "tcp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "dns"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "recordType": {
                              "type": "string",
                              "enum": [
                                "A",
                                "AAAA",
                                "CNAME",
                                "MX",
                                "TXT",
                                "NS"
                              ]
                            },
                            "expected": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "resolver": {
                              "type": "string",
                              "enum": [
                                "system",
                                "cloudflare",
                                "google",
                                "quad9",
                                "opendns"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "recordType",
                            "expected",
                            "resolver"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "heartbeat"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "periodSeconds": {
                              "type": "number",
                              "enum": [
                                60,
                                120,
                                300,
                                600,
                                900,
                                1800,
                                3600,
                                7200,
                                21600,
                                43200,
                                86400,
                                604800,
                                2592000
                              ]
                            },
                            "graceSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "periodSeconds",
                            "graceSeconds"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "ping"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "host"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "udp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "domain"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "domain": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "domain"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "summary": "Change a monitor",
        "description": "Only what is sent changes. `config` takes the fields of the monitor's own kind. Changing what is checked starts its history of state over.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "channelIds": {
                    "nullable": true,
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "dependsOn": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "importance": {
                    "type": "string",
                    "enum": [
                      "critical",
                      "standard"
                    ]
                  },
                  "config": {
                    "type": "object",
                    "additionalProperties": {}
                  },
                  "intervalSeconds": {
                    "type": "number",
                    "enum": [
                      30,
                      60,
                      120,
                      180,
                      300,
                      600,
                      900,
                      1800,
                      3600
                    ]
                  },
                  "confirmationChecks": {
                    "type": "integer",
                    "minimum": 3,
                    "maximum": 10
                  },
                  "confirmationSpanSeconds": {
                    "type": "integer",
                    "minimum": 60,
                    "maximum": 1800
                  },
                  "timeoutSeconds": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 30
                  },
                  "paused": {
                    "type": "boolean"
                  },
                  "pausedUntil": {
                    "nullable": true,
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "groupId": {
                    "nullable": true,
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "tagIds": {
                    "maxItems": 20,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "certificateAlertDays": {
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 365
                  },
                  "slaTargetBp": {
                    "type": "integer",
                    "minimum": 9000,
                    "maximum": 10000
                  },
                  "slaBudgetAlertPercent": {
                    "nullable": true,
                    "type": "integer",
                    "minimum": 1,
                    "maximum": 100
                  },
                  "slowResponseMs": {
                    "nullable": true,
                    "type": "integer",
                    "minimum": 100,
                    "maximum": 60000
                  },
                  "baselinePercent": {
                    "nullable": true,
                    "type": "integer",
                    "minimum": 20,
                    "maximum": 500
                  },
                  "runbookUrl": {
                    "nullable": true,
                    "type": "string",
                    "maxLength": 2048
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "http"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "method": {
                              "type": "string",
                              "enum": [
                                "GET",
                                "HEAD",
                                "POST",
                                "PUT",
                                "PATCH",
                                "DELETE"
                              ]
                            },
                            "followRedirects": {
                              "type": "boolean"
                            },
                            "expectedStatus": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "keyword": {
                              "nullable": true,
                              "type": "string"
                            },
                            "keywordMustAppear": {
                              "type": "boolean"
                            },
                            "conditions": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_not_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_exists"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_equals"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "header"
                                        ]
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "equals": {
                                        "nullable": true,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "name",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "final_url"
                                        ]
                                      },
                                      "equals": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            },
                            "conditionMode": {
                              "type": "string",
                              "enum": [
                                "all",
                                "any"
                              ]
                            },
                            "headers": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "auth": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "none"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "basic"
                                      ]
                                    },
                                    "username": {
                                      "type": "string"
                                    },
                                    "password": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "username",
                                    "password"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "bearer"
                                      ]
                                    },
                                    "token": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "token"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "body": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "contentType": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "contentType",
                                "value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "url",
                            "method",
                            "followRedirects",
                            "expectedStatus",
                            "keyword",
                            "keywordMustAppear",
                            "conditions",
                            "conditionMode",
                            "headers",
                            "auth",
                            "body"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "tcp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "dns"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "recordType": {
                              "type": "string",
                              "enum": [
                                "A",
                                "AAAA",
                                "CNAME",
                                "MX",
                                "TXT",
                                "NS"
                              ]
                            },
                            "expected": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "resolver": {
                              "type": "string",
                              "enum": [
                                "system",
                                "cloudflare",
                                "google",
                                "quad9",
                                "opendns"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "recordType",
                            "expected",
                            "resolver"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "heartbeat"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "periodSeconds": {
                              "type": "number",
                              "enum": [
                                60,
                                120,
                                300,
                                600,
                                900,
                                1800,
                                3600,
                                7200,
                                21600,
                                43200,
                                86400,
                                604800,
                                2592000
                              ]
                            },
                            "graceSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "periodSeconds",
                            "graceSeconds"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "ping"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "host"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "udp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "domain"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "domain": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "domain"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `monitor.config_invalid`, `monitor.url_not_allowed`, `monitor.host_not_allowed`, `monitor.domain_invalid`, `monitor.json_condition_needs_body`, `monitor.interval_not_allowed`, `monitor.secrets_unavailable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Delete a monitor",
        "description": "The monitor is gone from every answer, and can be brought back with `/restore` for thirty days. After that the worker removes it and its data for good.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/{id}/pause": {
      "post": {
        "summary": "Pause a monitor",
        "description": "Stops its checks; an open incident is closed as paused, told to nobody. Pausing a paused monitor changes nothing.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "http"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "method": {
                              "type": "string",
                              "enum": [
                                "GET",
                                "HEAD",
                                "POST",
                                "PUT",
                                "PATCH",
                                "DELETE"
                              ]
                            },
                            "followRedirects": {
                              "type": "boolean"
                            },
                            "expectedStatus": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "keyword": {
                              "nullable": true,
                              "type": "string"
                            },
                            "keywordMustAppear": {
                              "type": "boolean"
                            },
                            "conditions": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_not_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_exists"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_equals"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "header"
                                        ]
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "equals": {
                                        "nullable": true,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "name",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "final_url"
                                        ]
                                      },
                                      "equals": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            },
                            "conditionMode": {
                              "type": "string",
                              "enum": [
                                "all",
                                "any"
                              ]
                            },
                            "headers": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "auth": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "none"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "basic"
                                      ]
                                    },
                                    "username": {
                                      "type": "string"
                                    },
                                    "password": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "username",
                                    "password"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "bearer"
                                      ]
                                    },
                                    "token": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "token"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "body": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "contentType": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "contentType",
                                "value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "url",
                            "method",
                            "followRedirects",
                            "expectedStatus",
                            "keyword",
                            "keywordMustAppear",
                            "conditions",
                            "conditionMode",
                            "headers",
                            "auth",
                            "body"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "tcp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "dns"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "recordType": {
                              "type": "string",
                              "enum": [
                                "A",
                                "AAAA",
                                "CNAME",
                                "MX",
                                "TXT",
                                "NS"
                              ]
                            },
                            "expected": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "resolver": {
                              "type": "string",
                              "enum": [
                                "system",
                                "cloudflare",
                                "google",
                                "quad9",
                                "opendns"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "recordType",
                            "expected",
                            "resolver"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "heartbeat"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "periodSeconds": {
                              "type": "number",
                              "enum": [
                                60,
                                120,
                                300,
                                600,
                                900,
                                1800,
                                3600,
                                7200,
                                21600,
                                43200,
                                86400,
                                604800,
                                2592000
                              ]
                            },
                            "graceSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "periodSeconds",
                            "graceSeconds"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "ping"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "host"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "udp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "domain"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "domain": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "domain"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/{id}/resume": {
      "post": {
        "summary": "Resume a monitor",
        "description": "Checks start again at once, with nothing assumed of what was found before the pause.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "http"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "method": {
                              "type": "string",
                              "enum": [
                                "GET",
                                "HEAD",
                                "POST",
                                "PUT",
                                "PATCH",
                                "DELETE"
                              ]
                            },
                            "followRedirects": {
                              "type": "boolean"
                            },
                            "expectedStatus": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "keyword": {
                              "nullable": true,
                              "type": "string"
                            },
                            "keywordMustAppear": {
                              "type": "boolean"
                            },
                            "conditions": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_not_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_exists"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_equals"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "header"
                                        ]
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "equals": {
                                        "nullable": true,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "name",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "final_url"
                                        ]
                                      },
                                      "equals": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            },
                            "conditionMode": {
                              "type": "string",
                              "enum": [
                                "all",
                                "any"
                              ]
                            },
                            "headers": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "auth": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "none"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "basic"
                                      ]
                                    },
                                    "username": {
                                      "type": "string"
                                    },
                                    "password": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "username",
                                    "password"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "bearer"
                                      ]
                                    },
                                    "token": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "token"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "body": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "contentType": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "contentType",
                                "value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "url",
                            "method",
                            "followRedirects",
                            "expectedStatus",
                            "keyword",
                            "keywordMustAppear",
                            "conditions",
                            "conditionMode",
                            "headers",
                            "auth",
                            "body"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "tcp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "dns"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "recordType": {
                              "type": "string",
                              "enum": [
                                "A",
                                "AAAA",
                                "CNAME",
                                "MX",
                                "TXT",
                                "NS"
                              ]
                            },
                            "expected": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "resolver": {
                              "type": "string",
                              "enum": [
                                "system",
                                "cloudflare",
                                "google",
                                "quad9",
                                "opendns"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "recordType",
                            "expected",
                            "resolver"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "heartbeat"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "periodSeconds": {
                              "type": "number",
                              "enum": [
                                60,
                                120,
                                300,
                                600,
                                900,
                                1800,
                                3600,
                                7200,
                                21600,
                                43200,
                                86400,
                                604800,
                                2592000
                              ]
                            },
                            "graceSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "periodSeconds",
                            "graceSeconds"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "ping"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "host"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "udp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "domain"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "domain": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "domain"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/{id}/restore": {
      "post": {
        "summary": "Restore a deleted monitor",
        "description": "Brings a monitor back from the trash, exactly as it was, within thirty days of its deletion and only if the plan has room. A paused monitor comes back paused; any other is due at once. An older one, or one that was never deleted, is refused.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "http"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "url": {
                              "type": "string"
                            },
                            "method": {
                              "type": "string",
                              "enum": [
                                "GET",
                                "HEAD",
                                "POST",
                                "PUT",
                                "PATCH",
                                "DELETE"
                              ]
                            },
                            "followRedirects": {
                              "type": "boolean"
                            },
                            "expectedStatus": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "keyword": {
                              "nullable": true,
                              "type": "string"
                            },
                            "keywordMustAppear": {
                              "type": "boolean"
                            },
                            "conditions": {
                              "type": "array",
                              "items": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "body_not_contains"
                                        ]
                                      },
                                      "text": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "text"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_exists"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "json_equals"
                                        ]
                                      },
                                      "path": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "path",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "header"
                                        ]
                                      },
                                      "name": {
                                        "type": "string"
                                      },
                                      "equals": {
                                        "nullable": true,
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "name",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "type": {
                                        "type": "string",
                                        "enum": [
                                          "final_url"
                                        ]
                                      },
                                      "equals": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "type",
                                      "equals"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              }
                            },
                            "conditionMode": {
                              "type": "string",
                              "enum": [
                                "all",
                                "any"
                              ]
                            },
                            "headers": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "name": {
                                    "type": "string"
                                  },
                                  "value": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "name",
                                  "value"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "auth": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "none"
                                      ]
                                    }
                                  },
                                  "required": [
                                    "type"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "basic"
                                      ]
                                    },
                                    "username": {
                                      "type": "string"
                                    },
                                    "password": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "username",
                                    "password"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "type": {
                                      "type": "string",
                                      "enum": [
                                        "bearer"
                                      ]
                                    },
                                    "token": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "type",
                                    "token"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            },
                            "body": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "contentType": {
                                  "type": "string"
                                },
                                "value": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "contentType",
                                "value"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "url",
                            "method",
                            "followRedirects",
                            "expectedStatus",
                            "keyword",
                            "keywordMustAppear",
                            "conditions",
                            "conditionMode",
                            "headers",
                            "auth",
                            "body"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "tcp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "dns"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": "string"
                            },
                            "recordType": {
                              "type": "string",
                              "enum": [
                                "A",
                                "AAAA",
                                "CNAME",
                                "MX",
                                "TXT",
                                "NS"
                              ]
                            },
                            "expected": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              }
                            },
                            "resolver": {
                              "type": "string",
                              "enum": [
                                "system",
                                "cloudflare",
                                "google",
                                "quad9",
                                "opendns"
                              ]
                            }
                          },
                          "required": [
                            "name",
                            "recordType",
                            "expected",
                            "resolver"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "heartbeat"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "periodSeconds": {
                              "type": "number",
                              "enum": [
                                60,
                                120,
                                300,
                                600,
                                900,
                                1800,
                                3600,
                                7200,
                                21600,
                                43200,
                                86400,
                                604800,
                                2592000
                              ]
                            },
                            "graceSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "periodSeconds",
                            "graceSeconds"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "ping"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "host"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "udp"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "host": {
                              "type": "string"
                            },
                            "port": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "host",
                            "port"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    {
                      "type": "object",
                      "properties": {
                        "type": {
                          "type": "string",
                          "enum": [
                            "domain"
                          ]
                        },
                        "config": {
                          "type": "object",
                          "properties": {
                            "domain": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "domain"
                          ],
                          "additionalProperties": false
                        },
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "target": {
                          "type": "string",
                          "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                        },
                        "intervalSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991,
                          "description": "How often it is checked; a heartbeat's period."
                        },
                        "timeoutSeconds": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "paused": {
                          "type": "boolean"
                        },
                        "pausedUntil": {
                          "nullable": true,
                          "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "status": {
                          "type": "string",
                          "enum": [
                            "pending",
                            "passing",
                            "failing",
                            "down",
                            "paused",
                            "unknown"
                          ]
                        },
                        "statusSince": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "pendingReason": {
                          "nullable": true,
                          "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                          "type": "object",
                          "properties": {
                            "code": {
                              "type": "string",
                              "enum": [
                                "no_probe_capability"
                              ]
                            },
                            "missingCapability": {
                              "type": "string",
                              "enum": [
                                "http",
                                "tcp",
                                "dns",
                                "http_secrets",
                                "icmp",
                                "udp",
                                "domain",
                                "ipv6"
                              ]
                            }
                          },
                          "required": [
                            "code",
                            "missingCapability"
                          ],
                          "additionalProperties": false
                        },
                        "lastCheck": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "at": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "class": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "fail"
                              ]
                            },
                            "error": {
                              "nullable": true,
                              "type": "string",
                              "enum": [
                                "dns_not_found",
                                "dns_failure",
                                "dns_timeout",
                                "connection_refused",
                                "connection_timeout",
                                "connection_reset",
                                "network_unreachable",
                                "tls_certificate_expired",
                                "tls_certificate_invalid",
                                "tls_hostname_mismatch",
                                "tls_handshake_failed",
                                "timeout",
                                "unexpected_status",
                                "too_many_redirects",
                                "invalid_redirect",
                                "destination_not_allowed",
                                "response_headers_too_large",
                                "protocol_error",
                                "keyword_not_found",
                                "keyword_found",
                                "json_invalid",
                                "json_path_missing",
                                "json_value_mismatch",
                                "json_too_large",
                                "header_missing",
                                "header_mismatch",
                                "final_url_mismatch",
                                "dns_no_records",
                                "dns_unexpected_answer",
                                "heartbeat_missed",
                                "no_reply",
                                "domain_expiring",
                                "domain_expired",
                                "lease_expired",
                                "rate_limited",
                                "expired",
                                "probe_overloaded",
                                "secret_unavailable",
                                "icmp_unavailable",
                                "domain_expiry_unknown",
                                "probe_no_ipv6",
                                "own_destination",
                                "self_check_failed"
                              ]
                            },
                            "statusCode": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            }
                          },
                          "required": [
                            "at",
                            "class",
                            "error",
                            "statusCode",
                            "responseMs"
                          ],
                          "additionalProperties": false
                        },
                        "certificate": {
                          "nullable": true,
                          "description": "Only over HTTPS, once a check connected.",
                          "type": "object",
                          "properties": {
                            "notBefore": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "notAfter": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "issuer": {
                              "type": "string"
                            },
                            "subject": {
                              "type": "string"
                            },
                            "sans": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "seenAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "daysLeft": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "state": {
                              "type": "string",
                              "enum": [
                                "ok",
                                "attention",
                                "critical",
                                "expired",
                                "invalid"
                              ]
                            }
                          },
                          "required": [
                            "notBefore",
                            "notAfter",
                            "issuer",
                            "subject",
                            "sans",
                            "seenAt",
                            "daysLeft",
                            "state"
                          ],
                          "additionalProperties": false
                        },
                        "maintenance": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "endsAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "id",
                            "name",
                            "endsAt"
                          ],
                          "additionalProperties": false
                        },
                        "incident": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "startedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "confirmedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "recovering": {
                              "type": "boolean"
                            },
                            "flapping": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "id",
                            "startedAt",
                            "confirmedAt",
                            "recovering",
                            "flapping"
                          ],
                          "additionalProperties": false
                        },
                        "notifications": {
                          "type": "object",
                          "properties": {
                            "alertMembers": {
                              "type": "boolean"
                            },
                            "contactIds": {
                              "type": "array",
                              "items": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              }
                            },
                            "quietUntil": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "quietForever": {
                              "type": "boolean"
                            }
                          },
                          "required": [
                            "alertMembers",
                            "contactIds",
                            "quietUntil",
                            "quietForever"
                          ],
                          "additionalProperties": false
                        },
                        "groupId": {
                          "nullable": true,
                          "description": "The monitor’s group, or null when ungrouped.",
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        },
                        "groupName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "groupState": {
                          "nullable": true,
                          "description": "The state the monitor’s group rolls up to, or null when it has none.",
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ]
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "nextCheckAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "heartbeat": {
                          "nullable": true,
                          "description": "Only for a heartbeat.",
                          "type": "object",
                          "properties": {
                            "lastPingAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "dueAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "lastPingAt",
                            "dueAt"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "type",
                        "config",
                        "id",
                        "name",
                        "target",
                        "intervalSeconds",
                        "timeoutSeconds",
                        "paused",
                        "pausedUntil",
                        "status",
                        "statusSince",
                        "pendingReason",
                        "lastCheck",
                        "certificate",
                        "maintenance",
                        "incident",
                        "notifications",
                        "groupId",
                        "groupName",
                        "groupState",
                        "tags",
                        "nextCheckAt",
                        "heartbeat",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  ]
                }
              }
            }
          },
          "400": {
            "description": "One of: `monitor.not_deleted`, `monitor.restore_window_expired`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `monitor.limit_reached`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/bulk": {
      "post": {
        "summary": "Pause, resume or delete many monitors",
        "description": "The same three actions as one monitor at a time, for up to 100 ids. Each id is answered on its own, in the order given and once: one the workspace cannot see comes back ok false with `monitor.not_found`, and the rest still apply. A key that may only read is refused.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "action": {
                    "type": "string",
                    "enum": [
                      "pause",
                      "resume",
                      "delete"
                    ]
                  },
                  "monitorIds": {
                    "minItems": 1,
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "action",
                  "monitorIds"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "ok": {
                            "type": "boolean"
                          },
                          "code": {
                            "description": "Present when ok is false.",
                            "type": "string",
                            "enum": [
                              "auth.cannot_revoke_current",
                              "auth.email_not_verified",
                              "auth.invalid_code",
                              "auth.invalid_credentials",
                              "auth.invalid_token",
                              "auth.password_too_long",
                              "auth.password_too_short",
                              "auth.totp_required",
                              "auth.two_factor_already_enabled",
                              "auth.two_factor_not_enabled",
                              "auth.unauthenticated",
                              "internal.error",
                              "invitation.already_member",
                              "invitation.limit_reached",
                              "invitation.not_found",
                              "account.password_incorrect",
                              "account.sole_owner",
                              "account.disabled",
                              "account.email_taken",
                              "account.email_unchanged",
                              "admin.not_an_operator",
                              "admin.permission_denied",
                              "admin.user_not_found",
                              "admin.workspace_not_found",
                              "admin.monitor_not_found",
                              "admin.incident_not_found",
                              "admin.plan_unknown",
                              "admin.plan_below_usage",
                              "admin.override_invalid",
                              "admin.subscription_not_found",
                              "alert_digest.invalid_window",
                              "alert_grouping.invalid",
                              "api.bulk_empty",
                              "audit.read_forbidden",
                              "billing.provider_unavailable",
                              "billing.plan_not_sold",
                              "billing.no_subscription",
                              "billing.subscription_state",
                              "billing.subscription_conflict",
                              "billing.webhook_rejected",
                              "entitlement.feature_not_included",
                              "escalation_steps.invalid",
                              "escalation.rotation_not_found",
                              "escalation_steps.contact_not_found",
                              "escalation_steps.channel_not_found",
                              "member.limit_reached",
                              "member.last_owner",
                              "member.not_found",
                              "member.role_not_assignable",
                              "monitor.account_limit_reached",
                              "monitor.confirmation_out_of_range",
                              "monitor.interval_not_allowed",
                              "monitor.limit_reached",
                              "monitor.timeout_not_allowed",
                              "monitor.update_forbidden",
                              "import.invalid_export",
                              "import.row_refused",
                              "import.secret_unavailable",
                              "import.source_key_refused",
                              "import.source_unavailable",
                              "import.unsupported_type",
                              "import.missing_target",
                              "import.invalid_target",
                              "import.invalid_name",
                              "import.unsupported_interval",
                              "import.too_many_rows",
                              "incident.not_found",
                              "incident.invalid_cursor",
                              "incident.impact_invalid",
                              "incident.assignee_not_member",
                              "incident.assignment_forbidden",
                              "incident.already_resolved",
                              "incident.not_resolved",
                              "incident.already_open",
                              "incident.not_manual",
                              "incident.cause_invalid",
                              "incident.declaration_forbidden",
                              "incident.export_too_large",
                              "action_item.not_found",
                              "action_item.too_many",
                              "action_item.incident_open",
                              "action_item.owner_not_member",
                              "action_item.due_in_past",
                              "postmortem.not_found",
                              "incident_comment.not_author",
                              "incident_comment.not_found",
                              "monitor.invalid_cursor",
                              "monitor.not_found",
                              "monitor.not_deleted",
                              "monitor.restore_window_expired",
                              "monitor.url_not_allowed",
                              "monitor.channel_not_found",
                              "monitor.keyword_needs_body",
                              "monitor.conditions_need_body",
                              "monitor.json_condition_needs_body",
                              "monitor.config_invalid",
                              "monitor.authorization_header_conflict",
                              "monitor.auth_value_has_scheme",
                              "monitor.domain_invalid",
                              "monitor.secrets_unavailable",
                              "monitor.host_not_allowed",
                              "monitor.not_a_heartbeat",
                              "monitor.slow_response_not_supported",
                              "monitor.baseline_not_supported",
                              "monitor.pause_until_in_past",
                              "monitor.pause_until_too_far",
                              "monitor.dependency_not_found",
                              "monitor.dependency_self",
                              "monitor.dependency_limit",
                              "monitor.dependency_duplicate",
                              "monitor.dependency_cycle",
                              "monitor.runbook_url_invalid",
                              "monitor.paused",
                              "monitor.check_too_soon",
                              "monitor.check_budget_spent",
                              "monitor.check_not_supported",
                              "monitor.no_capable_probe",
                              "manual_check.not_found",
                              "on_call.invalid_participant",
                              "on_call.invalid_window",
                              "on_call.invalid_name",
                              "on_call.name_taken",
                              "on_call.rotation_not_found",
                              "on_call.rotation_last",
                              "rotation.in_use",
                              "group.not_found",
                              "group.name_taken",
                              "group.limit_reached",
                              "group.order_invalid",
                              "idempotency.conflict",
                              "idempotency.in_progress",
                              "tag.not_found",
                              "tag.name_taken",
                              "tag.limit_reached",
                              "tag.limit_per_monitor",
                              "sla_policy.not_found",
                              "sla_policy.name_taken",
                              "sla_policy.monitor_already_covered",
                              "sla_report.not_found",
                              "sla_report.month_not_closed",
                              "sla_report.too_large",
                              "api_key.not_found",
                              "api_key.limit_reached",
                              "api_key.write_key_not_limited",
                              "api_key.monitor_not_allowed",
                              "api_key.not_rotatable",
                              "api_key.grace_out_of_range",
                              "contact.not_found",
                              "contact.already_exists",
                              "contact.limit_reached",
                              "contact.availability_invalid",
                              "contact.unavailable",
                              "maintenance.not_found",
                              "maintenance.not_editable",
                              "maintenance.limit_reached",
                              "maintenance.monitor_not_found",
                              "maintenance.group_not_found",
                              "maintenance.invalid_window",
                              "maintenance.skip_not_recurring",
                              "maintenance.skip_not_an_occurrence",
                              "maintenance.skip_started",
                              "maintenance.skip_already_skipped",
                              "maintenance.skip_not_found",
                              "maintenance_window.group_not_found",
                              "maintenance_window.limit_exceeded",
                              "maintenance_window.monitor_not_found",
                              "maintenance_window.not_active",
                              "maintenance_window.not_found",
                              "contact.not_verified",
                              "contact.unknown_contact",
                              "contact.verification_invalid",
                              "channel.not_found",
                              "channel.name_taken",
                              "channel.limit_reached",
                              "channel.config_invalid",
                              "channel.events_empty",
                              "channel.secret_unavailable",
                              "channel.secret_not_rotatable",
                              "delivery.not_found",
                              "delivery.not_retryable",
                              "delivery.paced",
                              "email.lane_budget_exhausted",
                              "email.suppression_not_found",
                              "email.webhook_rejected",
                              "alert_provider.not_configured",
                              "permission.denied",
                              "probe.enrolment_expired",
                              "probe.enrolment_invalid_key",
                              "probe.enrolment_invalid_request",
                              "probe.enrolment_revoked",
                              "probe.enrolment_unknown",
                              "probe.enrolment_used",
                              "request.content_type_not_allowed",
                              "request.cross_site",
                              "request.host_not_allowed",
                              "request.origin_missing",
                              "request.origin_not_allowed",
                              "request.rate_limited",
                              "resource.not_found",
                              "status_page.limit_reached",
                              "status_page.monitor_not_found",
                              "status_page.not_found",
                              "status_page.password_incorrect",
                              "status_page.slug_taken",
                              "status_page.unavailable",
                              "status_page.service_not_found",
                              "status_page.services_required",
                              "status_page.domain_invalid",
                              "status_page.domain_taken",
                              "status_page_announcement.invalid_window",
                              "status_page_announcement.limit_reached",
                              "status_page_announcement.not_found",
                              "status_page_subscriber.not_found",
                              "validation.failed",
                              "weekly_report.invalid_reader",
                              "workspace.limit_reached",
                              "workspace.not_found",
                              "workspace.nothing_to_change",
                              "workspace.import_limit_exceeded"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "ok"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "results"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "summary": "Change one setting on many monitors",
        "description": "The same edit as one monitor at a time, for up to 100 ids: the interval, the timeout, the group or the tags, and at least one of them. Each id is answered on its own, in the order given and once, and the answer is 200 even when some were refused: an id the workspace cannot see, an interval its plan does not allow, a group or tag it does not have, or a kind with no interval or timeout of its own is that monitor’s outcome with its code, and the rest still apply. The role is decided once for the whole request; a key that may only read is refused with `monitor.update_forbidden`.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "monitorIds": {
                    "minItems": 1,
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "changes": {
                    "type": "object",
                    "properties": {
                      "intervalSeconds": {
                        "type": "number",
                        "enum": [
                          30,
                          60,
                          120,
                          180,
                          300,
                          600,
                          900,
                          1800,
                          3600
                        ]
                      },
                      "timeoutSeconds": {
                        "type": "integer",
                        "minimum": 1,
                        "maximum": 30
                      },
                      "groupId": {
                        "nullable": true,
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                      },
                      "tagIds": {
                        "maxItems": 20,
                        "type": "array",
                        "items": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                        }
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "required": [
                  "monitorIds",
                  "changes"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "outcomes": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "ok": {
                            "type": "boolean"
                          },
                          "monitor": {
                            "description": "Present when ok is true.",
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "changedFields": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "enum": [
                                    "intervalSeconds",
                                    "timeoutSeconds",
                                    "groupId",
                                    "tags"
                                  ]
                                },
                                "description": "The settings this edit actually changed on it."
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "changedFields"
                            ],
                            "additionalProperties": false
                          },
                          "code": {
                            "description": "Present when ok is false.",
                            "type": "string",
                            "enum": [
                              "auth.cannot_revoke_current",
                              "auth.email_not_verified",
                              "auth.invalid_code",
                              "auth.invalid_credentials",
                              "auth.invalid_token",
                              "auth.password_too_long",
                              "auth.password_too_short",
                              "auth.totp_required",
                              "auth.two_factor_already_enabled",
                              "auth.two_factor_not_enabled",
                              "auth.unauthenticated",
                              "internal.error",
                              "invitation.already_member",
                              "invitation.limit_reached",
                              "invitation.not_found",
                              "account.password_incorrect",
                              "account.sole_owner",
                              "account.disabled",
                              "account.email_taken",
                              "account.email_unchanged",
                              "admin.not_an_operator",
                              "admin.permission_denied",
                              "admin.user_not_found",
                              "admin.workspace_not_found",
                              "admin.monitor_not_found",
                              "admin.incident_not_found",
                              "admin.plan_unknown",
                              "admin.plan_below_usage",
                              "admin.override_invalid",
                              "admin.subscription_not_found",
                              "alert_digest.invalid_window",
                              "alert_grouping.invalid",
                              "api.bulk_empty",
                              "audit.read_forbidden",
                              "billing.provider_unavailable",
                              "billing.plan_not_sold",
                              "billing.no_subscription",
                              "billing.subscription_state",
                              "billing.subscription_conflict",
                              "billing.webhook_rejected",
                              "entitlement.feature_not_included",
                              "escalation_steps.invalid",
                              "escalation.rotation_not_found",
                              "escalation_steps.contact_not_found",
                              "escalation_steps.channel_not_found",
                              "member.limit_reached",
                              "member.last_owner",
                              "member.not_found",
                              "member.role_not_assignable",
                              "monitor.account_limit_reached",
                              "monitor.confirmation_out_of_range",
                              "monitor.interval_not_allowed",
                              "monitor.limit_reached",
                              "monitor.timeout_not_allowed",
                              "monitor.update_forbidden",
                              "import.invalid_export",
                              "import.row_refused",
                              "import.secret_unavailable",
                              "import.source_key_refused",
                              "import.source_unavailable",
                              "import.unsupported_type",
                              "import.missing_target",
                              "import.invalid_target",
                              "import.invalid_name",
                              "import.unsupported_interval",
                              "import.too_many_rows",
                              "incident.not_found",
                              "incident.invalid_cursor",
                              "incident.impact_invalid",
                              "incident.assignee_not_member",
                              "incident.assignment_forbidden",
                              "incident.already_resolved",
                              "incident.not_resolved",
                              "incident.already_open",
                              "incident.not_manual",
                              "incident.cause_invalid",
                              "incident.declaration_forbidden",
                              "incident.export_too_large",
                              "action_item.not_found",
                              "action_item.too_many",
                              "action_item.incident_open",
                              "action_item.owner_not_member",
                              "action_item.due_in_past",
                              "postmortem.not_found",
                              "incident_comment.not_author",
                              "incident_comment.not_found",
                              "monitor.invalid_cursor",
                              "monitor.not_found",
                              "monitor.not_deleted",
                              "monitor.restore_window_expired",
                              "monitor.url_not_allowed",
                              "monitor.channel_not_found",
                              "monitor.keyword_needs_body",
                              "monitor.conditions_need_body",
                              "monitor.json_condition_needs_body",
                              "monitor.config_invalid",
                              "monitor.authorization_header_conflict",
                              "monitor.auth_value_has_scheme",
                              "monitor.domain_invalid",
                              "monitor.secrets_unavailable",
                              "monitor.host_not_allowed",
                              "monitor.not_a_heartbeat",
                              "monitor.slow_response_not_supported",
                              "monitor.baseline_not_supported",
                              "monitor.pause_until_in_past",
                              "monitor.pause_until_too_far",
                              "monitor.dependency_not_found",
                              "monitor.dependency_self",
                              "monitor.dependency_limit",
                              "monitor.dependency_duplicate",
                              "monitor.dependency_cycle",
                              "monitor.runbook_url_invalid",
                              "monitor.paused",
                              "monitor.check_too_soon",
                              "monitor.check_budget_spent",
                              "monitor.check_not_supported",
                              "monitor.no_capable_probe",
                              "manual_check.not_found",
                              "on_call.invalid_participant",
                              "on_call.invalid_window",
                              "on_call.invalid_name",
                              "on_call.name_taken",
                              "on_call.rotation_not_found",
                              "on_call.rotation_last",
                              "rotation.in_use",
                              "group.not_found",
                              "group.name_taken",
                              "group.limit_reached",
                              "group.order_invalid",
                              "idempotency.conflict",
                              "idempotency.in_progress",
                              "tag.not_found",
                              "tag.name_taken",
                              "tag.limit_reached",
                              "tag.limit_per_monitor",
                              "sla_policy.not_found",
                              "sla_policy.name_taken",
                              "sla_policy.monitor_already_covered",
                              "sla_report.not_found",
                              "sla_report.month_not_closed",
                              "sla_report.too_large",
                              "api_key.not_found",
                              "api_key.limit_reached",
                              "api_key.write_key_not_limited",
                              "api_key.monitor_not_allowed",
                              "api_key.not_rotatable",
                              "api_key.grace_out_of_range",
                              "contact.not_found",
                              "contact.already_exists",
                              "contact.limit_reached",
                              "contact.availability_invalid",
                              "contact.unavailable",
                              "maintenance.not_found",
                              "maintenance.not_editable",
                              "maintenance.limit_reached",
                              "maintenance.monitor_not_found",
                              "maintenance.group_not_found",
                              "maintenance.invalid_window",
                              "maintenance.skip_not_recurring",
                              "maintenance.skip_not_an_occurrence",
                              "maintenance.skip_started",
                              "maintenance.skip_already_skipped",
                              "maintenance.skip_not_found",
                              "maintenance_window.group_not_found",
                              "maintenance_window.limit_exceeded",
                              "maintenance_window.monitor_not_found",
                              "maintenance_window.not_active",
                              "maintenance_window.not_found",
                              "contact.not_verified",
                              "contact.unknown_contact",
                              "contact.verification_invalid",
                              "channel.not_found",
                              "channel.name_taken",
                              "channel.limit_reached",
                              "channel.config_invalid",
                              "channel.events_empty",
                              "channel.secret_unavailable",
                              "channel.secret_not_rotatable",
                              "delivery.not_found",
                              "delivery.not_retryable",
                              "delivery.paced",
                              "email.lane_budget_exhausted",
                              "email.suppression_not_found",
                              "email.webhook_rejected",
                              "alert_provider.not_configured",
                              "permission.denied",
                              "probe.enrolment_expired",
                              "probe.enrolment_invalid_key",
                              "probe.enrolment_invalid_request",
                              "probe.enrolment_revoked",
                              "probe.enrolment_unknown",
                              "probe.enrolment_used",
                              "request.content_type_not_allowed",
                              "request.cross_site",
                              "request.host_not_allowed",
                              "request.origin_missing",
                              "request.origin_not_allowed",
                              "request.rate_limited",
                              "resource.not_found",
                              "status_page.limit_reached",
                              "status_page.monitor_not_found",
                              "status_page.not_found",
                              "status_page.password_incorrect",
                              "status_page.slug_taken",
                              "status_page.unavailable",
                              "status_page.service_not_found",
                              "status_page.services_required",
                              "status_page.domain_invalid",
                              "status_page.domain_taken",
                              "status_page_announcement.invalid_window",
                              "status_page_announcement.limit_reached",
                              "status_page_announcement.not_found",
                              "status_page_subscriber.not_found",
                              "validation.failed",
                              "weekly_report.invalid_reader",
                              "workspace.limit_reached",
                              "workspace.not_found",
                              "workspace.nothing_to_change",
                              "workspace.import_limit_exceeded"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "ok"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "outcomes"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `monitor.update_forbidden`, `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/{id}/checks": {
      "get": {
        "summary": "The recent checks of a monitor",
        "description": "Newest first, within the thirty days kept. Each check says what it found and how long each step took.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "How many at most; the default is 50 for checks, 20 for incidents.",
              "type": "integer",
              "minimum": 1,
              "maximum": 300
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "The `next` of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "scheduledAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "finishedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "class": {
                            "type": "string",
                            "enum": [
                              "ok",
                              "fail",
                              "skipped",
                              "probe_suspect"
                            ]
                          },
                          "error": {
                            "nullable": true,
                            "type": "string",
                            "enum": [
                              "dns_not_found",
                              "dns_failure",
                              "dns_timeout",
                              "connection_refused",
                              "connection_timeout",
                              "connection_reset",
                              "network_unreachable",
                              "tls_certificate_expired",
                              "tls_certificate_invalid",
                              "tls_hostname_mismatch",
                              "tls_handshake_failed",
                              "timeout",
                              "unexpected_status",
                              "too_many_redirects",
                              "invalid_redirect",
                              "destination_not_allowed",
                              "response_headers_too_large",
                              "protocol_error",
                              "keyword_not_found",
                              "keyword_found",
                              "json_invalid",
                              "json_path_missing",
                              "json_value_mismatch",
                              "json_too_large",
                              "header_missing",
                              "header_mismatch",
                              "final_url_mismatch",
                              "dns_no_records",
                              "dns_unexpected_answer",
                              "heartbeat_missed",
                              "no_reply",
                              "domain_expiring",
                              "domain_expired",
                              "lease_expired",
                              "rate_limited",
                              "expired",
                              "probe_overloaded",
                              "secret_unavailable",
                              "icmp_unavailable",
                              "domain_expiry_unknown",
                              "probe_no_ipv6",
                              "own_destination",
                              "self_check_failed"
                            ]
                          },
                          "statusCode": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "responseMs": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "timings": {
                            "type": "object",
                            "properties": {
                              "dnsMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "connectMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "tlsMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "ttfbMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "dnsMs",
                              "connectMs",
                              "tlsMs",
                              "ttfbMs"
                            ],
                            "additionalProperties": false
                          },
                          "resolvedIp": {
                            "nullable": true,
                            "type": "string"
                          },
                          "redirects": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "attempts": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "ping": {
                            "nullable": true,
                            "description": "Only for a ping: the echo requests sent and the replies received. `responseMs` is the average round trip.",
                            "type": "object",
                            "properties": {
                              "sent": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "received": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "sent",
                              "received"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "scheduledAt",
                          "finishedAt",
                          "class",
                          "error",
                          "statusCode",
                          "responseMs",
                          "timings",
                          "resolvedIp",
                          "redirects",
                          "attempts",
                          "ping"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/{id}/summary": {
      "get": {
        "summary": "Uptime and response time",
        "description": "Over the last day, week and month, and hour by hour over the last day. Uptime counts only the time something of ours observed the target.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "windows": {
                      "type": "object",
                      "properties": {
                        "24h": {
                          "type": "object",
                          "properties": {
                            "coveredSeconds": {
                              "type": "number"
                            },
                            "downSeconds": {
                              "type": "number"
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "The share of covered time not spent down, 0 to 1.",
                              "type": "number"
                            },
                            "incidents": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many incidents of the monitor overlap the window."
                            },
                            "mtbfSeconds": {
                              "nullable": true,
                              "description": "Covered seconds per incident: the mean time between failures. Null without incidents or covered time.",
                              "type": "number"
                            },
                            "timeWithoutIncidentSeconds": {
                              "type": "number",
                              "description": "Covered seconds minus down seconds: the time no incident held the target down."
                            },
                            "checks": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "description": "The median, 95th and 99th percentile of the checks that passed, in milliseconds.",
                              "type": "object",
                              "properties": {
                                "median": {
                                  "type": "number"
                                },
                                "p95": {
                                  "type": "number"
                                },
                                "p99": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "median",
                                "p95",
                                "p99"
                              ],
                              "additionalProperties": false
                            },
                            "phases": {
                              "nullable": true,
                              "description": "DNS, connection and time to first byte of the checks that passed, in milliseconds.",
                              "type": "object",
                              "properties": {
                                "dns": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                },
                                "connect": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                },
                                "ttfb": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "dns",
                                "connect",
                                "ttfb"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "coveredSeconds",
                            "downSeconds",
                            "uptime",
                            "incidents",
                            "mtbfSeconds",
                            "timeWithoutIncidentSeconds",
                            "checks",
                            "responseMs",
                            "phases"
                          ],
                          "additionalProperties": false
                        },
                        "7d": {
                          "type": "object",
                          "properties": {
                            "coveredSeconds": {
                              "type": "number"
                            },
                            "downSeconds": {
                              "type": "number"
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "The share of covered time not spent down, 0 to 1.",
                              "type": "number"
                            },
                            "incidents": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many incidents of the monitor overlap the window."
                            },
                            "mtbfSeconds": {
                              "nullable": true,
                              "description": "Covered seconds per incident: the mean time between failures. Null without incidents or covered time.",
                              "type": "number"
                            },
                            "timeWithoutIncidentSeconds": {
                              "type": "number",
                              "description": "Covered seconds minus down seconds: the time no incident held the target down."
                            },
                            "checks": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "description": "The median, 95th and 99th percentile of the checks that passed, in milliseconds.",
                              "type": "object",
                              "properties": {
                                "median": {
                                  "type": "number"
                                },
                                "p95": {
                                  "type": "number"
                                },
                                "p99": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "median",
                                "p95",
                                "p99"
                              ],
                              "additionalProperties": false
                            },
                            "phases": {
                              "nullable": true,
                              "description": "DNS, connection and time to first byte of the checks that passed, in milliseconds.",
                              "type": "object",
                              "properties": {
                                "dns": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                },
                                "connect": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                },
                                "ttfb": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "dns",
                                "connect",
                                "ttfb"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "coveredSeconds",
                            "downSeconds",
                            "uptime",
                            "incidents",
                            "mtbfSeconds",
                            "timeWithoutIncidentSeconds",
                            "checks",
                            "responseMs",
                            "phases"
                          ],
                          "additionalProperties": false
                        },
                        "30d": {
                          "type": "object",
                          "properties": {
                            "coveredSeconds": {
                              "type": "number"
                            },
                            "downSeconds": {
                              "type": "number"
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "The share of covered time not spent down, 0 to 1.",
                              "type": "number"
                            },
                            "incidents": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many incidents of the monitor overlap the window."
                            },
                            "mtbfSeconds": {
                              "nullable": true,
                              "description": "Covered seconds per incident: the mean time between failures. Null without incidents or covered time.",
                              "type": "number"
                            },
                            "timeWithoutIncidentSeconds": {
                              "type": "number",
                              "description": "Covered seconds minus down seconds: the time no incident held the target down."
                            },
                            "checks": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "responseMs": {
                              "nullable": true,
                              "description": "The median, 95th and 99th percentile of the checks that passed, in milliseconds.",
                              "type": "object",
                              "properties": {
                                "median": {
                                  "type": "number"
                                },
                                "p95": {
                                  "type": "number"
                                },
                                "p99": {
                                  "type": "number"
                                }
                              },
                              "required": [
                                "median",
                                "p95",
                                "p99"
                              ],
                              "additionalProperties": false
                            },
                            "phases": {
                              "nullable": true,
                              "description": "DNS, connection and time to first byte of the checks that passed, in milliseconds.",
                              "type": "object",
                              "properties": {
                                "dns": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                },
                                "connect": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                },
                                "ttfb": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "median": {
                                      "type": "number"
                                    },
                                    "p95": {
                                      "type": "number"
                                    }
                                  },
                                  "required": [
                                    "median",
                                    "p95"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "dns",
                                "connect",
                                "ttfb"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "required": [
                            "coveredSeconds",
                            "downSeconds",
                            "uptime",
                            "incidents",
                            "mtbfSeconds",
                            "timeWithoutIncidentSeconds",
                            "checks",
                            "responseMs",
                            "phases"
                          ],
                          "additionalProperties": false
                        }
                      },
                      "required": [
                        "24h",
                        "7d",
                        "30d"
                      ],
                      "additionalProperties": false
                    },
                    "hours": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "from": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "coveredSeconds": {
                            "type": "number"
                          },
                          "downSeconds": {
                            "type": "number"
                          }
                        },
                        "required": [
                          "from",
                          "coveredSeconds",
                          "downSeconds"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "regions": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "region": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "up",
                              "down",
                              "unknown"
                            ]
                          },
                          "lastCheckedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "ageSeconds": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "region",
                          "state",
                          "lastCheckedAt",
                          "ageSeconds"
                        ],
                        "additionalProperties": false
                      },
                      "description": "What each region last said about the monitor, by region name."
                    },
                    "regionPerformance": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "region": {
                            "type": "string"
                          },
                          "checks": {
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "medianMs": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": 0,
                            "maximum": 9007199254740991
                          },
                          "lastCheckedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "region",
                          "checks",
                          "medianMs",
                          "lastCheckedAt"
                        ],
                        "additionalProperties": false
                      },
                      "description": "How each region performed over the last 24 hours: its valid checks and the median response of the ones that passed."
                    }
                  },
                  "required": [
                    "windows",
                    "hours",
                    "regions",
                    "regionPerformance"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitors/{id}/heartbeat": {
      "post": {
        "summary": "Regenerate a heartbeat's address",
        "description": "A new token; the old address answers nothing from now on. The new address is in this answer and nowhere else.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "monitor": {
                      "oneOf": [
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "http"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "url": {
                                  "type": "string"
                                },
                                "method": {
                                  "type": "string",
                                  "enum": [
                                    "GET",
                                    "HEAD",
                                    "POST",
                                    "PUT",
                                    "PATCH",
                                    "DELETE"
                                  ]
                                },
                                "followRedirects": {
                                  "type": "boolean"
                                },
                                "expectedStatus": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "keyword": {
                                  "nullable": true,
                                  "type": "string"
                                },
                                "keywordMustAppear": {
                                  "type": "boolean"
                                },
                                "conditions": {
                                  "type": "array",
                                  "items": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "body_contains"
                                            ]
                                          },
                                          "text": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "text"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "body_not_contains"
                                            ]
                                          },
                                          "text": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "text"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "json_exists"
                                            ]
                                          },
                                          "path": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "path"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "json_equals"
                                            ]
                                          },
                                          "path": {
                                            "type": "string"
                                          },
                                          "value": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "path",
                                          "value"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "header"
                                            ]
                                          },
                                          "name": {
                                            "type": "string"
                                          },
                                          "equals": {
                                            "nullable": true,
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "name",
                                          "equals"
                                        ],
                                        "additionalProperties": false
                                      },
                                      {
                                        "type": "object",
                                        "properties": {
                                          "type": {
                                            "type": "string",
                                            "enum": [
                                              "final_url"
                                            ]
                                          },
                                          "equals": {
                                            "type": "string"
                                          }
                                        },
                                        "required": [
                                          "type",
                                          "equals"
                                        ],
                                        "additionalProperties": false
                                      }
                                    ]
                                  }
                                },
                                "conditionMode": {
                                  "type": "string",
                                  "enum": [
                                    "all",
                                    "any"
                                  ]
                                },
                                "headers": {
                                  "type": "array",
                                  "items": {
                                    "type": "object",
                                    "properties": {
                                      "name": {
                                        "type": "string"
                                      },
                                      "value": {
                                        "type": "string"
                                      }
                                    },
                                    "required": [
                                      "name",
                                      "value"
                                    ],
                                    "additionalProperties": false
                                  }
                                },
                                "auth": {
                                  "oneOf": [
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "enum": [
                                            "none"
                                          ]
                                        }
                                      },
                                      "required": [
                                        "type"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "enum": [
                                            "basic"
                                          ]
                                        },
                                        "username": {
                                          "type": "string"
                                        },
                                        "password": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "username",
                                        "password"
                                      ],
                                      "additionalProperties": false
                                    },
                                    {
                                      "type": "object",
                                      "properties": {
                                        "type": {
                                          "type": "string",
                                          "enum": [
                                            "bearer"
                                          ]
                                        },
                                        "token": {
                                          "type": "string"
                                        }
                                      },
                                      "required": [
                                        "type",
                                        "token"
                                      ],
                                      "additionalProperties": false
                                    }
                                  ]
                                },
                                "body": {
                                  "nullable": true,
                                  "type": "object",
                                  "properties": {
                                    "contentType": {
                                      "type": "string"
                                    },
                                    "value": {
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "contentType",
                                    "value"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "required": [
                                "url",
                                "method",
                                "followRedirects",
                                "expectedStatus",
                                "keyword",
                                "keywordMustAppear",
                                "conditions",
                                "conditionMode",
                                "headers",
                                "auth",
                                "body"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "tcp"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "host": {
                                  "type": "string"
                                },
                                "port": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "host",
                                "port"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "dns"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "name": {
                                  "type": "string"
                                },
                                "recordType": {
                                  "type": "string",
                                  "enum": [
                                    "A",
                                    "AAAA",
                                    "CNAME",
                                    "MX",
                                    "TXT",
                                    "NS"
                                  ]
                                },
                                "expected": {
                                  "type": "array",
                                  "items": {
                                    "type": "string"
                                  }
                                },
                                "resolver": {
                                  "type": "string",
                                  "enum": [
                                    "system",
                                    "cloudflare",
                                    "google",
                                    "quad9",
                                    "opendns"
                                  ]
                                }
                              },
                              "required": [
                                "name",
                                "recordType",
                                "expected",
                                "resolver"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "heartbeat"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "periodSeconds": {
                                  "type": "number",
                                  "enum": [
                                    60,
                                    120,
                                    300,
                                    600,
                                    900,
                                    1800,
                                    3600,
                                    7200,
                                    21600,
                                    43200,
                                    86400,
                                    604800,
                                    2592000
                                  ]
                                },
                                "graceSeconds": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "periodSeconds",
                                "graceSeconds"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "ping"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "host": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "host"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "udp"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "host": {
                                  "type": "string"
                                },
                                "port": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "host",
                                "port"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        },
                        {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "domain"
                              ]
                            },
                            "config": {
                              "type": "object",
                              "properties": {
                                "domain": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "domain"
                              ],
                              "additionalProperties": false
                            },
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            },
                            "target": {
                              "type": "string",
                              "description": "What is checked, in one line: an address, host:port, \"MX example.com\", \"every 10 min\"."
                            },
                            "intervalSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How often it is checked; a heartbeat's period."
                            },
                            "timeoutSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "paused": {
                              "type": "boolean"
                            },
                            "pausedUntil": {
                              "nullable": true,
                              "description": "When a scheduled pause ends; null for an indefinite pause or no pause.",
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                            },
                            "status": {
                              "type": "string",
                              "enum": [
                                "pending",
                                "passing",
                                "failing",
                                "down",
                                "paused",
                                "unknown"
                              ]
                            },
                            "statusSince": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "pendingReason": {
                              "nullable": true,
                              "description": "Why it waits before its first check: the capability no live probe declares, or null when a live probe can check it.",
                              "type": "object",
                              "properties": {
                                "code": {
                                  "type": "string",
                                  "enum": [
                                    "no_probe_capability"
                                  ]
                                },
                                "missingCapability": {
                                  "type": "string",
                                  "enum": [
                                    "http",
                                    "tcp",
                                    "dns",
                                    "http_secrets",
                                    "icmp",
                                    "udp",
                                    "domain",
                                    "ipv6"
                                  ]
                                }
                              },
                              "required": [
                                "code",
                                "missingCapability"
                              ],
                              "additionalProperties": false
                            },
                            "lastCheck": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "at": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "class": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "fail"
                                  ]
                                },
                                "error": {
                                  "nullable": true,
                                  "type": "string",
                                  "enum": [
                                    "dns_not_found",
                                    "dns_failure",
                                    "dns_timeout",
                                    "connection_refused",
                                    "connection_timeout",
                                    "connection_reset",
                                    "network_unreachable",
                                    "tls_certificate_expired",
                                    "tls_certificate_invalid",
                                    "tls_hostname_mismatch",
                                    "tls_handshake_failed",
                                    "timeout",
                                    "unexpected_status",
                                    "too_many_redirects",
                                    "invalid_redirect",
                                    "destination_not_allowed",
                                    "response_headers_too_large",
                                    "protocol_error",
                                    "keyword_not_found",
                                    "keyword_found",
                                    "json_invalid",
                                    "json_path_missing",
                                    "json_value_mismatch",
                                    "json_too_large",
                                    "header_missing",
                                    "header_mismatch",
                                    "final_url_mismatch",
                                    "dns_no_records",
                                    "dns_unexpected_answer",
                                    "heartbeat_missed",
                                    "no_reply",
                                    "domain_expiring",
                                    "domain_expired",
                                    "lease_expired",
                                    "rate_limited",
                                    "expired",
                                    "probe_overloaded",
                                    "secret_unavailable",
                                    "icmp_unavailable",
                                    "domain_expiry_unknown",
                                    "probe_no_ipv6",
                                    "own_destination",
                                    "self_check_failed"
                                  ]
                                },
                                "statusCode": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "responseMs": {
                                  "nullable": true,
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                }
                              },
                              "required": [
                                "at",
                                "class",
                                "error",
                                "statusCode",
                                "responseMs"
                              ],
                              "additionalProperties": false
                            },
                            "certificate": {
                              "nullable": true,
                              "description": "Only over HTTPS, once a check connected.",
                              "type": "object",
                              "properties": {
                                "notBefore": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "notAfter": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "issuer": {
                                  "type": "string"
                                },
                                "subject": {
                                  "type": "string"
                                },
                                "sans": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "seenAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "daysLeft": {
                                  "type": "integer",
                                  "minimum": -9007199254740991,
                                  "maximum": 9007199254740991
                                },
                                "state": {
                                  "type": "string",
                                  "enum": [
                                    "ok",
                                    "attention",
                                    "critical",
                                    "expired",
                                    "invalid"
                                  ]
                                }
                              },
                              "required": [
                                "notBefore",
                                "notAfter",
                                "issuer",
                                "subject",
                                "sans",
                                "seenAt",
                                "daysLeft",
                                "state"
                              ],
                              "additionalProperties": false
                            },
                            "maintenance": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                },
                                "endsAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "id",
                                "name",
                                "endsAt"
                              ],
                              "additionalProperties": false
                            },
                            "incident": {
                              "nullable": true,
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "startedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "confirmedAt": {
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "recovering": {
                                  "type": "boolean"
                                },
                                "flapping": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "id",
                                "startedAt",
                                "confirmedAt",
                                "recovering",
                                "flapping"
                              ],
                              "additionalProperties": false
                            },
                            "notifications": {
                              "type": "object",
                              "properties": {
                                "alertMembers": {
                                  "type": "boolean"
                                },
                                "contactIds": {
                                  "type": "array",
                                  "items": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  }
                                },
                                "quietUntil": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "quietForever": {
                                  "type": "boolean"
                                }
                              },
                              "required": [
                                "alertMembers",
                                "contactIds",
                                "quietUntil",
                                "quietForever"
                              ],
                              "additionalProperties": false
                            },
                            "groupId": {
                              "nullable": true,
                              "description": "The monitor’s group, or null when ungrouped.",
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                            },
                            "groupName": {
                              "nullable": true,
                              "type": "string"
                            },
                            "groupState": {
                              "nullable": true,
                              "description": "The state the monitor’s group rolls up to, or null when it has none.",
                              "type": "string",
                              "enum": [
                                "operational",
                                "degraded",
                                "down",
                                "maintenance",
                                "unknown"
                              ]
                            },
                            "tags": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "id": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                    "description": "An identifier, UUID version 7."
                                  },
                                  "name": {
                                    "type": "string"
                                  }
                                },
                                "required": [
                                  "id",
                                  "name"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "nextCheckAt": {
                              "nullable": true,
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "heartbeat": {
                              "nullable": true,
                              "description": "Only for a heartbeat.",
                              "type": "object",
                              "properties": {
                                "lastPingAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                },
                                "dueAt": {
                                  "nullable": true,
                                  "type": "string",
                                  "format": "date-time",
                                  "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                  "description": "A moment, ISO 8601 in UTC."
                                }
                              },
                              "required": [
                                "lastPingAt",
                                "dueAt"
                              ],
                              "additionalProperties": false
                            },
                            "createdAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            },
                            "updatedAt": {
                              "type": "string",
                              "format": "date-time",
                              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                              "description": "A moment, ISO 8601 in UTC."
                            }
                          },
                          "required": [
                            "type",
                            "config",
                            "id",
                            "name",
                            "target",
                            "intervalSeconds",
                            "timeoutSeconds",
                            "paused",
                            "pausedUntil",
                            "status",
                            "statusSince",
                            "pendingReason",
                            "lastCheck",
                            "certificate",
                            "maintenance",
                            "incident",
                            "notifications",
                            "groupId",
                            "groupName",
                            "groupState",
                            "tags",
                            "nextCheckAt",
                            "heartbeat",
                            "createdAt",
                            "updatedAt"
                          ],
                          "additionalProperties": false
                        }
                      ]
                    },
                    "heartbeatUrl": {
                      "description": "A heartbeat's address, given once: here, and when its token is regenerated.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "monitor"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `monitor.not_a_heartbeat`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitor-groups": {
      "get": {
        "summary": "List the monitor groups",
        "description": "The groups of the workspace, by name. A monitor without one is ungrouped.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "groups": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "name": {
                            "type": "string"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "operational",
                              "degraded",
                              "down",
                              "maintenance",
                              "unknown"
                            ],
                            "description": "The state its monitors roll up to (NV-102.1)."
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "state",
                          "createdAt",
                          "updatedAt"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "groups"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Create a monitor group",
        "description": "A folder for monitors; a name unique in the workspace, compared without case.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 60
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "group": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ],
                          "description": "The state its monitors roll up to (NV-102.1)."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "state",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "group"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `group.name_taken`, `group.limit_reached`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/monitor-groups/{id}": {
      "patch": {
        "summary": "Rename a monitor group",
        "description": "Changes the group’s name, not its monitors.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 60
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "group": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "operational",
                            "degraded",
                            "down",
                            "maintenance",
                            "unknown"
                          ],
                          "description": "The state its monitors roll up to (NV-102.1)."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "state",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "group"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `group.not_found`, `group.name_taken`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Delete a monitor group",
        "description": "The monitors in it become ungrouped; none is deleted or paused.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `group.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/sla-policies": {
      "get": {
        "summary": "List the SLA policies",
        "description": "The workspace’s named availability promises, each with its target, window, members and the verdict measured over its window.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "policies": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "name": {
                            "type": "string"
                          },
                          "targetBp": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "windowDays": {
                            "anyOf": [
                              {
                                "type": "number",
                                "enum": [
                                  7
                                ]
                              },
                              {
                                "type": "number",
                                "enum": [
                                  30
                                ]
                              },
                              {
                                "type": "number",
                                "enum": [
                                  90
                                ]
                              }
                            ]
                          },
                          "monitors": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                },
                                "name": {
                                  "type": "string"
                                }
                              },
                              "required": [
                                "id",
                                "name"
                              ],
                              "additionalProperties": false
                            }
                          },
                          "status": {
                            "type": "object",
                            "properties": {
                              "targetBp": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "The availability promised, in basis points."
                              },
                              "targetUptime": {
                                "type": "number",
                                "description": "The target as a ratio."
                              },
                              "windowSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "coveredSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "downSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "allowedDownSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "remainingDownSeconds": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "uptime": {
                                "nullable": true,
                                "description": "Null when nothing was observed.",
                                "type": "number"
                              },
                              "met": {
                                "nullable": true,
                                "description": "Null when nothing was observed, never an invented pass.",
                                "type": "boolean"
                              },
                              "members": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "monitorId": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                    },
                                    "coveredSeconds": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "downSeconds": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    },
                                    "met": {
                                      "nullable": true,
                                      "type": "boolean"
                                    }
                                  },
                                  "required": [
                                    "monitorId",
                                    "coveredSeconds",
                                    "downSeconds",
                                    "met"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "observations": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991,
                                "description": "How many members had covered time in the window."
                              }
                            },
                            "required": [
                              "targetBp",
                              "targetUptime",
                              "windowSeconds",
                              "coveredSeconds",
                              "downSeconds",
                              "allowedDownSeconds",
                              "remainingDownSeconds",
                              "uptime",
                              "met",
                              "members",
                              "observations"
                            ],
                            "additionalProperties": false
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "targetBp",
                          "windowDays",
                          "monitors",
                          "status",
                          "createdAt",
                          "updatedAt"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "policies"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Create an SLA policy",
        "description": "A name unique in the workspace, a target in basis points and a window of 7, 30 or 90 days. It covers no monitor until monitors are added.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "targetBp": {
                    "type": "integer",
                    "minimum": 9000,
                    "maximum": 10000
                  },
                  "windowDays": {
                    "anyOf": [
                      {
                        "type": "number",
                        "enum": [
                          7
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          30
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          90
                        ]
                      }
                    ]
                  }
                },
                "required": [
                  "name",
                  "targetBp",
                  "windowDays"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "policy": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "targetBp": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "windowDays": {
                          "anyOf": [
                            {
                              "type": "number",
                              "enum": [
                                7
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                30
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                90
                              ]
                            }
                          ]
                        },
                        "monitors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "status": {
                          "type": "object",
                          "properties": {
                            "targetBp": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "The availability promised, in basis points."
                            },
                            "targetUptime": {
                              "type": "number",
                              "description": "The target as a ratio."
                            },
                            "windowSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "coveredSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "downSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "allowedDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "remainingDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "Null when nothing was observed.",
                              "type": "number"
                            },
                            "met": {
                              "nullable": true,
                              "description": "Null when nothing was observed, never an invented pass.",
                              "type": "boolean"
                            },
                            "members": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "monitorId": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "coveredSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "downSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "met": {
                                    "nullable": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "monitorId",
                                  "coveredSeconds",
                                  "downSeconds",
                                  "met"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "observations": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many members had covered time in the window."
                            }
                          },
                          "required": [
                            "targetBp",
                            "targetUptime",
                            "windowSeconds",
                            "coveredSeconds",
                            "downSeconds",
                            "allowedDownSeconds",
                            "remainingDownSeconds",
                            "uptime",
                            "met",
                            "members",
                            "observations"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "targetBp",
                        "windowDays",
                        "monitors",
                        "status",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "policy"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `sla_policy.name_taken`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/sla-policies/{id}": {
      "get": {
        "summary": "Read an SLA policy",
        "description": "Its name, target, window, members and the verdict measured over the window. A policy of another workspace is answered as absent.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "policy": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "targetBp": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "windowDays": {
                          "anyOf": [
                            {
                              "type": "number",
                              "enum": [
                                7
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                30
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                90
                              ]
                            }
                          ]
                        },
                        "monitors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "status": {
                          "type": "object",
                          "properties": {
                            "targetBp": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "The availability promised, in basis points."
                            },
                            "targetUptime": {
                              "type": "number",
                              "description": "The target as a ratio."
                            },
                            "windowSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "coveredSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "downSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "allowedDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "remainingDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "Null when nothing was observed.",
                              "type": "number"
                            },
                            "met": {
                              "nullable": true,
                              "description": "Null when nothing was observed, never an invented pass.",
                              "type": "boolean"
                            },
                            "members": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "monitorId": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "coveredSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "downSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "met": {
                                    "nullable": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "monitorId",
                                  "coveredSeconds",
                                  "downSeconds",
                                  "met"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "observations": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many members had covered time in the window."
                            }
                          },
                          "required": [
                            "targetBp",
                            "targetUptime",
                            "windowSeconds",
                            "coveredSeconds",
                            "downSeconds",
                            "allowedDownSeconds",
                            "remainingDownSeconds",
                            "uptime",
                            "met",
                            "members",
                            "observations"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "targetBp",
                        "windowDays",
                        "monitors",
                        "status",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "policy"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "summary": "Edit an SLA policy",
        "description": "Changes its name, target or window; absent fields keep what is stored.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 80
                  },
                  "targetBp": {
                    "type": "integer",
                    "minimum": 9000,
                    "maximum": 10000
                  },
                  "windowDays": {
                    "anyOf": [
                      {
                        "type": "number",
                        "enum": [
                          7
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          30
                        ]
                      },
                      {
                        "type": "number",
                        "enum": [
                          90
                        ]
                      }
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "policy": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "targetBp": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "windowDays": {
                          "anyOf": [
                            {
                              "type": "number",
                              "enum": [
                                7
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                30
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                90
                              ]
                            }
                          ]
                        },
                        "monitors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "status": {
                          "type": "object",
                          "properties": {
                            "targetBp": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "The availability promised, in basis points."
                            },
                            "targetUptime": {
                              "type": "number",
                              "description": "The target as a ratio."
                            },
                            "windowSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "coveredSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "downSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "allowedDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "remainingDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "Null when nothing was observed.",
                              "type": "number"
                            },
                            "met": {
                              "nullable": true,
                              "description": "Null when nothing was observed, never an invented pass.",
                              "type": "boolean"
                            },
                            "members": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "monitorId": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "coveredSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "downSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "met": {
                                    "nullable": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "monitorId",
                                  "coveredSeconds",
                                  "downSeconds",
                                  "met"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "observations": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many members had covered time in the window."
                            }
                          },
                          "required": [
                            "targetBp",
                            "targetUptime",
                            "windowSeconds",
                            "coveredSeconds",
                            "downSeconds",
                            "allowedDownSeconds",
                            "remainingDownSeconds",
                            "uptime",
                            "met",
                            "members",
                            "observations"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "targetBp",
                        "windowDays",
                        "monitors",
                        "status",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "policy"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `sla_policy.name_taken`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Delete an SLA policy",
        "description": "Its memberships go with it, and every monitor it covered answers its own target again.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/sla-policies/{id}/monitors": {
      "post": {
        "summary": "Add monitors to an SLA policy",
        "description": "Explicit monitor ids, or a group or tag shortcut resolved at the moment of the write. A monitor already covered by another policy is refused.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "monitorIds": {
                    "minItems": 1,
                    "maxItems": 500,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "groupId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "tag": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 40
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "policy": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "targetBp": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "windowDays": {
                          "anyOf": [
                            {
                              "type": "number",
                              "enum": [
                                7
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                30
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                90
                              ]
                            }
                          ]
                        },
                        "monitors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "status": {
                          "type": "object",
                          "properties": {
                            "targetBp": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "The availability promised, in basis points."
                            },
                            "targetUptime": {
                              "type": "number",
                              "description": "The target as a ratio."
                            },
                            "windowSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "coveredSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "downSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "allowedDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "remainingDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "Null when nothing was observed.",
                              "type": "number"
                            },
                            "met": {
                              "nullable": true,
                              "description": "Null when nothing was observed, never an invented pass.",
                              "type": "boolean"
                            },
                            "members": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "monitorId": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "coveredSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "downSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "met": {
                                    "nullable": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "monitorId",
                                  "coveredSeconds",
                                  "downSeconds",
                                  "met"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "observations": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many members had covered time in the window."
                            }
                          },
                          "required": [
                            "targetBp",
                            "targetUptime",
                            "windowSeconds",
                            "coveredSeconds",
                            "downSeconds",
                            "allowedDownSeconds",
                            "remainingDownSeconds",
                            "uptime",
                            "met",
                            "members",
                            "observations"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "targetBp",
                        "windowDays",
                        "monitors",
                        "status",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "policy"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `sla_policy.monitor_already_covered`, `group.not_found`, `tag.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Remove monitors from an SLA policy",
        "description": "The monitors keep their own target; the policy’s verdict is measured again.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "monitorIds": {
                    "minItems": 1,
                    "maxItems": 500,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "monitorIds"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "policy": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "targetBp": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "windowDays": {
                          "anyOf": [
                            {
                              "type": "number",
                              "enum": [
                                7
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                30
                              ]
                            },
                            {
                              "type": "number",
                              "enum": [
                                90
                              ]
                            }
                          ]
                        },
                        "monitors": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "status": {
                          "type": "object",
                          "properties": {
                            "targetBp": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "The availability promised, in basis points."
                            },
                            "targetUptime": {
                              "type": "number",
                              "description": "The target as a ratio."
                            },
                            "windowSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "coveredSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "downSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "allowedDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "remainingDownSeconds": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991
                            },
                            "uptime": {
                              "nullable": true,
                              "description": "Null when nothing was observed.",
                              "type": "number"
                            },
                            "met": {
                              "nullable": true,
                              "description": "Null when nothing was observed, never an invented pass.",
                              "type": "boolean"
                            },
                            "members": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "monitorId": {
                                    "type": "string",
                                    "format": "uuid",
                                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                                  },
                                  "coveredSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "downSeconds": {
                                    "type": "integer",
                                    "minimum": -9007199254740991,
                                    "maximum": 9007199254740991
                                  },
                                  "met": {
                                    "nullable": true,
                                    "type": "boolean"
                                  }
                                },
                                "required": [
                                  "monitorId",
                                  "coveredSeconds",
                                  "downSeconds",
                                  "met"
                                ],
                                "additionalProperties": false
                              }
                            },
                            "observations": {
                              "type": "integer",
                              "minimum": -9007199254740991,
                              "maximum": 9007199254740991,
                              "description": "How many members had covered time in the window."
                            }
                          },
                          "required": [
                            "targetBp",
                            "targetUptime",
                            "windowSeconds",
                            "coveredSeconds",
                            "downSeconds",
                            "allowedDownSeconds",
                            "remainingDownSeconds",
                            "uptime",
                            "met",
                            "members",
                            "observations"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "targetBp",
                        "windowDays",
                        "monitors",
                        "status",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "policy"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `monitor.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/tags": {
      "get": {
        "summary": "List the tags",
        "description": "The workspace’s labels, by name.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "tags": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "name": {
                            "type": "string"
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "createdAt",
                          "updatedAt"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "tags"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Create a tag",
        "description": "A label in the workspace’s own namespace; its name is unique without case.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 40
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "tag": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tag"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `tag.name_taken`, `tag.limit_reached`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/tags/{id}": {
      "patch": {
        "summary": "Rename a tag",
        "description": "Changes the word; every monitor carrying it keeps it.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 40
                  }
                },
                "required": [
                  "name"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "tag": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "name": {
                          "type": "string"
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "name",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "tag"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `tag.not_found`, `tag.name_taken`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Delete a tag",
        "description": "Detaches it from every monitor; no monitor is changed otherwise.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `tag.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/alert-contacts": {
      "get": {
        "summary": "List the alert contacts",
        "description": "The addresses the workspace tells about incidents, and the most it may hold. An address receives nothing until its link is followed.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "email": {
                            "type": "string"
                          },
                          "name": {
                            "nullable": true,
                            "type": "string"
                          },
                          "isDefault": {
                            "type": "boolean",
                            "description": "Told for the monitors that choose no contacts of their own."
                          },
                          "verified": {
                            "type": "boolean"
                          },
                          "verificationSentAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "email",
                          "name",
                          "isDefault",
                          "verified",
                          "verificationSentAt",
                          "createdAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    },
                    "max": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "items",
                    "next",
                    "max"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Add an alert contact",
        "description": "A new address, unverified: a link is emailed, and only once it is followed is the address told anything. A retry with the same `Idempotency-Key` replays the answer and sends no second link.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "email": {
                    "type": "string",
                    "maxLength": 320,
                    "format": "email",
                    "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                  },
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "isDefault": {
                    "default": true,
                    "type": "boolean"
                  },
                  "availability": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "days": {
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 6
                        }
                      },
                      "from": {
                        "nullable": true,
                        "type": "string",
                        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                      },
                      "to": {
                        "nullable": true,
                        "type": "string",
                        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                      },
                      "timezone": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "days",
                      "from",
                      "to",
                      "timezone"
                    ],
                    "additionalProperties": false
                  }
                },
                "required": [
                  "email"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "contact": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "email": {
                          "type": "string"
                        },
                        "name": {
                          "nullable": true,
                          "type": "string"
                        },
                        "isDefault": {
                          "type": "boolean",
                          "description": "Told for the monitors that choose no contacts of their own."
                        },
                        "verified": {
                          "type": "boolean"
                        },
                        "verificationSentAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "email",
                        "name",
                        "isDefault",
                        "verified",
                        "verificationSentAt",
                        "createdAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "contact"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `contact.already_exists`, `contact.limit_reached`, `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/alert-contacts/{id}": {
      "get": {
        "summary": "Read an alert contact",
        "description": "One address and whether it has been verified.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "email": {
                      "type": "string"
                    },
                    "name": {
                      "nullable": true,
                      "type": "string"
                    },
                    "isDefault": {
                      "type": "boolean",
                      "description": "Told for the monitors that choose no contacts of their own."
                    },
                    "verified": {
                      "type": "boolean"
                    },
                    "verificationSentAt": {
                      "nullable": true,
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    }
                  },
                  "required": [
                    "id",
                    "email",
                    "name",
                    "isDefault",
                    "verified",
                    "verificationSentAt",
                    "createdAt"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `contact.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "summary": "Change an alert contact",
        "description": "Its name, or whether it is told for the monitors that choose none of their own.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "isDefault": {
                    "type": "boolean"
                  },
                  "availability": {
                    "nullable": true,
                    "type": "object",
                    "properties": {
                      "days": {
                        "maxItems": 7,
                        "type": "array",
                        "items": {
                          "type": "integer",
                          "minimum": 0,
                          "maximum": 6
                        }
                      },
                      "from": {
                        "nullable": true,
                        "type": "string",
                        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                      },
                      "to": {
                        "nullable": true,
                        "type": "string",
                        "pattern": "^([01]\\d|2[0-3]):[0-5]\\d$"
                      },
                      "timezone": {
                        "type": "string",
                        "minLength": 1,
                        "maxLength": 64
                      }
                    },
                    "required": [
                      "days",
                      "from",
                      "to",
                      "timezone"
                    ],
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "contact": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "email": {
                          "type": "string"
                        },
                        "name": {
                          "nullable": true,
                          "type": "string"
                        },
                        "isDefault": {
                          "type": "boolean",
                          "description": "Told for the monitors that choose no contacts of their own."
                        },
                        "verified": {
                          "type": "boolean"
                        },
                        "verificationSentAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "email",
                        "name",
                        "isDefault",
                        "verified",
                        "verificationSentAt",
                        "createdAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "contact"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `contact.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Remove an alert contact",
        "description": "The monitors that chose it stop naming it; one left without any falls back to the defaults.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `contact.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/alert-contacts/{id}/resend": {
      "post": {
        "summary": "Send the verification link again",
        "description": "A new token and a new message; the previous link stops working.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accepted": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "accepted"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `contact.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/alert-contacts/{id}/test": {
      "post": {
        "summary": "Send a test message",
        "description": "A test through the alert lane, only to an address whose link has been followed.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "202": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "accepted": {
                      "type": "boolean"
                    }
                  },
                  "required": [
                    "accepted"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `contact.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `contact.not_verified`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/report-settings": {
      "get": {
        "summary": "The weekly report’s readers",
        "description": "Whether the workspace receives its weekly report and who it reaches: the owners and administrators by default, the members and verified contacts the workspace named instead, or nobody when it is off. A read key may see it.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "weeklyReport": {
                      "type": "object",
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "memberIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "description": "Chosen members; empty with `contactIds` means the owners and administrators."
                        },
                        "contactIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "description": "Chosen verified contacts; empty with `memberIds` is the default."
                        },
                        "updatedAt": {
                          "nullable": true,
                          "description": "When it was last saved; null while it is the default.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        }
                      },
                      "required": [
                        "enabled",
                        "memberIds",
                        "contactIds",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    "readers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "member",
                              "contact"
                            ]
                          },
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "email": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "email",
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "weeklyReport",
                    "readers"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "put": {
        "summary": "Choose the weekly report’s readers",
        "description": "Replaces the whole choice: the switch and the two lists. An id that is not a member or a verified contact of this workspace is refused with `weekly_report.invalid_reader`. Only an owner or an administrator may change it, so a key’s write scope is refused.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "enabled": {
                    "type": "boolean"
                  },
                  "memberIds": {
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "contactIds": {
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "enabled",
                  "memberIds",
                  "contactIds"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "weeklyReport": {
                      "type": "object",
                      "properties": {
                        "enabled": {
                          "type": "boolean"
                        },
                        "memberIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "description": "Chosen members; empty with `contactIds` means the owners and administrators."
                        },
                        "contactIds": {
                          "type": "array",
                          "items": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "description": "Chosen verified contacts; empty with `memberIds` is the default."
                        },
                        "updatedAt": {
                          "nullable": true,
                          "description": "When it was last saved; null while it is the default.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        }
                      },
                      "required": [
                        "enabled",
                        "memberIds",
                        "contactIds",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    },
                    "readers": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "member",
                              "contact"
                            ]
                          },
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "email": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          }
                        },
                        "required": [
                          "kind",
                          "id",
                          "email",
                          "name"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "weeklyReport",
                    "readers"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `weekly_report.invalid_reader`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/status-pages": {
      "get": {
        "summary": "List the status pages",
        "description": "The pages of the workspace, with their services and whether each is published. A key reads them; publishing one is an owner or an administrator in the dashboard.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "slug": {
                            "type": "string"
                          },
                          "title": {
                            "type": "string"
                          },
                          "description": {
                            "nullable": true,
                            "type": "string"
                          },
                          "accentColor": {
                            "nullable": true,
                            "type": "string"
                          },
                          "logoUrl": {
                            "nullable": true,
                            "type": "string"
                          },
                          "subscriberAlertBudget": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "hasPassword": {
                            "type": "boolean"
                          },
                          "published": {
                            "type": "boolean"
                          },
                          "publishedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "customDomain": {
                            "type": "object",
                            "properties": {
                              "domain": {
                                "nullable": true,
                                "type": "string"
                              },
                              "txtName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "txtValue": {
                                "nullable": true,
                                "type": "string"
                              },
                              "state": {
                                "type": "string",
                                "enum": [
                                  "none",
                                  "pending",
                                  "verified",
                                  "lapsed"
                                ]
                              },
                              "lastCheckedAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              },
                              "lastCheckOutcome": {
                                "nullable": true,
                                "type": "string",
                                "enum": [
                                  "verified",
                                  "missing",
                                  "mismatch",
                                  "unavailable"
                                ]
                              },
                              "lapsedAt": {
                                "nullable": true,
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                                "description": "A moment, ISO 8601 in UTC."
                              }
                            },
                            "required": [
                              "domain",
                              "txtName",
                              "txtValue",
                              "state",
                              "lastCheckedAt",
                              "lastCheckOutcome",
                              "lapsedAt"
                            ],
                            "additionalProperties": false
                          },
                          "services": {
                            "type": "array",
                            "items": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "monitor"
                                      ]
                                    },
                                    "monitorId": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "displayName": {
                                      "nullable": true,
                                      "type": "string"
                                    },
                                    "position": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "monitorId",
                                    "name",
                                    "displayName",
                                    "position"
                                  ],
                                  "additionalProperties": false
                                },
                                {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "group"
                                      ]
                                    },
                                    "groupId": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "type": "string"
                                    },
                                    "monitorIds": {
                                      "type": "array",
                                      "items": {
                                        "type": "string",
                                        "format": "uuid",
                                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                        "description": "An identifier, UUID version 7."
                                      }
                                    },
                                    "position": {
                                      "type": "integer",
                                      "minimum": -9007199254740991,
                                      "maximum": 9007199254740991
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "groupId",
                                    "name",
                                    "monitorIds",
                                    "position"
                                  ],
                                  "additionalProperties": false
                                }
                              ]
                            }
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "slug",
                          "title",
                          "description",
                          "accentColor",
                          "logoUrl",
                          "subscriberAlertBudget",
                          "hasPassword",
                          "published",
                          "publishedAt",
                          "customDomain",
                          "services",
                          "createdAt",
                          "updatedAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/status-pages/{id}": {
      "get": {
        "summary": "Read a status page",
        "description": "One page with its services, its address and whether it is published.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "slug": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    },
                    "description": {
                      "nullable": true,
                      "type": "string"
                    },
                    "accentColor": {
                      "nullable": true,
                      "type": "string"
                    },
                    "logoUrl": {
                      "nullable": true,
                      "type": "string"
                    },
                    "subscriberAlertBudget": {
                      "type": "integer",
                      "minimum": -9007199254740991,
                      "maximum": 9007199254740991
                    },
                    "hasPassword": {
                      "type": "boolean"
                    },
                    "published": {
                      "type": "boolean"
                    },
                    "publishedAt": {
                      "nullable": true,
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "customDomain": {
                      "type": "object",
                      "properties": {
                        "domain": {
                          "nullable": true,
                          "type": "string"
                        },
                        "txtName": {
                          "nullable": true,
                          "type": "string"
                        },
                        "txtValue": {
                          "nullable": true,
                          "type": "string"
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "none",
                            "pending",
                            "verified",
                            "lapsed"
                          ]
                        },
                        "lastCheckedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "lastCheckOutcome": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "verified",
                            "missing",
                            "mismatch",
                            "unavailable"
                          ]
                        },
                        "lapsedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "domain",
                        "txtName",
                        "txtValue",
                        "state",
                        "lastCheckedAt",
                        "lastCheckOutcome",
                        "lapsedAt"
                      ],
                      "additionalProperties": false
                    },
                    "services": {
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "monitor"
                                ]
                              },
                              "monitorId": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "displayName": {
                                "nullable": true,
                                "type": "string"
                              },
                              "position": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "kind",
                              "monitorId",
                              "name",
                              "displayName",
                              "position"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "group"
                                ]
                              },
                              "groupId": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "monitorIds": {
                                "type": "array",
                                "items": {
                                  "type": "string",
                                  "format": "uuid",
                                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                  "description": "An identifier, UUID version 7."
                                }
                              },
                              "position": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "kind",
                              "groupId",
                              "name",
                              "monitorIds",
                              "position"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      }
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "updatedAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    }
                  },
                  "required": [
                    "id",
                    "slug",
                    "title",
                    "description",
                    "accentColor",
                    "logoUrl",
                    "subscriberAlertBudget",
                    "hasPassword",
                    "published",
                    "publishedAt",
                    "customDomain",
                    "services",
                    "createdAt",
                    "updatedAt"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/status-pages/{id}/announcements": {
      "get": {
        "summary": "List the notices of a status page",
        "description": "The dated notices of the page, newest first, ended ones included. A visitor reads only the ones under way or still to come; the workspace manages the whole list.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "title": {
                            "nullable": true,
                            "type": "string"
                          },
                          "body": {
                            "type": "string"
                          },
                          "startsAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "endsAt": {
                            "nullable": true,
                            "description": "Null while the notice has no end.",
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "updatedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "title",
                          "body",
                          "startsAt",
                          "endsAt",
                          "createdAt",
                          "updatedAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Publish a notice",
        "description": "A notice is public copy with a window. A page holds at most twenty notices under way or still to come; an ended one stops counting. A write key publishes one as a member does.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "body": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "startsAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "endsAt": {
                    "nullable": true,
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  }
                },
                "required": [
                  "body",
                  "startsAt"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "announcement": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "title": {
                          "nullable": true,
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "startsAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "endsAt": {
                          "nullable": true,
                          "description": "Null while the notice has no end.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "title",
                        "body",
                        "startsAt",
                        "endsAt",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "announcement"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `status_page_announcement.invalid_window`, `status_page_announcement.limit_reached`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/status-pages/{id}/announcements/{announcementId}": {
      "patch": {
        "summary": "Change a notice",
        "description": "A partial change, judged against the stored notice: moving only the end is as able to invert the window as sending both.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "announcementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "body": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 2000
                  },
                  "startsAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "endsAt": {
                    "nullable": true,
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "announcement": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "title": {
                          "nullable": true,
                          "type": "string"
                        },
                        "body": {
                          "type": "string"
                        },
                        "startsAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "endsAt": {
                          "nullable": true,
                          "description": "Null while the notice has no end.",
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "title",
                        "body",
                        "startsAt",
                        "endsAt",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "announcement"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `status_page_announcement.not_found`, `status_page_announcement.invalid_window`, `status_page_announcement.limit_reached`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Remove a notice",
        "description": "The words leave the page at once; an ended notice could simply be left to expire.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "announcementId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `status_page_announcement.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/status-pages/{id}/services/{monitorId}/state": {
      "post": {
        "summary": "Report a state for one published service",
        "description": "Tell the page what one of its services is doing when the cause is outside our checks — a payment provider, a CDN, a mail relay — with a note and a deadline. The page shows that state and its note until the deadline, then the monitors speak again by themselves; an expired state changes nothing a visitor reads, even before it is cleared. History, availability and the SLA keep what the monitors measured. The service is addressed by the monitor the page publishes as its own service; a monitor that is not one answers `status_page.service_not_found`. A write key reports one as a member does, and the change is audited.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "monitorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "state": {
                    "type": "string",
                    "enum": [
                      "degraded",
                      "outage",
                      "operational"
                    ]
                  },
                  "note": {
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 280
                  },
                  "minutes": {
                    "type": "integer",
                    "minimum": 5,
                    "maximum": 1440
                  }
                },
                "required": [
                  "state",
                  "minutes"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "manualState": {
                      "type": "object",
                      "properties": {
                        "monitorId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "degraded",
                            "outage",
                            "operational"
                          ]
                        },
                        "note": {
                          "nullable": true,
                          "type": "string"
                        },
                        "expiresAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "monitorId",
                        "state",
                        "note",
                        "expiresAt",
                        "createdAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "manualState"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `status_page.service_not_found`, `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Return a published service to its monitors",
        "description": "Clears a reported state before its deadline, so the page shows the checks again at once. Clearing a state nobody reported changes nothing and is no error. A write key clears one as a member does, and the change is audited.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "monitorId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `status_page.service_not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/status-pages/{id}/subscribers": {
      "get": {
        "summary": "List the subscribers of a status page",
        "description": "The addresses subscribed to the page, newest first, and when each was confirmed, with the services each one follows (empty for the whole page, NV-101.1). An address is shown to the page’s own workspace only; the answer never carries a token, its hash or a way to stop. A read key reads the list.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "How many at most; the default is 50 for checks, 20 for incidents.",
              "type": "integer",
              "minimum": 1,
              "maximum": 300
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "The `next` of the previous page.",
              "type": "string"
            }
          },
          {
            "name": "serviceIds",
            "in": "query",
            "required": false,
            "schema": {
              "description": "A comma-separated list of the page’s service identifiers: only the addresses that follow one of them. An address that follows the whole page counts as following every one.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "email": {
                            "type": "string",
                            "description": "The address, shown to the page’s own workspace and to nobody else."
                          },
                          "locale": {
                            "type": "string"
                          },
                          "confirmedAt": {
                            "nullable": true,
                            "description": "Null until the visitor followed the confirmation link.",
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "serviceIds": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The services this address follows, by the page’s own identifiers; empty for the whole page (NV-101.1)."
                          },
                          "services": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Their names, for those the page still publishes."
                          }
                        },
                        "required": [
                          "id",
                          "email",
                          "locale",
                          "confirmedAt",
                          "createdAt",
                          "serviceIds",
                          "services"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/status-pages/{id}/subscribers/{subscriberId}": {
      "delete": {
        "summary": "Remove a subscriber",
        "description": "The address stops receiving this page’s alerts at once, and may subscribe again later, starting unconfirmed. The row and its send state are removed. A write key removes one.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "subscriberId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `status_page_subscriber.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `status_page.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents": {
      "get": {
        "summary": "List the incidents",
        "description": "Newest first, open ones included. `assignedTo` narrows it to `me` (the caller's user; an API key has none), to `unassigned`, or to one member id.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "description": "How many at most; the default is 50 for checks, 20 for incidents.",
              "type": "integer",
              "minimum": 1,
              "maximum": 300
            }
          },
          {
            "name": "cursor",
            "in": "query",
            "required": false,
            "schema": {
              "description": "The `next` of the previous page.",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "monitorId": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "monitorName": {
                            "type": "string"
                          },
                          "startedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "confirmedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "resolvedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "resolution": {
                            "nullable": true,
                            "type": "string",
                            "enum": [
                              "recovered",
                              "paused",
                              "superseded",
                              "deleted",
                              "manual"
                            ]
                          },
                          "origin": {
                            "type": "string",
                            "enum": [
                              "engine",
                              "manual"
                            ],
                            "description": "Where it came from: the result pipeline or a person."
                          },
                          "cause": {
                            "type": "string"
                          },
                          "statusCode": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "checksFailed": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "lastCheckAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "flapping": {
                            "type": "boolean"
                          },
                          "maintenance": {
                            "type": "boolean"
                          },
                          "regions": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            }
                          },
                          "acknowledgedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "acknowledgedBy": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "impact": {
                            "type": "string",
                            "enum": [
                              "minor",
                              "major",
                              "critical"
                            ]
                          },
                          "assignee": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "assignedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "declaredBy": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "declaredAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "monitorId",
                          "monitorName",
                          "startedAt",
                          "confirmedAt",
                          "resolvedAt",
                          "resolution",
                          "origin",
                          "cause",
                          "statusCode",
                          "checksFailed",
                          "lastCheckAt",
                          "flapping",
                          "maintenance",
                          "regions",
                          "acknowledgedAt",
                          "acknowledgedBy",
                          "impact",
                          "assignee",
                          "assignedAt",
                          "declaredBy",
                          "declaredAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Declare an incident by hand",
        "description": "The team already knows the monitor is down: a dependency told them before a check failed, or a hand-made change caused an outage no check can see. The incident is confirmed at its start, carries no failed check, and is shown, told, escalated and counted exactly as one the result pipeline confirmed. The monitor must belong to the workspace and must have no open incident of either origin. A viewer and a read key are refused.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "cause": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 200
                  },
                  "severity": {
                    "type": "string",
                    "enum": [
                      "critical",
                      "standard"
                    ]
                  },
                  "startedAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "monitorId": {
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "cause",
                  "monitorId"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "incident": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorName": {
                          "type": "string"
                        },
                        "startedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "confirmedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolvedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolution": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "recovered",
                            "paused",
                            "superseded",
                            "deleted",
                            "manual"
                          ]
                        },
                        "origin": {
                          "type": "string",
                          "enum": [
                            "engine",
                            "manual"
                          ],
                          "description": "Where it came from: the result pipeline or a person."
                        },
                        "cause": {
                          "type": "string"
                        },
                        "statusCode": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "checksFailed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "lastCheckAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "flapping": {
                          "type": "boolean"
                        },
                        "maintenance": {
                          "type": "boolean"
                        },
                        "regions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "acknowledgedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "acknowledgedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "impact": {
                          "type": "string",
                          "enum": [
                            "minor",
                            "major",
                            "critical"
                          ]
                        },
                        "assignee": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "assignedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "declaredBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "declaredAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "monitorId",
                        "monitorName",
                        "startedAt",
                        "confirmedAt",
                        "resolvedAt",
                        "resolution",
                        "origin",
                        "cause",
                        "statusCode",
                        "checksFailed",
                        "lastCheckAt",
                        "flapping",
                        "maintenance",
                        "regions",
                        "acknowledgedAt",
                        "acknowledgedBy",
                        "impact",
                        "assignee",
                        "assignedAt",
                        "declaredBy",
                        "declaredAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "incident"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `workspace.not_found`, `incident.already_open`, `incident.cause_invalid`, `incident.declaration_forbidden`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}": {
      "get": {
        "summary": "Read an incident",
        "description": "The incident, whether and by whom it was acknowledged, the events of its timeline (who was told, and when), the checks made during it and the comments people wrote on it.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "incident": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorName": {
                          "type": "string"
                        },
                        "startedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "confirmedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolvedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolution": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "recovered",
                            "paused",
                            "superseded",
                            "deleted",
                            "manual"
                          ]
                        },
                        "origin": {
                          "type": "string",
                          "enum": [
                            "engine",
                            "manual"
                          ],
                          "description": "Where it came from: the result pipeline or a person."
                        },
                        "cause": {
                          "type": "string"
                        },
                        "statusCode": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "checksFailed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "lastCheckAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "flapping": {
                          "type": "boolean"
                        },
                        "maintenance": {
                          "type": "boolean"
                        },
                        "regions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "acknowledgedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "acknowledgedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "impact": {
                          "type": "string",
                          "enum": [
                            "minor",
                            "major",
                            "critical"
                          ]
                        },
                        "assignee": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "assignedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "declaredBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "declaredAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "monitorId",
                        "monitorName",
                        "startedAt",
                        "confirmedAt",
                        "resolvedAt",
                        "resolution",
                        "origin",
                        "cause",
                        "statusCode",
                        "checksFailed",
                        "lastCheckAt",
                        "flapping",
                        "maintenance",
                        "regions",
                        "acknowledgedAt",
                        "acknowledgedBy",
                        "impact",
                        "assignee",
                        "assignedAt",
                        "declaredBy",
                        "declaredAt"
                      ],
                      "additionalProperties": false
                    },
                    "impactOverride": {
                      "nullable": true,
                      "type": "string",
                      "enum": [
                        "minor",
                        "major",
                        "critical"
                      ]
                    },
                    "derivedImpact": {
                      "type": "string",
                      "enum": [
                        "minor",
                        "major",
                        "critical"
                      ]
                    },
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "incidentId": {
                            "nullable": true,
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "type": {
                            "type": "string",
                            "enum": [
                              "suspected",
                              "cleared",
                              "inconclusive",
                              "confirmed",
                              "recovering",
                              "relapsed",
                              "resolved",
                              "paused",
                              "superseded",
                              "deleted",
                              "escalated"
                            ]
                          },
                          "at": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "checkScheduledAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "error": {
                            "nullable": true,
                            "type": "string"
                          },
                          "statusCode": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "notify": {
                            "nullable": true,
                            "type": "string",
                            "enum": [
                              "down",
                              "recovered"
                            ]
                          },
                          "notifiedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "notifyOutcome": {
                            "nullable": true,
                            "type": "string",
                            "enum": [
                              "sent",
                              "quiet",
                              "withheld",
                              "nobody",
                              "maintenance",
                              "grouped",
                              "contact.unavailable"
                            ]
                          },
                          "notifyCount": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          }
                        },
                        "required": [
                          "id",
                          "incidentId",
                          "type",
                          "at",
                          "checkScheduledAt",
                          "error",
                          "statusCode",
                          "notify",
                          "notifiedAt",
                          "notifyOutcome",
                          "notifyCount"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "checks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "scheduledAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "finishedAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "class": {
                            "type": "string",
                            "enum": [
                              "ok",
                              "fail",
                              "skipped",
                              "probe_suspect"
                            ]
                          },
                          "error": {
                            "nullable": true,
                            "type": "string",
                            "enum": [
                              "dns_not_found",
                              "dns_failure",
                              "dns_timeout",
                              "connection_refused",
                              "connection_timeout",
                              "connection_reset",
                              "network_unreachable",
                              "tls_certificate_expired",
                              "tls_certificate_invalid",
                              "tls_hostname_mismatch",
                              "tls_handshake_failed",
                              "timeout",
                              "unexpected_status",
                              "too_many_redirects",
                              "invalid_redirect",
                              "destination_not_allowed",
                              "response_headers_too_large",
                              "protocol_error",
                              "keyword_not_found",
                              "keyword_found",
                              "json_invalid",
                              "json_path_missing",
                              "json_value_mismatch",
                              "json_too_large",
                              "header_missing",
                              "header_mismatch",
                              "final_url_mismatch",
                              "dns_no_records",
                              "dns_unexpected_answer",
                              "heartbeat_missed",
                              "no_reply",
                              "domain_expiring",
                              "domain_expired",
                              "lease_expired",
                              "rate_limited",
                              "expired",
                              "probe_overloaded",
                              "secret_unavailable",
                              "icmp_unavailable",
                              "domain_expiry_unknown",
                              "probe_no_ipv6",
                              "own_destination",
                              "self_check_failed"
                            ]
                          },
                          "statusCode": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "responseMs": {
                            "nullable": true,
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "timings": {
                            "type": "object",
                            "properties": {
                              "dnsMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "connectMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "tlsMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "ttfbMs": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "dnsMs",
                              "connectMs",
                              "tlsMs",
                              "ttfbMs"
                            ],
                            "additionalProperties": false
                          },
                          "resolvedIp": {
                            "nullable": true,
                            "type": "string"
                          },
                          "redirects": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "attempts": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "ping": {
                            "nullable": true,
                            "description": "Only for a ping: the echo requests sent and the replies received. `responseMs` is the average round trip.",
                            "type": "object",
                            "properties": {
                              "sent": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "received": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "sent",
                              "received"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "scheduledAt",
                          "finishedAt",
                          "class",
                          "error",
                          "statusCode",
                          "responseMs",
                          "timings",
                          "resolvedIp",
                          "redirects",
                          "attempts",
                          "ping"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "comments": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "incidentId": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "author": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "body": {
                            "type": "string"
                          },
                          "visibility": {
                            "type": "string",
                            "enum": [
                              "internal",
                              "public"
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "incidentId",
                          "author",
                          "body",
                          "visibility",
                          "createdAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "postmortem": {
                      "nullable": true,
                      "type": "object",
                      "properties": {
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "rootCause": {
                          "type": "string"
                        },
                        "publicSummary": {
                          "type": "string"
                        },
                        "publishedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "incidentId",
                        "rootCause",
                        "publicSummary",
                        "publishedAt",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "incident",
                    "impactOverride",
                    "derivedImpact",
                    "events",
                    "checks",
                    "comments",
                    "postmortem"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/timeline": {
      "get": {
        "summary": "Read the derived timeline of an incident",
        "description": "The incident told in order, derived from rows that already exist: the first failing check, its confirmation, the alert handed to the notifier, each escalation step with its targets, the acknowledgement and its author, the comments, the public updates and the recovery, each with the seconds since the previous event. It adds no table and copies no event.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "events": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "kind": {
                            "type": "string",
                            "enum": [
                              "detected",
                              "declared",
                              "confirmed",
                              "notified",
                              "escalation",
                              "acknowledged",
                              "comment",
                              "public_update",
                              "resolved"
                            ]
                          },
                          "at": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "elapsedSeconds": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991,
                            "description": "Whole seconds since the previous event; zero on the first."
                          },
                          "actor": {
                            "nullable": true,
                            "description": "The person who acknowledged or commented, when a person did.",
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "body": {
                            "nullable": true,
                            "type": "string"
                          },
                          "notification": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "said": {
                                "type": "string",
                                "enum": [
                                  "down",
                                  "recovered"
                                ]
                              },
                              "outcome": {
                                "nullable": true,
                                "type": "string",
                                "enum": [
                                  "sent",
                                  "quiet",
                                  "withheld",
                                  "nobody",
                                  "maintenance",
                                  "grouped",
                                  "contact.unavailable"
                                ]
                              },
                              "count": {
                                "nullable": true,
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              }
                            },
                            "required": [
                              "said",
                              "outcome",
                              "count"
                            ],
                            "additionalProperties": false
                          },
                          "escalation": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "position": {
                                "type": "integer",
                                "minimum": -9007199254740991,
                                "maximum": 9007199254740991
                              },
                              "targets": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "properties": {
                                    "kind": {
                                      "type": "string",
                                      "enum": [
                                        "contact",
                                        "channel"
                                      ]
                                    },
                                    "id": {
                                      "type": "string",
                                      "format": "uuid",
                                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                      "description": "An identifier, UUID version 7."
                                    },
                                    "name": {
                                      "nullable": true,
                                      "type": "string"
                                    }
                                  },
                                  "required": [
                                    "kind",
                                    "id",
                                    "name"
                                  ],
                                  "additionalProperties": false
                                }
                              },
                              "outcome": {
                                "nullable": true,
                                "type": "string",
                                "enum": [
                                  "sent",
                                  "quiet",
                                  "withheld",
                                  "nobody",
                                  "maintenance",
                                  "grouped",
                                  "contact.unavailable"
                                ]
                              }
                            },
                            "required": [
                              "position",
                              "targets",
                              "outcome"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "kind",
                          "at",
                          "elapsedSeconds",
                          "actor",
                          "body",
                          "notification",
                          "escalation"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "events"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/deliveries": {
      "get": {
        "summary": "Read the delivery log of an incident",
        "description": "Every attempt to tell a channel about the incident, newest first: the channel, its status, the attempts, the moment and, for a failure, our classification of the cause. It carries no destination and no payload.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "channel": {
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "webhook",
                                  "slack",
                                  "telegram",
                                  "teams",
                                  "discord",
                                  "google_chat",
                                  "mattermost",
                                  "splunk",
                                  "pagerduty",
                                  "pushover",
                                  "pushbullet",
                                  "sms",
                                  "voice",
                                  "zapier"
                                ]
                              }
                            },
                            "required": [
                              "id",
                              "name",
                              "kind"
                            ],
                            "additionalProperties": false
                          },
                          "incidentEventId": {
                            "nullable": true,
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "pending",
                              "delivered",
                              "failed"
                            ]
                          },
                          "attempts": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "lastAttemptAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "deliveredAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "errorCode": {
                            "nullable": true,
                            "description": "Our classification of a failure, such as http_5xx. Never a body or a destination.",
                            "type": "string"
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          }
                        },
                        "required": [
                          "id",
                          "channel",
                          "incidentEventId",
                          "status",
                          "attempts",
                          "lastAttemptAt",
                          "deliveredAt",
                          "errorCode",
                          "createdAt"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/deliveries/{id}/retry": {
      "post": {
        "summary": "Retry a failed delivery",
        "description": "Queues a failed alert again, unchanged, for the worker to send. A delivery that already succeeded is refused with `delivery.not_retryable` rather than sent twice.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `delivery.not_found`, `delivery.not_retryable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/acknowledge": {
      "post": {
        "summary": "Acknowledge an incident",
        "description": "Marks it seen. The first acknowledgement stands; a key acknowledges without a person to name.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "incident": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorName": {
                          "type": "string"
                        },
                        "startedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "confirmedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolvedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolution": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "recovered",
                            "paused",
                            "superseded",
                            "deleted",
                            "manual"
                          ]
                        },
                        "origin": {
                          "type": "string",
                          "enum": [
                            "engine",
                            "manual"
                          ],
                          "description": "Where it came from: the result pipeline or a person."
                        },
                        "cause": {
                          "type": "string"
                        },
                        "statusCode": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "checksFailed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "lastCheckAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "flapping": {
                          "type": "boolean"
                        },
                        "maintenance": {
                          "type": "boolean"
                        },
                        "regions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "acknowledgedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "acknowledgedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "impact": {
                          "type": "string",
                          "enum": [
                            "minor",
                            "major",
                            "critical"
                          ]
                        },
                        "assignee": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "assignedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "declaredBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "declaredAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "monitorId",
                        "monitorName",
                        "startedAt",
                        "confirmedAt",
                        "resolvedAt",
                        "resolution",
                        "origin",
                        "cause",
                        "statusCode",
                        "checksFailed",
                        "lastCheckAt",
                        "flapping",
                        "maintenance",
                        "regions",
                        "acknowledgedAt",
                        "acknowledgedBy",
                        "impact",
                        "assignee",
                        "assignedAt",
                        "declaredBy",
                        "declaredAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "incident"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/resolve": {
      "post": {
        "summary": "Resolve a declared incident by hand",
        "description": "Closes the incident a person declared, with an optional note kept in its timeline beside the person who wrote it. The incident ends with `resolution: \"manual\"` and any pending escalation is withdrawn. An incident the result pipeline opened cannot be closed this way: the checks own it.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "note": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 500
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "incident": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorName": {
                          "type": "string"
                        },
                        "startedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "confirmedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolvedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolution": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "recovered",
                            "paused",
                            "superseded",
                            "deleted",
                            "manual"
                          ]
                        },
                        "origin": {
                          "type": "string",
                          "enum": [
                            "engine",
                            "manual"
                          ],
                          "description": "Where it came from: the result pipeline or a person."
                        },
                        "cause": {
                          "type": "string"
                        },
                        "statusCode": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "checksFailed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "lastCheckAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "flapping": {
                          "type": "boolean"
                        },
                        "maintenance": {
                          "type": "boolean"
                        },
                        "regions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "acknowledgedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "acknowledgedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "impact": {
                          "type": "string",
                          "enum": [
                            "minor",
                            "major",
                            "critical"
                          ]
                        },
                        "assignee": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "assignedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "declaredBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "declaredAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "monitorId",
                        "monitorName",
                        "startedAt",
                        "confirmedAt",
                        "resolvedAt",
                        "resolution",
                        "origin",
                        "cause",
                        "statusCode",
                        "checksFailed",
                        "lastCheckAt",
                        "flapping",
                        "maintenance",
                        "regions",
                        "acknowledgedAt",
                        "acknowledgedBy",
                        "impact",
                        "assignee",
                        "assignedAt",
                        "declaredBy",
                        "declaredAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "incident"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `incident.not_manual`, `incident.already_resolved`, `incident.declaration_forbidden`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/updates": {
      "post": {
        "summary": "Publish an update about an incident",
        "description": "Visitors of the workspace’s status page read it in the incident’s timeline. The update carries its words and its moment; it never names the author.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "body": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 4000
                  }
                },
                "required": [
                  "body"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "update": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "author": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "body": {
                          "type": "string"
                        },
                        "visibility": {
                          "type": "string",
                          "enum": [
                            "public"
                          ]
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "incidentId",
                        "author",
                        "body",
                        "visibility",
                        "createdAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "update"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/impact": {
      "patch": {
        "summary": "Set or clear an incident's impact",
        "description": "How bad the incident is, chosen on purpose: `minor`, `major` or `critical`, or null to let the rule decide again. The incident answers the level a reader sees and the override that stands. The act is audited with what a reader saw before and after.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "impact": {
                    "nullable": true,
                    "type": "string",
                    "enum": [
                      "minor",
                      "major",
                      "critical"
                    ]
                  }
                },
                "required": [
                  "impact"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "incident": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorName": {
                          "type": "string"
                        },
                        "startedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "confirmedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolvedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolution": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "recovered",
                            "paused",
                            "superseded",
                            "deleted",
                            "manual"
                          ]
                        },
                        "origin": {
                          "type": "string",
                          "enum": [
                            "engine",
                            "manual"
                          ],
                          "description": "Where it came from: the result pipeline or a person."
                        },
                        "cause": {
                          "type": "string"
                        },
                        "statusCode": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "checksFailed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "lastCheckAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "flapping": {
                          "type": "boolean"
                        },
                        "maintenance": {
                          "type": "boolean"
                        },
                        "regions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "acknowledgedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "acknowledgedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "impact": {
                          "type": "string",
                          "enum": [
                            "minor",
                            "major",
                            "critical"
                          ]
                        },
                        "assignee": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "assignedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "declaredBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "declaredAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "monitorId",
                        "monitorName",
                        "startedAt",
                        "confirmedAt",
                        "resolvedAt",
                        "resolution",
                        "origin",
                        "cause",
                        "statusCode",
                        "checksFailed",
                        "lastCheckAt",
                        "flapping",
                        "maintenance",
                        "regions",
                        "acknowledgedAt",
                        "acknowledgedBy",
                        "impact",
                        "assignee",
                        "assignedAt",
                        "declaredBy",
                        "declaredAt"
                      ],
                      "additionalProperties": false
                    },
                    "impactOverride": {
                      "nullable": true,
                      "type": "string",
                      "enum": [
                        "minor",
                        "major",
                        "critical"
                      ]
                    }
                  },
                  "required": [
                    "incident",
                    "impactOverride"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `incident.impact_invalid`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/assignment": {
      "patch": {
        "summary": "Put a member in charge of an incident, or leave it to nobody",
        "description": "One member of the workspace owns an incident. Null leaves it to nobody. An owner or an administrator may; a member, a viewer and an API key are refused. A resolved incident may still be assigned.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "assigneeUserId": {
                    "nullable": true,
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  }
                },
                "required": [
                  "assigneeUserId"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "incident": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "monitorName": {
                          "type": "string"
                        },
                        "startedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "confirmedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolvedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "resolution": {
                          "nullable": true,
                          "type": "string",
                          "enum": [
                            "recovered",
                            "paused",
                            "superseded",
                            "deleted",
                            "manual"
                          ]
                        },
                        "origin": {
                          "type": "string",
                          "enum": [
                            "engine",
                            "manual"
                          ],
                          "description": "Where it came from: the result pipeline or a person."
                        },
                        "cause": {
                          "type": "string"
                        },
                        "statusCode": {
                          "nullable": true,
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "checksFailed": {
                          "type": "integer",
                          "minimum": -9007199254740991,
                          "maximum": 9007199254740991
                        },
                        "lastCheckAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "flapping": {
                          "type": "boolean"
                        },
                        "maintenance": {
                          "type": "boolean"
                        },
                        "regions": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        },
                        "acknowledgedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "acknowledgedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "impact": {
                          "type": "string",
                          "enum": [
                            "minor",
                            "major",
                            "critical"
                          ]
                        },
                        "assignee": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "assignedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "declaredBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "declaredAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "monitorId",
                        "monitorName",
                        "startedAt",
                        "confirmedAt",
                        "resolvedAt",
                        "resolution",
                        "origin",
                        "cause",
                        "statusCode",
                        "checksFailed",
                        "lastCheckAt",
                        "flapping",
                        "maintenance",
                        "regions",
                        "acknowledgedAt",
                        "acknowledgedBy",
                        "impact",
                        "assignee",
                        "assignedAt",
                        "declaredBy",
                        "declaredAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "incident"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `incident.assignee_not_member`, `incident.assignment_forbidden`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/postmortem": {
      "get": {
        "summary": "Read the postmortem of an incident",
        "description": "Why it happened and what was done, kept inside the workspace. `publishedAt` says whether visitors of the workspace’s status page read its public summary; null means a draft. The answer is null until a member drafts one.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "postmortem": {
                      "nullable": true,
                      "type": "object",
                      "properties": {
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "rootCause": {
                          "type": "string"
                        },
                        "publicSummary": {
                          "type": "string"
                        },
                        "publishedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "incidentId",
                        "rootCause",
                        "publicSummary",
                        "publishedAt",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "postmortem"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "put": {
        "summary": "Draft or correct the postmortem of an incident",
        "description": "Takes the root cause the team keeps and the summary a visitor may read. The incident must be resolved (`incident.not_resolved`); a draft stays inside the workspace. Correcting a published one changes what visitors read at once.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "rootCause": {
                    "type": "string",
                    "minLength": 10,
                    "maxLength": 4000
                  },
                  "publicSummary": {
                    "type": "string",
                    "minLength": 10,
                    "maxLength": 2000
                  }
                },
                "required": [
                  "rootCause",
                  "publicSummary"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "postmortem": {
                      "type": "object",
                      "properties": {
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "rootCause": {
                          "type": "string"
                        },
                        "publicSummary": {
                          "type": "string"
                        },
                        "publishedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "incidentId",
                        "rootCause",
                        "publicSummary",
                        "publishedAt",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "postmortem"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `incident.not_resolved`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/postmortem/publish": {
      "post": {
        "summary": "Publish the postmortem",
        "description": "Shows its public summary under the incident on the status pages that carry it, in the page’s language. The first publication’s moment stands; the root cause is never shown.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "postmortem": {
                      "type": "object",
                      "properties": {
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "rootCause": {
                          "type": "string"
                        },
                        "publicSummary": {
                          "type": "string"
                        },
                        "publishedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "incidentId",
                        "rootCause",
                        "publicSummary",
                        "publishedAt",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "postmortem"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `incident.not_resolved`, `postmortem.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/postmortem/unpublish": {
      "post": {
        "summary": "Unpublish the postmortem",
        "description": "Removes its summary from every public page again without deleting a word: it becomes a draft that only the workspace reads.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "postmortem": {
                      "type": "object",
                      "properties": {
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "rootCause": {
                          "type": "string"
                        },
                        "publicSummary": {
                          "type": "string"
                        },
                        "publishedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "updatedAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "incidentId",
                        "rootCause",
                        "publicSummary",
                        "publishedAt",
                        "createdAt",
                        "updatedAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "postmortem"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `incident.not_resolved`, `postmortem.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/incidents/{id}/action-items": {
      "get": {
        "summary": "List the action items of a postmortem",
        "description": "The work a resolved incident’s postmortem demands: each fix with its owner, its plain calendar due date, its state of open, done or dropped, and whether it is overdue. A viewer and a read key may ask; the list is scoped to the key’s workspace.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "incidentId": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "title": {
                            "type": "string"
                          },
                          "detail": {
                            "nullable": true,
                            "type": "string"
                          },
                          "owner": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "dueOn": {
                            "nullable": true,
                            "type": "string",
                            "format": "date",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "open",
                              "done",
                              "dropped"
                            ]
                          },
                          "completedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "completedBy": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "overdue": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "id",
                          "incidentId",
                          "title",
                          "detail",
                          "owner",
                          "dueOn",
                          "state",
                          "completedAt",
                          "completedBy",
                          "createdAt",
                          "overdue"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Add an action item to a postmortem",
        "description": "Adds one fix with an optional detail, one owner who must be a member and a due date that cannot be in the past. The incident must be resolved and have a postmortem; at most fifty items exist per incident (`action_item.too_many`). The act is audited by the item’s id, never its title.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 200
                  },
                  "detail": {
                    "nullable": true,
                    "type": "string",
                    "maxLength": 2000
                  },
                  "ownerUserId": {
                    "nullable": true,
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "dueOn": {
                    "nullable": true,
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  }
                },
                "required": [
                  "title"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "item": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "title": {
                          "type": "string"
                        },
                        "detail": {
                          "nullable": true,
                          "type": "string"
                        },
                        "owner": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "dueOn": {
                          "nullable": true,
                          "type": "string",
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "open",
                            "done",
                            "dropped"
                          ]
                        },
                        "completedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "completedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "overdue": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "id",
                        "incidentId",
                        "title",
                        "detail",
                        "owner",
                        "dueOn",
                        "state",
                        "completedAt",
                        "completedBy",
                        "createdAt",
                        "overdue"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "item"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `postmortem.not_found`, `action_item.incident_open`, `action_item.too_many`, `action_item.owner_not_member`, `action_item.due_in_past`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `incident.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/action-items/{id}": {
      "patch": {
        "summary": "Change an action item",
        "description": "Changes its words, its owner, its due date or its state. Only open→done, open→dropped and done→open are legal; a completion names the person and the moment, and a reopen clears both. A due date may be recorded in the past here. The act is audited by the item’s id, never its title.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "minLength": 3,
                    "maxLength": 200
                  },
                  "detail": {
                    "nullable": true,
                    "type": "string",
                    "maxLength": 2000
                  },
                  "ownerUserId": {
                    "nullable": true,
                    "type": "string",
                    "format": "uuid",
                    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                  },
                  "dueOn": {
                    "nullable": true,
                    "type": "string",
                    "format": "date",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                  },
                  "state": {
                    "type": "string",
                    "enum": [
                      "open",
                      "done",
                      "dropped"
                    ]
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "item": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "incidentId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "title": {
                          "type": "string"
                        },
                        "detail": {
                          "nullable": true,
                          "type": "string"
                        },
                        "owner": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "dueOn": {
                          "nullable": true,
                          "type": "string",
                          "format": "date",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                        },
                        "state": {
                          "type": "string",
                          "enum": [
                            "open",
                            "done",
                            "dropped"
                          ]
                        },
                        "completedAt": {
                          "nullable": true,
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "completedBy": {
                          "nullable": true,
                          "type": "object",
                          "properties": {
                            "id": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            },
                            "name": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "id",
                            "name"
                          ],
                          "additionalProperties": false
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "overdue": {
                          "type": "boolean"
                        }
                      },
                      "required": [
                        "id",
                        "incidentId",
                        "title",
                        "detail",
                        "owner",
                        "dueOn",
                        "state",
                        "completedAt",
                        "completedBy",
                        "createdAt",
                        "overdue"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "item"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `action_item.not_found`, `action_item.owner_not_member`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/action-items": {
      "get": {
        "summary": "List the workspace’s action items",
        "description": "Everything the workspace’s postmortems demanded, across incidents, earliest due date first and undated ones last. Narrows by one state, one owner (`me`, `unassigned` or a member’s id) and `overdue=true`, which keeps only open work. A key has no person behind `me`.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "state",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "open",
                "done",
                "dropped"
              ]
            }
          },
          {
            "name": "owner",
            "in": "query",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string",
                  "enum": [
                    "me"
                  ]
                },
                {
                  "type": "string",
                  "enum": [
                    "unassigned"
                  ]
                },
                {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                }
              ]
            }
          },
          {
            "name": "overdue",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "true"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "schema": {
              "default": 100,
              "type": "integer",
              "minimum": 1,
              "maximum": 200
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "incidentId": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "title": {
                            "type": "string"
                          },
                          "detail": {
                            "nullable": true,
                            "type": "string"
                          },
                          "owner": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "dueOn": {
                            "nullable": true,
                            "type": "string",
                            "format": "date",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "open",
                              "done",
                              "dropped"
                            ]
                          },
                          "completedAt": {
                            "nullable": true,
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "completedBy": {
                            "nullable": true,
                            "type": "object",
                            "properties": {
                              "id": {
                                "type": "string",
                                "format": "uuid",
                                "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                                "description": "An identifier, UUID version 7."
                              },
                              "name": {
                                "type": "string"
                              }
                            },
                            "required": [
                              "id",
                              "name"
                            ],
                            "additionalProperties": false
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "overdue": {
                            "type": "boolean"
                          }
                        },
                        "required": [
                          "id",
                          "incidentId",
                          "title",
                          "detail",
                          "owner",
                          "dueOn",
                          "state",
                          "completedAt",
                          "completedBy",
                          "createdAt",
                          "overdue"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows": {
      "get": {
        "summary": "List the maintenance windows",
        "description": "The ones under way or to come, soonest first, then the last ten that are over.",
        "x-scope": "read",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "name": {
                            "type": "string"
                          },
                          "startsAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "endsAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "recurrence": {
                            "type": "string",
                            "enum": [
                              "none",
                              "daily",
                              "weekly",
                              "monthly"
                            ],
                            "description": "`none`: once. `daily`, `weekly`, `monthly`: the same span at each occurrence, counted in UTC or on `timeZone`'s wall clock, until it is ended."
                          },
                          "timeZone": {
                            "nullable": true,
                            "description": "The IANA zone the recurrence follows. Null counts it in UTC.",
                            "type": "string"
                          },
                          "monitorIds": {
                            "nullable": true,
                            "description": "Null: every monitor, the ones added later included.",
                            "type": "array",
                            "items": {
                              "type": "string",
                              "format": "uuid",
                              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                              "description": "An identifier, UUID version 7."
                            }
                          },
                          "createdBy": {
                            "nullable": true,
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "scheduled",
                              "active",
                              "past"
                            ]
                          }
                        },
                        "required": [
                          "id",
                          "name",
                          "startsAt",
                          "endsAt",
                          "recurrence",
                          "timeZone",
                          "monitorIds",
                          "createdBy",
                          "createdAt",
                          "state"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "nullable": true,
                      "description": "The cursor of the page after this one, to pass as `cursor`; null on the last.",
                      "type": "string"
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "post": {
        "summary": "Schedule a maintenance window",
        "description": "Checks go on under a window; an incident that opens is recorded without an email, and the window's time counts for nothing in uptime. A retry with the same `Idempotency-Key` replays the first answer.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "Idempotency-Key",
            "in": "header",
            "required": false,
            "description": "Makes the request safe to retry. The same key with the same body answers what the first attempt answered, with `Idempotency-Replayed: true`; the same key with a different body answers `idempotency.conflict`; the same key while the first attempt has not answered yet answers `idempotency.in_progress`. A request without this header is not stored.",
            "schema": {
              "type": "string",
              "minLength": 8,
              "maxLength": 200,
              "pattern": "^[\\x21-\\x7E]+$"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "startsAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "endsAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "monitorIds": {
                    "nullable": true,
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "groupIds": {
                    "default": null,
                    "nullable": true,
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "recurrence": {
                    "default": "none",
                    "type": "string",
                    "enum": [
                      "none",
                      "daily",
                      "weekly",
                      "monthly"
                    ]
                  },
                  "timeZone": {
                    "default": null,
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  }
                },
                "required": [
                  "name",
                  "startsAt",
                  "endsAt",
                  "monitorIds"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "name": {
                      "type": "string"
                    },
                    "startsAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "endsAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "recurrence": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily",
                        "weekly",
                        "monthly"
                      ],
                      "description": "`none`: once. `daily`, `weekly`, `monthly`: the same span at each occurrence, counted in UTC or on `timeZone`'s wall clock, until it is ended."
                    },
                    "timeZone": {
                      "nullable": true,
                      "description": "The IANA zone the recurrence follows. Null counts it in UTC.",
                      "type": "string"
                    },
                    "monitorIds": {
                      "nullable": true,
                      "description": "Null: every monitor, the ones added later included.",
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                        "description": "An identifier, UUID version 7."
                      }
                    },
                    "createdBy": {
                      "nullable": true,
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "scheduled",
                        "active",
                        "past"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "startsAt",
                    "endsAt",
                    "recurrence",
                    "timeZone",
                    "monitorIds",
                    "createdBy",
                    "createdAt",
                    "state"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.monitor_not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `maintenance.limit_reached`, `idempotency.conflict`, `idempotency.in_progress`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows/{id}": {
      "get": {
        "summary": "Read a maintenance window",
        "description": "One window, whether it is scheduled, under way or over.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "name": {
                      "type": "string"
                    },
                    "startsAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "endsAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "recurrence": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily",
                        "weekly",
                        "monthly"
                      ],
                      "description": "`none`: once. `daily`, `weekly`, `monthly`: the same span at each occurrence, counted in UTC or on `timeZone`'s wall clock, until it is ended."
                    },
                    "timeZone": {
                      "nullable": true,
                      "description": "The IANA zone the recurrence follows. Null counts it in UTC.",
                      "type": "string"
                    },
                    "monitorIds": {
                      "nullable": true,
                      "description": "Null: every monitor, the ones added later included.",
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                        "description": "An identifier, UUID version 7."
                      }
                    },
                    "createdBy": {
                      "nullable": true,
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "scheduled",
                        "active",
                        "past"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "startsAt",
                    "endsAt",
                    "recurrence",
                    "timeZone",
                    "monitorIds",
                    "createdBy",
                    "createdAt",
                    "state"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "patch": {
        "summary": "Change a scheduled maintenance window",
        "description": "Its name, its span or the monitors it covers, before it begins. Once under way a window can only end.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 120
                  },
                  "startsAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "endsAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  },
                  "recurrence": {
                    "type": "string",
                    "enum": [
                      "none",
                      "daily",
                      "weekly",
                      "monthly"
                    ]
                  },
                  "timeZone": {
                    "nullable": true,
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 64
                  },
                  "monitorIds": {
                    "nullable": true,
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  },
                  "groupIds": {
                    "nullable": true,
                    "maxItems": 50,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "name": {
                      "type": "string"
                    },
                    "startsAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "endsAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "recurrence": {
                      "type": "string",
                      "enum": [
                        "none",
                        "daily",
                        "weekly",
                        "monthly"
                      ],
                      "description": "`none`: once. `daily`, `weekly`, `monthly`: the same span at each occurrence, counted in UTC or on `timeZone`'s wall clock, until it is ended."
                    },
                    "timeZone": {
                      "nullable": true,
                      "description": "The IANA zone the recurrence follows. Null counts it in UTC.",
                      "type": "string"
                    },
                    "monitorIds": {
                      "nullable": true,
                      "description": "Null: every monitor, the ones added later included.",
                      "type": "array",
                      "items": {
                        "type": "string",
                        "format": "uuid",
                        "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                        "description": "An identifier, UUID version 7."
                      }
                    },
                    "createdBy": {
                      "nullable": true,
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                      "description": "An identifier, UUID version 7."
                    },
                    "createdAt": {
                      "type": "string",
                      "format": "date-time",
                      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                      "description": "A moment, ISO 8601 in UTC."
                    },
                    "state": {
                      "type": "string",
                      "enum": [
                        "scheduled",
                        "active",
                        "past"
                      ]
                    }
                  },
                  "required": [
                    "id",
                    "name",
                    "startsAt",
                    "endsAt",
                    "recurrence",
                    "timeZone",
                    "monitorIds",
                    "createdBy",
                    "createdAt",
                    "state"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.not_found`, `maintenance.monitor_not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `maintenance.not_editable`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      },
      "delete": {
        "summary": "Delete a maintenance window",
        "description": "A window under way ends now; one that has not begun is removed.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows/bulk": {
      "post": {
        "summary": "Schedule several maintenance windows at once",
        "description": "Up to fifty windows in one request. Each is scheduled in its own transaction and answered with its own result: an invalid window, a monitor or group of another workspace, or a plan limit reached fails that item only, and the others are created. An omitted monitor or group list means every monitor.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "windows": {
                    "maxItems": 50,
                    "type": "array",
                    "items": {},
                    "description": "Each entry is read with the single-window schema; an omitted monitorIds and groupIds mean every monitor."
                  }
                },
                "required": [
                  "windows"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "index": {
                            "type": "integer",
                            "minimum": -9007199254740991,
                            "maximum": 9007199254740991
                          },
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "auth.cannot_revoke_current",
                              "auth.email_not_verified",
                              "auth.invalid_code",
                              "auth.invalid_credentials",
                              "auth.invalid_token",
                              "auth.password_too_long",
                              "auth.password_too_short",
                              "auth.totp_required",
                              "auth.two_factor_already_enabled",
                              "auth.two_factor_not_enabled",
                              "auth.unauthenticated",
                              "internal.error",
                              "invitation.already_member",
                              "invitation.limit_reached",
                              "invitation.not_found",
                              "account.password_incorrect",
                              "account.sole_owner",
                              "account.disabled",
                              "account.email_taken",
                              "account.email_unchanged",
                              "admin.not_an_operator",
                              "admin.permission_denied",
                              "admin.user_not_found",
                              "admin.workspace_not_found",
                              "admin.monitor_not_found",
                              "admin.incident_not_found",
                              "admin.plan_unknown",
                              "admin.plan_below_usage",
                              "admin.override_invalid",
                              "admin.subscription_not_found",
                              "alert_digest.invalid_window",
                              "alert_grouping.invalid",
                              "api.bulk_empty",
                              "audit.read_forbidden",
                              "billing.provider_unavailable",
                              "billing.plan_not_sold",
                              "billing.no_subscription",
                              "billing.subscription_state",
                              "billing.subscription_conflict",
                              "billing.webhook_rejected",
                              "entitlement.feature_not_included",
                              "escalation_steps.invalid",
                              "escalation.rotation_not_found",
                              "escalation_steps.contact_not_found",
                              "escalation_steps.channel_not_found",
                              "member.limit_reached",
                              "member.last_owner",
                              "member.not_found",
                              "member.role_not_assignable",
                              "monitor.account_limit_reached",
                              "monitor.confirmation_out_of_range",
                              "monitor.interval_not_allowed",
                              "monitor.limit_reached",
                              "monitor.timeout_not_allowed",
                              "monitor.update_forbidden",
                              "import.invalid_export",
                              "import.row_refused",
                              "import.secret_unavailable",
                              "import.source_key_refused",
                              "import.source_unavailable",
                              "import.unsupported_type",
                              "import.missing_target",
                              "import.invalid_target",
                              "import.invalid_name",
                              "import.unsupported_interval",
                              "import.too_many_rows",
                              "incident.not_found",
                              "incident.invalid_cursor",
                              "incident.impact_invalid",
                              "incident.assignee_not_member",
                              "incident.assignment_forbidden",
                              "incident.already_resolved",
                              "incident.not_resolved",
                              "incident.already_open",
                              "incident.not_manual",
                              "incident.cause_invalid",
                              "incident.declaration_forbidden",
                              "incident.export_too_large",
                              "action_item.not_found",
                              "action_item.too_many",
                              "action_item.incident_open",
                              "action_item.owner_not_member",
                              "action_item.due_in_past",
                              "postmortem.not_found",
                              "incident_comment.not_author",
                              "incident_comment.not_found",
                              "monitor.invalid_cursor",
                              "monitor.not_found",
                              "monitor.not_deleted",
                              "monitor.restore_window_expired",
                              "monitor.url_not_allowed",
                              "monitor.channel_not_found",
                              "monitor.keyword_needs_body",
                              "monitor.conditions_need_body",
                              "monitor.json_condition_needs_body",
                              "monitor.config_invalid",
                              "monitor.authorization_header_conflict",
                              "monitor.auth_value_has_scheme",
                              "monitor.domain_invalid",
                              "monitor.secrets_unavailable",
                              "monitor.host_not_allowed",
                              "monitor.not_a_heartbeat",
                              "monitor.slow_response_not_supported",
                              "monitor.baseline_not_supported",
                              "monitor.pause_until_in_past",
                              "monitor.pause_until_too_far",
                              "monitor.dependency_not_found",
                              "monitor.dependency_self",
                              "monitor.dependency_limit",
                              "monitor.dependency_duplicate",
                              "monitor.dependency_cycle",
                              "monitor.runbook_url_invalid",
                              "monitor.paused",
                              "monitor.check_too_soon",
                              "monitor.check_budget_spent",
                              "monitor.check_not_supported",
                              "monitor.no_capable_probe",
                              "manual_check.not_found",
                              "on_call.invalid_participant",
                              "on_call.invalid_window",
                              "on_call.invalid_name",
                              "on_call.name_taken",
                              "on_call.rotation_not_found",
                              "on_call.rotation_last",
                              "rotation.in_use",
                              "group.not_found",
                              "group.name_taken",
                              "group.limit_reached",
                              "group.order_invalid",
                              "idempotency.conflict",
                              "idempotency.in_progress",
                              "tag.not_found",
                              "tag.name_taken",
                              "tag.limit_reached",
                              "tag.limit_per_monitor",
                              "sla_policy.not_found",
                              "sla_policy.name_taken",
                              "sla_policy.monitor_already_covered",
                              "sla_report.not_found",
                              "sla_report.month_not_closed",
                              "sla_report.too_large",
                              "api_key.not_found",
                              "api_key.limit_reached",
                              "api_key.write_key_not_limited",
                              "api_key.monitor_not_allowed",
                              "api_key.not_rotatable",
                              "api_key.grace_out_of_range",
                              "contact.not_found",
                              "contact.already_exists",
                              "contact.limit_reached",
                              "contact.availability_invalid",
                              "contact.unavailable",
                              "maintenance.not_found",
                              "maintenance.not_editable",
                              "maintenance.limit_reached",
                              "maintenance.monitor_not_found",
                              "maintenance.group_not_found",
                              "maintenance.invalid_window",
                              "maintenance.skip_not_recurring",
                              "maintenance.skip_not_an_occurrence",
                              "maintenance.skip_started",
                              "maintenance.skip_already_skipped",
                              "maintenance.skip_not_found",
                              "maintenance_window.group_not_found",
                              "maintenance_window.limit_exceeded",
                              "maintenance_window.monitor_not_found",
                              "maintenance_window.not_active",
                              "maintenance_window.not_found",
                              "contact.not_verified",
                              "contact.unknown_contact",
                              "contact.verification_invalid",
                              "channel.not_found",
                              "channel.name_taken",
                              "channel.limit_reached",
                              "channel.config_invalid",
                              "channel.events_empty",
                              "channel.secret_unavailable",
                              "channel.secret_not_rotatable",
                              "delivery.not_found",
                              "delivery.not_retryable",
                              "delivery.paced",
                              "email.lane_budget_exhausted",
                              "email.suppression_not_found",
                              "email.webhook_rejected",
                              "alert_provider.not_configured",
                              "permission.denied",
                              "probe.enrolment_expired",
                              "probe.enrolment_invalid_key",
                              "probe.enrolment_invalid_request",
                              "probe.enrolment_revoked",
                              "probe.enrolment_unknown",
                              "probe.enrolment_used",
                              "request.content_type_not_allowed",
                              "request.cross_site",
                              "request.host_not_allowed",
                              "request.origin_missing",
                              "request.origin_not_allowed",
                              "request.rate_limited",
                              "resource.not_found",
                              "status_page.limit_reached",
                              "status_page.monitor_not_found",
                              "status_page.not_found",
                              "status_page.password_incorrect",
                              "status_page.slug_taken",
                              "status_page.unavailable",
                              "status_page.service_not_found",
                              "status_page.services_required",
                              "status_page.domain_invalid",
                              "status_page.domain_taken",
                              "status_page_announcement.invalid_window",
                              "status_page_announcement.limit_reached",
                              "status_page_announcement.not_found",
                              "status_page_subscriber.not_found",
                              "validation.failed",
                              "weekly_report.invalid_reader",
                              "workspace.limit_reached",
                              "workspace.not_found",
                              "workspace.nothing_to_change",
                              "workspace.import_limit_exceeded"
                            ]
                          }
                        },
                        "required": [
                          "index"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "results"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `api.bulk_empty`, `maintenance.invalid_window`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance_window.monitor_not_found`, `maintenance_window.group_not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `maintenance_window.limit_exceeded`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows/bulk/end": {
      "post": {
        "summary": "End several maintenance windows now",
        "description": "Up to a hundred windows. Only a window under way ends; one that has not begun, or is already over, answers `maintenance_window.not_active` in its own result. A window of another workspace is as absent as one that never existed, and no id of another workspace is returned.",
        "x-scope": "write",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "ids": {
                    "maxItems": 100,
                    "type": "array",
                    "items": {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    }
                  }
                },
                "required": [
                  "ids"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                            "description": "An identifier, UUID version 7."
                          },
                          "code": {
                            "type": "string",
                            "enum": [
                              "auth.cannot_revoke_current",
                              "auth.email_not_verified",
                              "auth.invalid_code",
                              "auth.invalid_credentials",
                              "auth.invalid_token",
                              "auth.password_too_long",
                              "auth.password_too_short",
                              "auth.totp_required",
                              "auth.two_factor_already_enabled",
                              "auth.two_factor_not_enabled",
                              "auth.unauthenticated",
                              "internal.error",
                              "invitation.already_member",
                              "invitation.limit_reached",
                              "invitation.not_found",
                              "account.password_incorrect",
                              "account.sole_owner",
                              "account.disabled",
                              "account.email_taken",
                              "account.email_unchanged",
                              "admin.not_an_operator",
                              "admin.permission_denied",
                              "admin.user_not_found",
                              "admin.workspace_not_found",
                              "admin.monitor_not_found",
                              "admin.incident_not_found",
                              "admin.plan_unknown",
                              "admin.plan_below_usage",
                              "admin.override_invalid",
                              "admin.subscription_not_found",
                              "alert_digest.invalid_window",
                              "alert_grouping.invalid",
                              "api.bulk_empty",
                              "audit.read_forbidden",
                              "billing.provider_unavailable",
                              "billing.plan_not_sold",
                              "billing.no_subscription",
                              "billing.subscription_state",
                              "billing.subscription_conflict",
                              "billing.webhook_rejected",
                              "entitlement.feature_not_included",
                              "escalation_steps.invalid",
                              "escalation.rotation_not_found",
                              "escalation_steps.contact_not_found",
                              "escalation_steps.channel_not_found",
                              "member.limit_reached",
                              "member.last_owner",
                              "member.not_found",
                              "member.role_not_assignable",
                              "monitor.account_limit_reached",
                              "monitor.confirmation_out_of_range",
                              "monitor.interval_not_allowed",
                              "monitor.limit_reached",
                              "monitor.timeout_not_allowed",
                              "monitor.update_forbidden",
                              "import.invalid_export",
                              "import.row_refused",
                              "import.secret_unavailable",
                              "import.source_key_refused",
                              "import.source_unavailable",
                              "import.unsupported_type",
                              "import.missing_target",
                              "import.invalid_target",
                              "import.invalid_name",
                              "import.unsupported_interval",
                              "import.too_many_rows",
                              "incident.not_found",
                              "incident.invalid_cursor",
                              "incident.impact_invalid",
                              "incident.assignee_not_member",
                              "incident.assignment_forbidden",
                              "incident.already_resolved",
                              "incident.not_resolved",
                              "incident.already_open",
                              "incident.not_manual",
                              "incident.cause_invalid",
                              "incident.declaration_forbidden",
                              "incident.export_too_large",
                              "action_item.not_found",
                              "action_item.too_many",
                              "action_item.incident_open",
                              "action_item.owner_not_member",
                              "action_item.due_in_past",
                              "postmortem.not_found",
                              "incident_comment.not_author",
                              "incident_comment.not_found",
                              "monitor.invalid_cursor",
                              "monitor.not_found",
                              "monitor.not_deleted",
                              "monitor.restore_window_expired",
                              "monitor.url_not_allowed",
                              "monitor.channel_not_found",
                              "monitor.keyword_needs_body",
                              "monitor.conditions_need_body",
                              "monitor.json_condition_needs_body",
                              "monitor.config_invalid",
                              "monitor.authorization_header_conflict",
                              "monitor.auth_value_has_scheme",
                              "monitor.domain_invalid",
                              "monitor.secrets_unavailable",
                              "monitor.host_not_allowed",
                              "monitor.not_a_heartbeat",
                              "monitor.slow_response_not_supported",
                              "monitor.baseline_not_supported",
                              "monitor.pause_until_in_past",
                              "monitor.pause_until_too_far",
                              "monitor.dependency_not_found",
                              "monitor.dependency_self",
                              "monitor.dependency_limit",
                              "monitor.dependency_duplicate",
                              "monitor.dependency_cycle",
                              "monitor.runbook_url_invalid",
                              "monitor.paused",
                              "monitor.check_too_soon",
                              "monitor.check_budget_spent",
                              "monitor.check_not_supported",
                              "monitor.no_capable_probe",
                              "manual_check.not_found",
                              "on_call.invalid_participant",
                              "on_call.invalid_window",
                              "on_call.invalid_name",
                              "on_call.name_taken",
                              "on_call.rotation_not_found",
                              "on_call.rotation_last",
                              "rotation.in_use",
                              "group.not_found",
                              "group.name_taken",
                              "group.limit_reached",
                              "group.order_invalid",
                              "idempotency.conflict",
                              "idempotency.in_progress",
                              "tag.not_found",
                              "tag.name_taken",
                              "tag.limit_reached",
                              "tag.limit_per_monitor",
                              "sla_policy.not_found",
                              "sla_policy.name_taken",
                              "sla_policy.monitor_already_covered",
                              "sla_report.not_found",
                              "sla_report.month_not_closed",
                              "sla_report.too_large",
                              "api_key.not_found",
                              "api_key.limit_reached",
                              "api_key.write_key_not_limited",
                              "api_key.monitor_not_allowed",
                              "api_key.not_rotatable",
                              "api_key.grace_out_of_range",
                              "contact.not_found",
                              "contact.already_exists",
                              "contact.limit_reached",
                              "contact.availability_invalid",
                              "contact.unavailable",
                              "maintenance.not_found",
                              "maintenance.not_editable",
                              "maintenance.limit_reached",
                              "maintenance.monitor_not_found",
                              "maintenance.group_not_found",
                              "maintenance.invalid_window",
                              "maintenance.skip_not_recurring",
                              "maintenance.skip_not_an_occurrence",
                              "maintenance.skip_started",
                              "maintenance.skip_already_skipped",
                              "maintenance.skip_not_found",
                              "maintenance_window.group_not_found",
                              "maintenance_window.limit_exceeded",
                              "maintenance_window.monitor_not_found",
                              "maintenance_window.not_active",
                              "maintenance_window.not_found",
                              "contact.not_verified",
                              "contact.unknown_contact",
                              "contact.verification_invalid",
                              "channel.not_found",
                              "channel.name_taken",
                              "channel.limit_reached",
                              "channel.config_invalid",
                              "channel.events_empty",
                              "channel.secret_unavailable",
                              "channel.secret_not_rotatable",
                              "delivery.not_found",
                              "delivery.not_retryable",
                              "delivery.paced",
                              "email.lane_budget_exhausted",
                              "email.suppression_not_found",
                              "email.webhook_rejected",
                              "alert_provider.not_configured",
                              "permission.denied",
                              "probe.enrolment_expired",
                              "probe.enrolment_invalid_key",
                              "probe.enrolment_invalid_request",
                              "probe.enrolment_revoked",
                              "probe.enrolment_unknown",
                              "probe.enrolment_used",
                              "request.content_type_not_allowed",
                              "request.cross_site",
                              "request.host_not_allowed",
                              "request.origin_missing",
                              "request.origin_not_allowed",
                              "request.rate_limited",
                              "resource.not_found",
                              "status_page.limit_reached",
                              "status_page.monitor_not_found",
                              "status_page.not_found",
                              "status_page.password_incorrect",
                              "status_page.slug_taken",
                              "status_page.unavailable",
                              "status_page.service_not_found",
                              "status_page.services_required",
                              "status_page.domain_invalid",
                              "status_page.domain_taken",
                              "status_page_announcement.invalid_window",
                              "status_page_announcement.limit_reached",
                              "status_page_announcement.not_found",
                              "status_page_subscriber.not_found",
                              "validation.failed",
                              "weekly_report.invalid_reader",
                              "workspace.limit_reached",
                              "workspace.not_found",
                              "workspace.nothing_to_change",
                              "workspace.import_limit_exceeded"
                            ]
                          }
                        },
                        "required": [
                          "id"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "results"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `api.bulk_empty`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance_window.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "409": {
            "description": "One of: `maintenance_window.not_active`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows/{id}/end": {
      "post": {
        "summary": "End a maintenance window now",
        "description": "A window under way ends at this moment; one that has not begun is removed.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows/{id}/occurrences": {
      "get": {
        "summary": "List the next occurrences of a maintenance series",
        "description": "The occurrences that intersect the next thirty days, soonest first, each with its state. A skipped occurrence is `skipped`, never `upcoming` or `active`; every other occurrence keeps the state its own times give it.",
        "x-scope": "read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "days",
            "in": "query",
            "required": false,
            "schema": {
              "default": 30,
              "type": "integer",
              "minimum": 1,
              "maximum": 30
            }
          }
        ],
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "occurrences": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "startsAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "endsAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                            "description": "A moment, ISO 8601 in UTC."
                          },
                          "state": {
                            "type": "string",
                            "enum": [
                              "upcoming",
                              "active",
                              "past",
                              "skipped"
                            ]
                          },
                          "skipId": {
                            "nullable": true,
                            "description": "The skip that marks it, for removing it again.",
                            "type": "string",
                            "format": "uuid",
                            "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                          }
                        },
                        "required": [
                          "startsAt",
                          "endsAt",
                          "state",
                          "skipId"
                        ],
                        "additionalProperties": false
                      }
                    }
                  },
                  "required": [
                    "occurrences"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows/{id}/skips": {
      "post": {
        "summary": "Skip one occurrence of a maintenance series",
        "description": "The occurrence never opens: no incident is recorded as maintenance under it, nobody is told, the public calendar does not list it, and a failure during it is an ordinary incident. The series and its past are untouched. A window that does not recur and an instant that is not one of its occurrences answer `maintenance.skip_not_recurring` and `maintenance.skip_not_an_occurrence`; one already skipped answers `maintenance.skip_already_skipped`.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "startsAt": {
                    "type": "string",
                    "format": "date-time",
                    "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                  }
                },
                "required": [
                  "startsAt"
                ],
                "additionalProperties": false
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "skip": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "maintenanceId": {
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "occurrenceStart": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        },
                        "createdBy": {
                          "nullable": true,
                          "type": "string",
                          "format": "uuid",
                          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
                          "description": "An identifier, UUID version 7."
                        },
                        "createdAt": {
                          "type": "string",
                          "format": "date-time",
                          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
                          "description": "A moment, ISO 8601 in UTC."
                        }
                      },
                      "required": [
                        "id",
                        "maintenanceId",
                        "occurrenceStart",
                        "createdBy",
                        "createdAt"
                      ],
                      "additionalProperties": false
                    }
                  },
                  "required": [
                    "skip"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "400": {
            "description": "One of: `validation.failed`, `maintenance.skip_not_recurring`, `maintenance.skip_not_an_occurrence`, `maintenance.skip_started`, `maintenance.skip_already_skipped`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/maintenance-windows/{id}/skips/{skipId}": {
      "delete": {
        "summary": "Remove a skip before the occurrence starts",
        "description": "The occurrence is scheduled again exactly as the series says. A skip that is gone answers `maintenance.skip_not_found`; one whose occurrence has already started answers `maintenance.skip_started`.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "skipId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `maintenance.skip_not_found`, `maintenance.skip_started`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `maintenance.not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/email/suppressions": {
      "get": {
        "summary": "List the silenced email addresses",
        "description": "The addresses of this workspace that a hard bounce or a complaint silenced, newest first, and the provider event that last silenced each. No message, body or secret is part of an answer. Only someone who administers the workspace may ask: a write key acts as an administrator, a read key as a viewer, which is refused.",
        "x-scope": "write",
        "responses": {
          "200": {
            "description": "The answer.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "address": {
                            "type": "string",
                            "description": "The address, in lower case."
                          },
                          "reason": {
                            "type": "string",
                            "enum": [
                              "hard_bounce",
                              "complaint"
                            ]
                          },
                          "createdAt": {
                            "type": "string",
                            "format": "date-time",
                            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                          },
                          "lastEvent": {
                            "nullable": true,
                            "description": "Null only for a suppression written by hand in an operational repair.",
                            "type": "object",
                            "properties": {
                              "providerEventId": {
                                "type": "string"
                              },
                              "kind": {
                                "type": "string",
                                "enum": [
                                  "hard_bounce",
                                  "complaint"
                                ]
                              },
                              "receivedAt": {
                                "type": "string",
                                "format": "date-time",
                                "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
                              }
                            },
                            "required": [
                              "providerEventId",
                              "kind",
                              "receivedAt"
                            ],
                            "additionalProperties": false
                          }
                        },
                        "required": [
                          "address",
                          "reason",
                          "createdAt",
                          "lastEvent"
                        ],
                        "additionalProperties": false
                      }
                    },
                    "next": {
                      "type": "string",
                      "nullable": true,
                      "enum": [
                        null
                      ],
                      "description": "This list has no pages yet."
                    }
                  },
                  "required": [
                    "items",
                    "next"
                  ],
                  "additionalProperties": false
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    },
    "/v1/email/suppressions/{address}": {
      "delete": {
        "summary": "Let a silenced address receive email again",
        "description": "Clears the suppression of one address, so a fixed mailbox receives alerts and reports again. An address that is not suppressed answers `email.suppression_not_found`. Each clear is recorded in the activity log. Only someone who administers the workspace may clear one.",
        "x-scope": "write",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "maxLength": 320,
              "format": "email",
              "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Done; no body."
          },
          "400": {
            "description": "One of: `validation.failed`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "One of: `auth.unauthenticated`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "One of: `request.host_not_allowed`, `permission.denied`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "404": {
            "description": "One of: `email.suppression_not_found`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "One of: `request.rate_limited`.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "apiKey": []
          }
        ]
      }
    }
  }
}