GCC Build OSv0
/api

AnswerCreatedevent type

An answer artefact was authored for a question. Supports artefact_type-aware payload via content_ref (chunked or external when large), with cited document chunks captured for source tracking.

Full spec

{
  "name": "AnswerCreated",
  "description": "An answer artefact was authored for a question. Supports artefact_type-aware payload via content_ref (chunked or external when large), with cited document chunks captured for source tracking.",
  "current_version": 1,
  "actor_type_allowed": [
    "human"
  ],
  "object_type": "Answer",
  "payload_versions": {
    "v1": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "answer_id",
        "question_id_ref",
        "content",
        "authored_by"
      ],
      "properties": {
        "answer_id": {
          "type": "string",
          "format": "uuid"
        },
        "question_id_ref": {
          "type": "string",
          "format": "uuid"
        },
        "content": {
          "description": "Answer content. Scalar for text/number/date/currency; structured object/array for table/checklist/entity_row; uuid reference for file (resolves to a Document node)."
        },
        "cited_document_chunk_ids": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "default": [],
          "description": "Vectorize chunk identifiers cited in support of this answer."
        },
        "authored_by": {
          "type": "string",
          "format": "uuid"
        },
        "drafted_from_ai_interpretation_id": {
          "type": [
            "string",
            "null"
          ],
          "format": "uuid",
          "description": "Provenance link if this answer was started from an AI draft. The corresponding AIInterpretationAccepted event carries human_edit_distance (Q11)."
        }
      }
    }
  },
  "projections_consuming": [
    "answers_view",
    "questions_view",
    "audit_log"
  ],
  "canonicalizer_module": "event-canonicalizers/answer_created.ts"
}