{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/desearch-ai/json-schema/desearch-ai-web-search-results-response-schema.json",
  "title": "WebSearchResultsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/desearch-ai-web-search-api-openapi.yml#/components/schemas/WebSearchResultsResponse",
  "properties": {
    "data": {
      "items": {
        "$ref": "#/$defs/WebSearchResultItem"
      },
      "type": "array",
      "title": "Data"
    }
  },
  "type": "object",
  "required": [
    "data"
  ],
  "$defs": {
    "WebSearchResultItem": {
      "properties": {
        "title": {
          "type": "string",
          "title": "Title",
          "description": "EXCLUSIVE Major coffee buyers face losses as Colombia ..."
        },
        "snippet": {
          "type": "string",
          "title": "Snippet",
          "description": "Coffee farmers in Colombia, the world's No. 2 arabica producer, have failed to deliver up to 1 million bags of beans this year or nearly 10% ..."
        },
        "link": {
          "type": "string",
          "maxLength": 2083,
          "minLength": 1,
          "format": "uri",
          "title": "Link",
          "description": "https://www.reuters.com/world/americas/exclusive-major-coffee-buyers-face-losses-colombia-farmers-fail-deliver-2021-10-11/"
        },
        "highlights": {
          "anyOf": [
            {
              "items": {
                "type": "string"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Highlights",
          "description": "Key excerpts from the page. Returned unless the request sets `highlights: false`."
        },
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text",
          "description": "Full page text. Returned only when the request sets `page_text: true`."
        }
      },
      "type": "object",
      "required": [
        "title",
        "snippet",
        "link"
      ],
      "title": "WebSearchResultItem"
    }
  }
}