{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/audiomap-ai/json-schema/audiomap-ai-global-answer-schema.json",
  "title": "GlobalAnswer",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/audiomap-ai-openapi.json#/components/schemas/GlobalAnswer",
  "type": "object",
  "properties": {
    "question": {
      "type": "string"
    },
    "answer": {
      "type": "string",
      "description": "Quotes as [Note title | mm:ss]"
    },
    "citedSegments": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "uuid"
      }
    },
    "citedNotes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "noteId": {
            "type": "string",
            "format": "uuid"
          },
          "title": {
            "type": "string"
          }
        }
      }
    },
    "sessionId": {
      "type": "string",
      "format": "uuid"
    }
  }
}