{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cuvo-co/json-schema/cuvo-co-ask-response-schema.json",
  "title": "AskResponse",
  "description": "NLWeb response: ranked links answered deterministically from published content.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cuvo-co-openapi.json#/components/schemas/AskResponse",
  "type": "object",
  "properties": {
    "_meta": {
      "type": "object",
      "properties": {
        "response_type": {
          "type": "string",
          "enum": [
            "list"
          ]
        },
        "version": {
          "type": "string"
        }
      },
      "required": [
        "response_type",
        "version"
      ]
    },
    "query_id": {
      "type": "string"
    },
    "query": {
      "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"
          }
        },
        "required": [
          "url",
          "name",
          "site",
          "score",
          "description"
        ]
      }
    }
  },
  "required": [
    "_meta",
    "query_id",
    "query",
    "results"
  ]
}