{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-ansible-automation-platform/json-schema/red-hat-ansible-automation-platform-paginated-resource-list-response-list-schema.json",
  "title": "PaginatedResourceListResponseList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-service-index-resources-api-openapi.yml#/components/schemas/PaginatedResourceListResponseList",
  "type": "object",
  "required": [
    "count",
    "results"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ResourceListResponse"
      }
    }
  },
  "$defs": {
    "ResourceListResponse": {
      "type": "object",
      "properties": {
        "object_id": {
          "type": "string",
          "readOnly": true,
          "description": "The object id for this resource."
        },
        "name": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "The name of this resource."
        },
        "ansible_id": {
          "type": "string",
          "format": "uuid",
          "description": "A unique ID identifying this resource by the resource server."
        },
        "service_id": {
          "type": "string",
          "format": "uuid",
          "description": "ID of the service responsible for managing this resource."
        },
        "is_partially_migrated": {
          "type": "boolean",
          "description": "A flag indicating that the resource has been copied into the resource server, but the service_id hasn't been updated yet."
        },
        "resource_type": {
          "type": "string"
        },
        "has_serializer": {
          "type": "boolean",
          "readOnly": true
        },
        "url": {
          "type": "string",
          "readOnly": true
        }
      }
    }
  }
}