{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/daniloaguiarbr/sqlite-graphrag/schemas/unlink.schema.json",
"title": "UnlinkResponse",
"description": "Response emitted by `sqlite-graphrag unlink` on stdout as a single JSON line.",
"type": "object",
"required": ["action", "relationship_id", "from_name", "to_name", "relation", "namespace", "elapsed_ms"],
"additionalProperties": false,
"properties": {
"action": { "type": "string", "enum": ["deleted"] },
"relationship_id": { "type": "integer" },
"from_name": { "type": "string" },
"to_name": { "type": "string" },
"relation": { "type": "string" },
"namespace": { "type": "string" },
"elapsed_ms": { "type": "integer", "minimum": 0, "description": "Handler wall-clock time in milliseconds." }
}
}