{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/daniloaguiarbr/sqlite-graphrag/schemas/namespace-detect.schema.json",
"title": "NamespaceResolution",
"description": "Response emitted by `sqlite-graphrag namespace-detect` on stdout as a single JSON line. Exit codes: 0 success, 1 runtime error, 2 CLI usage error.",
"type": "object",
"required": ["namespace", "source", "cwd", "elapsed_ms"],
"additionalProperties": false,
"properties": {
"namespace": { "type": "string", "description": "Resolved namespace string." },
"source": {
"type": "string",
"enum": ["explicit_flag", "environment", "default"],
"description": "How the namespace was resolved."
},
"cwd": { "type": "string", "description": "Absolute path of the working directory at resolution time." },
"elapsed_ms": { "type": "integer", "minimum": 0, "description": "Wall-clock time in milliseconds." }
}
}