{
  "$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-search-list-response-list-schema.json",
  "title": "PaginatedCollectionVersionSearchListResponseList",
  "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-plugin-ansible-search-collection-versions-api-openapi.yml#/components/schemas/PaginatedCollectionVersionSearchListResponseList",
  "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/CollectionVersionSearchListResponse"
      }
    }
  },
  "$defs": {
    "CollectionSummaryResponse": {
      "type": "object",
      "description": "Collection Version serializer without docs blob.",
      "properties": {
        "pulp_href": {
          "type": "string",
          "format": "uri",
          "readOnly": true
        },
        "namespace": {
          "type": "string",
          "readOnly": true,
          "description": "The namespace of the collection.",
          "maxLength": 64
        },
        "name": {
          "type": "string",
          "readOnly": true,
          "description": "The name of the collection.",
          "maxLength": 64
        },
        "version": {
          "type": "string",
          "readOnly": true,
          "description": "The version of the collection.",
          "maxLength": 128
        },
        "requires_ansible": {
          "type": [
            "string",
            "null"
          ],
          "readOnly": true,
          "description": "The version of Ansible required to use the collection. Multiple versions can be separated with a comma.",
          "maxLength": 255
        },
        "pulp_created": {
          "type": "string",
          "format": "date-time",
          "readOnly": true,
          "description": "Timestamp of creation."
        },
        "contents": {
          "type": "array",
          "items": {},
          "readOnly": true,
          "description": "A JSON field with data about the contents."
        },
        "dependencies": {
          "type": "object",
          "readOnly": true,
          "description": "A dict declaring Collections that this collection requires to be installed for it to be usable."
        },
        "description": {
          "type": "string",
          "readOnly": true,
          "description": "A short summary description of the collection."
        },
        "tags": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ansible.TagResponse"
          },
          "readOnly": true
        }
      }
    },
    "CollectionVersionSearchListResponse": {
      "type": "object",
      "description": "Cross-repo search results.",
      "properties": {
        "repository": {
          "$ref": "#/$defs/RepositoryResponse"
        },
        "collection_version": {
          "$ref": "#/$defs/CollectionSummaryResponse"
        },
        "repository_version": {
          "type": "string",
          "readOnly": true
        },
        "namespace_metadata": {
          "allOf": [
            {
              "$ref": "#/$defs/ansible.AnsibleNamespaceMetadataResponse"
            }
          ]
        },
        "is_highest": {
          "type": "boolean"
        },
        "is_deprecated": {
          "type": "boolean"
        },
        "is_signed": {
          "type": "boolean"
        }
      },
      "required": [
        "collection_version",
        "is_deprecated",
        "is_highest",
        "is_signed",
        "namespace_metadata",
        "repository"
      ]
    },
    "NamespaceLinkResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "maxLength": 32
        },
        "url": {
          "type": "string",
          "maxLength": 256
        }
      },
      "required": [
        "name",
        "url"
      ]
    },
    "RepositoryResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "description": {
          "type": [
            "string",
            "null"
          ]
        },
        "pulp_id": {
          "type": "string",
          "format": "uuid",
          "readOnly": true
        },
        "pulp_last_updated": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time",
          "readOnly": true
        },
        "content_count": {
          "type": "integer",
          "readOnly": true
        },
        "gpgkey": {
          "type": "string"
        }
      },
      "required": [
        "gpgkey",
        "name"
      ]
    },
    "ansible.AnsibleNamespaceMetadataResponse": {
      "type": "object",
      "description": "A serializer for Namespaces.",
      "properties": {
        "pulp_href": {
          "type": "string",
          "format": "uri",
          "readOnly": true
        },
        "name": {
          "type": "string",
          "description": "Required named, only accepts lowercase, numbers and underscores.",
          "maxLength": 64,
          "minLength": 3,
          "pattern": "^(?!.*__)[a-z]+[0-9a-z_]*$"
        },
        "company": {
          "type": "string",
          "description": "Optional namespace company owner.",
          "maxLength": 64
        },
        "email": {
          "type": "string",
          "description": "Optional namespace contact email.",
          "maxLength": 256
        },
        "description": {
          "type": "string",
          "description": "Optional short description.",
          "maxLength": 256
        },
        "resources": {
          "type": "string",
          "description": "Optional resource page in markdown format."
        },
        "links": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/NamespaceLinkResponse"
          },
          "description": "Labeled related links."
        },
        "avatar_sha256": {
          "type": "string",
          "readOnly": true,
          "description": "SHA256 digest of avatar image if present.",
          "maxLength": 64
        },
        "avatar_url": {
          "type": "string",
          "readOnly": true,
          "description": "Download link for avatar image if present."
        },
        "metadata_sha256": {
          "type": "string",
          "readOnly": true
        }
      },
      "required": [
        "name"
      ]
    },
    "ansible.TagResponse": {
      "type": "object",
      "description": "A serializer for nesting in the CollectionVersion model.",
      "properties": {
        "name": {
          "type": "string",
          "readOnly": true,
          "description": "The name of the Tag."
        }
      }
    }
  }
}