{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/daniloaguiarbr/sqlite-graphrag/schemas/edit.schema.json",
"title": "EditResponse",
"description": "Response emitted by `sqlite-graphrag edit` on stdout as a single JSON line. backend_invoked added in v1.0.84 by ADR-0042.",
"type": "object",
"required": ["memory_id", "name", "action", "version", "elapsed_ms"],
"additionalProperties": false,
"properties": {
"memory_id": { "type": "integer" },
"name": { "type": "string" },
"action": { "type": "string", "enum": ["updated"] },
"version": { "type": "integer", "minimum": 1 },
"elapsed_ms": { "type": "integer", "minimum": 0, "description": "Handler wall-clock time in milliseconds." },
"backend_invoked": {
"description": "v1.0.84 (ADR-0042): backend LLM that ran the live embedding (claude, codex, or none). Omitted when no backend was invoked.",
"type": "string",
"enum": ["claude", "codex", "none"]
}
}
}