{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimerobot/json-schema/uptimerobot-psp-announcement-pagination-response-dto-schema.json",
  "title": "PspAnnouncementPaginationResponseDto",
  "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/PspAnnouncementPaginationResponseDto",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": [
        "string",
        "null"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "minimum": 0
          },
          "pspId": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "userId": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          },
          "title": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 255
          },
          "content": {
            "type": [
              "string",
              "null"
            ],
            "maxLength": 2000
          },
          "status": {
            "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": {
            "description": "Type of the announcement. Possible values: Info (general information), Maintenance (scheduled maintenance notification), Issue (incident or issue notification)"
          },
          "deliveryStatus": {
            "description": "Delivery status of the announcement to subscribers. Possible values: CantSend (cannot be sent to subscribers), InQueue (queued for delivery), Sent (successfully delivered)"
          },
          "startDate": {},
          "endDate": {},
          "creationDate": {},
          "submitDate": {},
          "sentCount": {
            "type": [
              "integer",
              "null"
            ],
            "minimum": 0
          }
        },
        "required": [
          "id",
          "pspId",
          "userId",
          "title",
          "content",
          "status",
          "type",
          "deliveryStatus",
          "startDate",
          "endDate",
          "creationDate",
          "submitDate",
          "sentCount"
        ]
      }
    }
  },
  "required": [
    "nextLink",
    "data"
  ]
}