{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://void.build/schemas/explain-v1.schema.json", "title": "VoidBuildSystem action explanation (schema_version 1)", "description": "Emitted by `vbs explain --format json`. Any shape change bumps schema_version and adds a new schema file.", "type": "object", "required": ["schema_version", "profile", "total", "up_to_date", "would_run", "actions"], "additionalProperties": false, "properties": { "schema_version": { "type": "integer", "enum": [1] }, "profile": { "type": "string" }, "total": { "type": "integer", "minimum": 0 }, "up_to_date": { "type": "integer", "minimum": 0 }, "would_run": { "type": "integer", "minimum": 0 }, "actions": { "type": "array", "items": { "type": "object", "required": [ "id", "target", "label", "action_key", "cacheable", "would_run", "restorable", "remote_hit", "reason", "changed_inputs", "changed_outputs", "command" ], "additionalProperties": false, "properties": { "id": { "type": "string" }, "target": { "type": "string" }, "label": { "type": "string" }, "action_key": { "type": "string" }, "cacheable": { "type": "boolean" }, "would_run": { "type": "boolean" }, "restorable": { "type": "boolean" }, "remote_hit": { "type": "boolean" }, "reason": { "type": "string" }, "changed_inputs": { "type": "array", "items": { "type": "string" } }, "changed_outputs": { "type": "array", "items": { "type": "string" } }, "command": { "type": "string" } } } } } }