{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/evalgate-com/json-schema/evalgate-com-nl-web-ask-response-schema.json",
  "title": "NlWebAskResponse",
  "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/NlWebAskResponse",
  "type": "object",
  "required": [
    "query_id",
    "query",
    "results",
    "_meta"
  ],
  "properties": {
    "query_id": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/NlWebResult"
      }
    },
    "_meta": {
      "type": "object",
      "required": [
        "response_type",
        "version"
      ],
      "properties": {
        "response_type": {
          "type": "string",
          "const": "answer"
        },
        "version": {
          "type": "string",
          "const": "0.55"
        },
        "response_format": {
          "type": "string",
          "const": "conversational_search"
        }
      }
    }
  },
  "$defs": {
    "NlWebResult": {
      "type": "object",
      "required": [
        "@type",
        "name",
        "identifier",
        "title",
        "url",
        "site",
        "description",
        "text",
        "score",
        "schema_object"
      ],
      "properties": {
        "@type": {
          "type": "string",
          "const": "TechArticle"
        },
        "name": {
          "type": "string"
        },
        "identifier": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "site": {
          "type": "string",
          "const": "evalgate.com"
        },
        "description": {
          "type": "string"
        },
        "text": {
          "type": "string"
        },
        "score": {
          "type": "number",
          "minimum": 0
        },
        "schema_object": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  }
}