{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/placestack-com/json-schema/placestack-com-monitor-patch-schema.json",
  "title": "MonitorPatch",
  "description": "A partial update. Omitted fields are unchanged.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/placestack-com-monitor-api-openapi.yml#/components/schemas/MonitorPatch",
  "properties": {
    "active": {
      "anyOf": [
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ],
      "title": "Active",
      "description": "Whether the monitor produces events."
    },
    "event_type": {
      "anyOf": [
        {
          "items": {
            "type": "string",
            "enum": [
              "permit.created",
              "case.created"
            ]
          },
          "type": "array",
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Event Type",
      "description": "The event types to report. Replaces the current set."
    },
    "email_recipient": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "maxItems": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Email Recipient",
      "description": "Email addresses of members to send a daily summary to. Replaces the current set. `[]` sends none."
    }
  },
  "type": "object"
}