{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/getoneprofile-ai/json-schema/getoneprofile-ai-ai-context-qa-create-schema-schema.json",
  "title": "AiContextQaCreateSchema",
  "description": "Request body for adding an answer to the Q&A.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/getoneprofile-ai-ai-context-api-openapi.yml#/components/schemas/AiContextQaCreateSchema",
  "properties": {
    "answer": {
      "description": "The answer the agents should state.",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Answer",
      "type": "string"
    },
    "question": {
      "description": "The question as a reply would ask it. A question the Q&A already answers, whatever its case or closing punctuation, is the same question.",
      "maxLength": 300,
      "minLength": 1,
      "title": "Question",
      "type": "string"
    },
    "sequence_id": {
      "anyOf": [
        {
          "format": "uuid",
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Keep the answer for this one sequence's agent alone; null, the default, keeps it for every sequence.",
      "title": "Sequence Id"
    }
  },
  "required": [
    "question",
    "answer"
  ],
  "type": "object"
}