{
  "$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-search-results-response-list-schema.json",
  "title": "PaginatedSearchResultsResponseList",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-ansible-automation-platform-api-ui-v1-search-api-openapi.yml#/components/schemas/PaginatedSearchResultsResponseList",
  "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/SearchResultsResponse"
      }
    }
  },
  "$defs": {
    "SearchResultsResponse": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "namespace": {
          "type": "string"
        },
        "description": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "latest_version": {
          "type": "string"
        },
        "avatar_url": {
          "type": "string"
        },
        "contents": {
          "type": "object"
        },
        "download_count": {
          "type": "integer",
          "format": "int64"
        },
        "last_updated": {
          "type": "string",
          "format": "date-time"
        },
        "deprecated": {
          "type": "boolean"
        },
        "tags": {
          "type": "object"
        },
        "platforms": {
          "type": "object"
        },
        "relevance": {
          "type": "number",
          "format": "double"
        },
        "search": {
          "type": "string"
        }
      },
      "required": [
        "avatar_url",
        "contents",
        "deprecated",
        "description",
        "download_count",
        "last_updated",
        "latest_version",
        "name",
        "namespace",
        "platforms",
        "relevance",
        "search",
        "tags",
        "type"
      ]
    }
  }
}