{
  "$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-version-list-response-list-schema.json",
  "title": "PaginatedCollectionVersionListResponseList",
  "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-versions-api-openapi.yml#/components/schemas/PaginatedCollectionVersionListResponseList",
  "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/CollectionVersionListResponse"
      }
    }
  },
  "$defs": {
    "CollectionVersionListResponse": {
      "type": "object",
      "description": "A serializer for a CollectionVersion list item.",
      "properties": {
        "version": {
          "type": "string",
          "maxLength": 128
        },
        "href": {
          "type": "string",
          "description": "Get href.",
          "readOnly": true
        },
        "created_at": {
          "type": "string",
          "format": "date-time"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time"
        },
        "requires_ansible": {
          "type": [
            "string",
            "null"
          ],
          "maxLength": 255
        },
        "marks": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Get a list of mark values filtering only those in the current repo.",
          "readOnly": true
        }
      },
      "required": [
        "created_at",
        "updated_at",
        "version"
      ]
    }
  }
}