{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimemonitoring-com/json-schema/uptimemonitoring-com-announcement-update-schema.json",
  "title": "AnnouncementUpdate",
  "description": "All fields optional. Only fields present in the request body\nare mutated; any field that is absent is left untouched on\nthe row.\n\n`expires_at` distinguishes three states:\n  - **absent**         → column unchanged.\n  - **explicit `null`** → column set to NULL (no expiry).\n  - **concrete value**  → column set to the supplied value.\n",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimemonitoring-com-announcements-api-openapi.yml#/components/schemas/AnnouncementUpdate",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200
    },
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "published_at": {
      "type": "string",
      "format": "date-time"
    },
    "expires_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}