{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "atomwrite get subcommand output",
"description": "Result of `atomwrite get` — reads a value at a dotted path in a structured config file (TOML/JSON).",
"type": "object",
"required": ["type", "path", "key_path", "found", "format", "elapsed_ms"],
"properties": {
"type": { "const": "get" },
"path": { "type": "string", "description": "Absolute path to the config file." },
"key_path": { "type": "string", "description": "Dotted path that was looked up." },
"value": {
"type": ["string", "null"],
"description": "Value as a TOML/JSON string. `null` when the key was not found."
},
"found": { "type": "boolean", "description": "True if the key existed; `value` will be non-null." },
"format": { "enum": ["toml", "json"], "description": "Source config format detected from extension." },
"elapsed_ms": { "type": "integer", "description": "Wall-clock time for the operation in milliseconds." }
},
"additionalProperties": false
}