{
  "$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-collection-response-list-schema.json",
  "title": "PaginatedCollectionResponseList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-content-v3-collections-api-openapi.yml#/components/schemas/PaginatedCollectionResponseList",
  "type": "object",
  "properties": {
    "meta": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        }
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "first": {
          "type": [
            "string",
            "null"
          ]
        },
        "previous": {
          "type": [
            "string",
            "null"
          ]
        },
        "next": {
          "type": [
            "string",
            "null"
          ]
        },
        "last": {
          "type": [
            "string",
            "null"
          ]
        }
      }
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CollectionResponse"
      }
    }
  },
  "$defs": {
    "CollectionResponse": {
      "type": "object",
      "description": "A serializer for a Collection.",
      "properties": {
        "href": {
          "type": "string",
          "description": "Get href.",
          "readOnly": true
        },
        "namespace": {
          "type": "string",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "readOnly": true
        },
        "deprecated": {
          "type": "boolean"
        },
        "versions_url": {
          "type": "string",
          "description": "Get a link to a collection versions list.",
          "readOnly": true
        },
        "highest_version": {
          "type": "object",
          "description": "Get a highest version and its link.",
          "readOnly": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "description": "Get the timestamp of the lowest version CollectionVersion's created timestamp.",
          "readOnly": true
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "description": "Get the timestamp of the latest version CollectionVersion's created timestamp.",
          "readOnly": true
        },
        "download_count": {
          "type": "integer",
          "description": "Get the download count of the collection",
          "readOnly": true
        }
      },
      "required": [
        "deprecated"
      ]
    }
  }
}