{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/daniloaguiarbr/sqlite-graphrag/blob/main/docs/schemas/vec-orphan-list.schema.json",
"title": "vec orphan-list response (v1.0.69)",
"description": "Response shape of `sqlite-graphrag vec orphan-list --json`. Added in v1.0.69 as part of G39 to surface vec_memories, vec_entities, and vec_chunks rows whose parent was soft-deleted or never existed.",
"type": "object",
"properties": {
"namespace": {
"type": "string",
"description": "Namespace the orphan scan ran in"
},
"count": {
"type": "integer",
"minimum": 0,
"description": "Total number of orphan vector rows across all three vec tables"
},
"orphans": {
"type": "array",
"description": "List of orphan vectors, each tagged with the source table kind",
"items": {
"type": "object",
"properties": {
"vector_hash": {
"type": "string",
"description": "Hex-encoded BLAKE3 hash of the orphan vector, used as the deduplication key in vec_purge"
},
"kind": {
"type": "string",
"enum": ["memory", "entity", "chunk"],
"description": "Source table of the orphan row"
}
},
"required": ["vector_hash", "kind"],
"additionalProperties": false
}
},
"elapsed_ms": {
"type": "integer",
"minimum": 0
}
},
"required": ["namespace", "count", "orphans", "elapsed_ms"],
"additionalProperties": false
}