{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-systems-manager/json-schema/amazon-systems-manager-describe-maintenance-windows-request-schema.json",
  "title": "DescribeMaintenanceWindowsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-systems-manager-maintenance-window-api-openapi.yml#/components/schemas/DescribeMaintenanceWindowsRequest",
  "type": "object",
  "properties": {
    "Filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/MaintenanceWindowFilter"
      },
      "description": "Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys are Name and Enabled. For example, Name=MyMaintenanceWindow and Enabled=True."
    },
    "MaxResults": {
      "type": "integer",
      "description": "The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results."
    },
    "NextToken": {
      "type": "string",
      "description": "The token for the next set of items to return. (You received this token from a previous call.)"
    }
  },
  "$defs": {
    "MaintenanceWindowFilter": {
      "type": "object",
      "properties": {
        "Key": {
          "type": "string",
          "description": "The name of the filter."
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The filter values."
        }
      }
    }
  }
}