{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/talarion-com/json-schema/talarion-com-research-response-schema.json",
  "title": "ResearchResponse",
  "description": "Deprecated envelope returned by POST /v1/research. Identical items to SearchResponse under the pre-rename key.",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/talarion-com-openapi.json#/components/schemas/ResearchResponse",
  "type": "object",
  "required": [
    "research_guidance"
  ],
  "properties": {
    "research_guidance": {
      "type": "array",
      "description": "The retrieved facts.",
      "items": {
        "$ref": "#/$defs/SearchResult"
      }
    }
  },
  "$defs": {
    "SearchResult": {
      "type": "object",
      "required": [
        "question",
        "answer"
      ],
      "properties": {
        "question": {
          "type": "string",
          "description": "The question the fact answers."
        },
        "answer": {
          "type": "string",
          "description": "The verified answer, self-contained."
        },
        "true_by": {
          "type": [
            "string",
            "null"
          ],
          "format": "date",
          "description": "The date the fact was known true (ISO `YYYY-MM-DD`), or `null` when the source carries no truth-time."
        },
        "sources": {
          "type": "array",
          "description": "The upstream URL(s) the fact is drawn from.",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}