{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/uptimerobot/json-schema/uptimerobot-maintenance-window-pagination-dto-schema.json",
  "title": "MaintenanceWindowPaginationDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/uptimerobot-maintenance-windows-api-openapi.yml#/components/schemas/MaintenanceWindowPaginationDto",
  "type": "object",
  "properties": {
    "nextLink": {
      "type": [
        "string",
        "null"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "number",
            "minimum": 0
          },
          "userId": {
            "type": "number",
            "minimum": 0
          },
          "name": {
            "type": "string",
            "minLength": 3
          },
          "interval": {
            "type": "string",
            "enum": [
              "once",
              "daily",
              "weekly",
              "monthly"
            ],
            "x-enumNames": [
              "once",
              "daily",
              "weekly",
              "monthly"
            ]
          },
          "date": {
            "type": [
              "string",
              "null"
            ]
          },
          "time": {
            "type": "string",
            "pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d$"
          },
          "duration": {
            "type": "number",
            "minimum": 1
          },
          "autoAddMonitors": {
            "type": "boolean"
          },
          "monitorIds": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "days": {
            "type": "array",
            "items": {
              "type": "number"
            }
          },
          "status": {
            "type": "string",
            "enum": [
              "active",
              "paused"
            ],
            "x-enumNames": [
              "active",
              "paused"
            ]
          },
          "created": {
            "oneOf": [
              {},
              {
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "id",
          "userId",
          "name",
          "interval",
          "date",
          "time",
          "duration",
          "autoAddMonitors",
          "monitorIds",
          "days",
          "status",
          "created"
        ]
      }
    }
  },
  "required": [
    "nextLink",
    "data"
  ]
}