{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/edgechat-ai/json-schema/edgechat-ai-nlweb-ask-response-schema.json",
  "title": "NlwebAskResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/edgechat-ai-ask-api-openapi.yml#/components/schemas/NlwebAskResponse",
  "type": "object",
  "properties": {
    "_meta": {
      "type": "object",
      "properties": {
        "version": {
          "type": "string"
        },
        "response_type": {
          "type": "string",
          "const": "list"
        },
        "generate_mode": {
          "type": "string"
        },
        "note": {
          "type": "string"
        }
      }
    },
    "query_id": {
      "type": "string"
    },
    "query": {
      "type": "string"
    },
    "did_you_mean": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          },
          "site": {
            "type": "string"
          },
          "score": {
            "type": "number"
          },
          "description": {
            "type": "string"
          },
          "schema_object": {
            "type": "object"
          }
        }
      }
    },
    "license": {
      "$ref": "#/$defs/License"
    }
  },
  "$defs": {
    "License": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "summary": {
          "type": "string"
        },
        "spdx": {
          "type": "string"
        }
      },
      "required": [
        "name",
        "url"
      ]
    }
  }
}