{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/linode/json-schema/linode-paginated-managed-service-list-schema.json",
  "title": "PaginatedManagedServiceList",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/linode-managed-api-openapi.yml#/components/schemas/PaginatedManagedServiceList",
  "allOf": [
    {
      "$ref": "#/$defs/Pagination"
    },
    {
      "type": "object",
      "properties": {
        "data": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ManagedService"
          }
        }
      }
    }
  ],
  "$defs": {
    "ManagedService": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "The unique ID of this managed service."
        },
        "label": {
          "type": "string",
          "description": "The label for this service."
        },
        "service_type": {
          "type": "string",
          "enum": [
            "url"
          ],
          "description": "The type of service monitor."
        },
        "address": {
          "type": "string",
          "description": "The URL to monitor."
        },
        "timeout": {
          "type": "integer",
          "description": "Timeout in seconds before considering the service down."
        },
        "body": {
          "type": "string",
          "description": "A string to look for in the response body."
        },
        "consultation_group": {
          "type": "string",
          "description": "The group of managed contacts to notify."
        },
        "status": {
          "type": "string",
          "enum": [
            "disabled",
            "ok",
            "pending",
            "problem"
          ],
          "description": "The current status of this service."
        },
        "notes": {
          "type": "string",
          "description": "Notes about this service."
        },
        "region": {
          "type": "string",
          "description": "The region to monitor from."
        },
        "credentials": {
          "type": "array",
          "items": {
            "type": "integer"
          },
          "description": "Credential IDs for accessing this service."
        },
        "created": {
          "type": "string",
          "format": "date-time",
          "description": "When this service was created."
        },
        "updated": {
          "type": "string",
          "format": "date-time",
          "description": "When this service was last updated."
        }
      }
    },
    "Pagination": {
      "type": "object",
      "properties": {
        "page": {
          "type": "integer",
          "description": "The current page number."
        },
        "pages": {
          "type": "integer",
          "description": "The total number of pages."
        },
        "results": {
          "type": "integer",
          "description": "The total number of results."
        }
      }
    }
  }
}