{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hangingcontext-com/json-schema/hangingcontext-com-ask-answer-schema.json",
  "title": "AskAnswer",
  "description": "An NLWeb answer. Each result is a fact copied word for word from a story.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hangingcontext-com-openapi.json#/components/schemas/AskAnswer",
  "type": "object",
  "required": [
    "_meta",
    "query",
    "results"
  ],
  "properties": {
    "_meta": {
      "type": "object",
      "required": [
        "response_type",
        "version"
      ],
      "properties": {
        "response_type": {
          "type": "string"
        },
        "version": {
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "uses_llm": {
          "type": "boolean"
        }
      }
    },
    "query": {
      "type": "string"
    },
    "no_match": {
      "type": "boolean"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "url": {
            "type": "string",
            "format": "uri"
          },
          "name": {
            "type": "string"
          },
          "description": {
            "type": "string"
          },
          "datePublished": {
            "type": "string"
          },
          "manifest_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "additionalProperties": true
      }
    },
    "next_step": {
      "type": "string"
    }
  },
  "additionalProperties": true
}