{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-nl-web-ask-request-schema.json",
  "title": "NlWebAskRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/evalgate-com-agent-discovery-api-openapi.yml#/components/schemas/NlWebAskRequest",
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "query": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        {
          "type": "object",
          "required": [
            "text"
          ],
          "properties": {
            "text": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            },
            "mode": {
              "type": "string",
              "enum": [
                "list"
              ]
            }
          }
        }
      ]
    },
    "streaming": {
      "type": "boolean"
    },
    "prefer": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "streaming": {
          "type": "boolean"
        },
        "mode": {
          "type": "string",
          "enum": [
            "list"
          ]
        },
        "response_format": {
          "type": "string",
          "enum": [
            "conversational_search"
          ]
        }
      }
    },
    "mode": {
      "type": "string",
      "enum": [
        "list"
      ]
    }
  }
}