baa-conductor

git clone 

baa-conductor / docs / baa-instruction-system-v5 / schemas
codex@macbookpro  ·  2026-03-27

baa-execution-result.schema.json

  1{
  2  "$schema": "https://json-schema.org/draft/2020-12/schema",
  3  "$id": "https://makefile.so/schemas/baa-execution-result.schema.json",
  4  "title": "BAA Execution Result",
  5  "type": "object",
  6  "required": [
  7    "instruction_id",
  8    "target",
  9    "tool",
 10    "ok",
 11    "summary",
 12    "delivery_mode"
 13  ],
 14  "properties": {
 15    "instruction_id": {
 16      "type": "string"
 17    },
 18    "target": {
 19      "type": "string"
 20    },
 21    "tool": {
 22      "type": "string"
 23    },
 24    "ok": {
 25      "type": "boolean"
 26    },
 27    "summary": {
 28      "type": "string"
 29    },
 30    "data": {
 31      "type": [
 32        "object",
 33        "array",
 34        "string",
 35        "number",
 36        "boolean",
 37        "null"
 38      ]
 39    },
 40    "truncated": {
 41      "type": "boolean"
 42    },
 43    "delivery_mode": {
 44      "enum": [
 45        "inline",
 46        "inline_and_artifact",
 47        "artifact_only"
 48      ]
 49    },
 50    "artifact_refs": {
 51      "type": "array",
 52      "items": {
 53        "type": "object",
 54        "required": [
 55          "artifact_id",
 56          "filename",
 57          "mime_type"
 58        ],
 59        "properties": {
 60          "artifact_id": {
 61            "type": "string"
 62          },
 63          "kind": {
 64            "type": "string"
 65          },
 66          "filename": {
 67            "type": "string"
 68          },
 69          "mime_type": {
 70            "type": "string"
 71          },
 72          "size_bytes": {
 73            "type": "integer",
 74            "minimum": 0
 75          },
 76          "sha256": {
 77            "type": [
 78              "string",
 79              "null"
 80            ]
 81          },
 82          "local_path": {
 83            "type": [
 84              "string",
 85              "null"
 86            ]
 87          },
 88          "remote_handle": {
 89            "type": [
 90              "string",
 91              "null"
 92            ]
 93          }
 94        },
 95        "additionalProperties": true
 96      }
 97    },
 98    "error_code": {
 99      "type": [
100        "string",
101        "null"
102      ]
103    }
104  },
105  "additionalProperties": true
106}