{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/desearch-ai/json-schema/desearch-ai-response-data-schema.json",
  "title": "ResponseData",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/desearch-ai-openapi.json#/components/schemas/ResponseData",
  "properties": {
    "hacker_news_search": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Hacker News Search",
      "description": "Deprecated and always absent: the Hacker News tool is retired and this key is never returned. Use `search`; scope it with `site:news.ycombinator.com` in the prompt or `include_domains: [\"news.ycombinator.com\"]`.",
      "deprecated": true
    },
    "reddit_search": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Reddit Search",
      "description": "Deprecated and always absent: the Reddit tool is retired and this key is never returned. Use `search`; scope it with `site:reddit.com` in the prompt or `include_domains: [\"reddit.com\"]`.",
      "deprecated": true
    },
    "search": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Search",
      "description": "General search results related to the query."
    },
    "youtube_search": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Youtube Search",
      "description": "Deprecated and always absent: the YouTube tool is retired and this key is never returned. Use `search`; scope it with `site:youtube.com` in the prompt or `include_domains: [\"youtube.com\"]`.",
      "deprecated": true
    },
    "tweets": {
      "anyOf": [
        {
          "items": {
            "additionalProperties": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "object"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Tweets",
      "description": "Tweets related to the search query."
    },
    "text": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Text",
      "description": "Additional text related to the search query."
    },
    "completion": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Completion",
      "description": "Generated completion text or response, typically used in AI-generated content results."
    },
    "warnings": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ResponseWarning"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Warnings",
      "description": "Non-fatal issues for a web+twitter request when a requested tool produced no results or did not respond. Omitted for single-tool requests and when every requested tool returned results."
    }
  },
  "type": "object",
  "$defs": {
    "ResponseWarning": {
      "properties": {
        "code": {
          "type": "string",
          "enum": [
            "tool_no_results",
            "tool_unavailable"
          ],
          "title": "Code"
        },
        "tool": {
          "type": "string",
          "enum": [
            "web",
            "twitter"
          ],
          "title": "Tool"
        },
        "field": {
          "type": "string",
          "title": "Field",
          "description": "Response key the warning refers to"
        },
        "message": {
          "type": "string",
          "title": "Message"
        }
      },
      "type": "object",
      "required": [
        "code",
        "tool",
        "field",
        "message"
      ],
      "title": "ResponseWarning"
    }
  }
}