interplane-mv
INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.
Brought by drakestapleton
interplane-mv / spec / schemas / event.schema.json
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$id": "https://interplane.dev/schemas/0.1/event.schema.json", |
| 4 | "title": "INTERPLANE Event (RelayLine v0.1 contract)", |
| 5 | "description": "One step of a multi-round exchange. v0.1 defines the event vocabulary and ordering only; streaming transport is out of scope.", |
| 6 | "type": "object", |
| 7 | "required": [ |
| 8 | "kind", |
| 9 | "event", |
| 10 | "seq" |
| 11 | ], |
| 12 | "properties": { |
| 13 | "kind": { |
| 14 | "const": "event" |
| 15 | }, |
| 16 | "event": { |
| 17 | "type": "string", |
| 18 | "enum": [ |
| 19 | "model_delta", |
| 20 | "reasoning_delta", |
| 21 | "tool_request", |
| 22 | "tool_mapped", |
| 23 | "tool_decision", |
| 24 | "tool_execution_started", |
| 25 | "tool_result", |
| 26 | "tool_error", |
| 27 | "continue", |
| 28 | "complete", |
| 29 | "cancelled" |
| 30 | ] |
| 31 | }, |
| 32 | "seq": { |
| 33 | "type": "integer", |
| 34 | "minimum": 0, |
| 35 | "description": "Monotonic per trace." |
| 36 | }, |
| 37 | "request_id": { |
| 38 | "oneOf": [ |
| 39 | { |
| 40 | "$ref": "common.schema.json#/$defs/Id" |
| 41 | }, |
| 42 | { |
| 43 | "type": "null" |
| 44 | } |
| 45 | ] |
| 46 | }, |
| 47 | "turn": { |
| 48 | "type": [ |
| 49 | "integer", |
| 50 | "null" |
| 51 | ], |
| 52 | "minimum": 0 |
| 53 | }, |
| 54 | "payload": { |
| 55 | "type": "object", |
| 56 | "additionalProperties": true |
| 57 | }, |
| 58 | "extensions": { |
| 59 | "type": "object", |
| 60 | "additionalProperties": true |
| 61 | } |
| 62 | }, |
| 63 | "additionalProperties": true |
| 64 | } |