{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimerobot/json-schema/uptimerobot-update-psp-announcement-request-dto-schema.json",
  "title": "UpdatePspAnnouncementRequestDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimerobot-psp-announcements-api-openapi.yml#/components/schemas/UpdatePspAnnouncementRequestDto",
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "maxLength": 255,
      "description": "Title of the announcement"
    },
    "content": {
      "type": "string",
      "maxLength": 2000,
      "description": "Content of the announcement"
    },
    "status": {
      "enum": [
        "Offline",
        "Pending",
        "Published",
        "Archived"
      ],
      "type": "string",
      "description": "Status of the announcement. Possible values: Offline (draft, not visible on status page), Pending (scheduled for publication), Published (currently visible on status page), Archived (historical record, no longer visible)"
    },
    "type": {
      "enum": [
        "Info",
        "Maintenance",
        "Issue"
      ],
      "type": "string",
      "description": "Type of the announcement. Possible values: Info (general information), Maintenance (scheduled maintenance notification), Issue (incident or issue notification)"
    },
    "startDate": {
      "format": "date-time",
      "type": "string",
      "description": "Start date of the announcement (ISO 8601 format)"
    },
    "endDate": {
      "format": "date-time",
      "type": [
        "string",
        "null"
      ],
      "description": "End date of the announcement (ISO 8601 format)"
    }
  }
}