{
  "$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-collection-response-schema.json",
  "title": "CollectionResponse",
  "description": "A serializer for a Collection.",
  "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/CollectionResponse",
  "type": "object",
  "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"
  ]
}