Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/interplane-mv/blob/main/spec/schemas/result.schema.json # interplane-mv INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `interplane-mv / spec / schemas / result.schema.json` 167 lines ยท 3643 bytes Raw Blame History 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "$id": "https://interplane.dev/schemas/0.1/result.schema.json", 4 "title": "INTERPLANE Result", 5 "description": "What returns to the model side for one request_id: a successful execution, an execution failure, or a canonical non-execution (denied, approval required, rejected, not found).", 6 "type": "object", 7 "required": [ 8 "kind", 9 "request_id", 10 "status" 11 ], 12 "properties": { 13 "kind": { 14 "const": "result" 15 }, 16 "request_id": { 17 "$ref": "common.schema.json#/$defs/Id" 18 }, 19 "status": { 20 "type": "string", 21 "enum": [ 22 "ok", 23 "error", 24 "timed_out", 25 "denied", 26 "requires_approval", 27 "rejected", 28 "not_found" 29 ] 30 }, 31 "data": { 32 "description": "Runtime output. null unless status is ok." 33 }, 34 "error": { 35 "oneOf": [ 36 { 37 "$ref": "common.schema.json#/$defs/Error" 38 }, 39 { 40 "type": "null" 41 } 42 ] 43 }, 44 "decision": { 45 "oneOf": [ 46 { 47 "$ref": "decision.schema.json" 48 }, 49 { 50 "type": "null" 51 } 52 ], 53 "description": "The authority decision that produced a non-executed status, when one exists." 54 }, 55 "provenance": { 56 "type": "object", 57 "properties": { 58 "runtime": { 59 "type": [ 60 "string", 61 "null" 62 ] 63 }, 64 "capability": { 65 "type": [ 66 "string", 67 "null" 68 ] 69 }, 70 "duration_ms": { 71 "type": [ 72 "integer", 73 "null" 74 ], 75 "minimum": 0 76 }, 77 "result_digest": { 78 "oneOf": [ 79 { 80 "$ref": "common.schema.json#/$defs/Digest" 81 }, 82 { 83 "type": "null" 84 } 85 ] 86 }, 87 "trusted": { 88 "type": [ 89 "boolean", 90 "null" 91 ], 92 "description": "Runtime's trust marking of the data (e.g. false for web content)." 93 }, 94 "trust": { 95 "oneOf": [ 96 { 97 "$ref": "common.schema.json#/$defs/TrustLevel" 98 }, 99 { 100 "type": "null" 101 } 102 ], 103 "description": "Runtime-assigned trust level of the data. Absent or null is read as unknown, never as trusted." 104 }, 105 "content_kind": { 106 "oneOf": [ 107 { 108 "$ref": "common.schema.json#/$defs/ContentKind" 109 }, 110 { 111 "type": "null" 112 } 113 ], 114 "description": "What the returned data is (tool_result, web_content, memory, document, email...)." 115 } 116 }, 117 "additionalProperties": true 118 }, 119 "extensions": { 120 "type": "object", 121 "additionalProperties": true 122 } 123 }, 124 "allOf": [ 125 { 126 "if": { 127 "properties": { 128 "status": { 129 "const": "ok" 130 } 131 } 132 }, 133 "then": { 134 "properties": { 135 "error": { 136 "type": "null" 137 } 138 } 139 } 140 }, 141 { 142 "if": { 143 "properties": { 144 "status": { 145 "not": { 146 "const": "ok" 147 } 148 } 149 } 150 }, 151 "then": { 152 "required": [ 153 "error" 154 ], 155 "properties": { 156 "error": { 157 "$ref": "common.schema.json#/$defs/Error" 158 }, 159 "data": { 160 "type": "null" 161 } 162 } 163 } 164 } 165 ], 166 "additionalProperties": true 167 }