{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/SearchResourcesResponse",
  "title": "SearchResourcesResponse",
  "type": "object",
  "description": "Response for searching API Hub resources.",
  "properties": {
    "searchResults": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "resource": {
            "type": "object",
            "properties": {
              "api": {
                "$ref": "#/components/schemas/Api"
              },
              "version": {
                "$ref": "#/components/schemas/ApiVersion"
              },
              "spec": {
                "$ref": "#/components/schemas/ApiSpec"
              },
              "deployment": {
                "$ref": "#/components/schemas/Deployment"
              }
            }
          }
        }
      }
    },
    "nextPageToken": {
      "type": "string"
    }
  }
}