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 / input.schema.json
| 1 | { |
| 2 | "$schema": "https://json-schema.org/draft/2020-12/schema", |
| 3 | "$id": "https://interplane.dev/schemas/0.1/input.schema.json", |
| 4 | "title": "INTERPLANE InputRecord", |
| 5 | "description": "One piece of material placed in front of the model. Recorded by the runtime or the host, never by the model. `trust` is assigned by the runtime; a model cannot raise it.", |
| 6 | "type": "object", |
| 7 | "required": ["input_id", "content_kind", "trust", "source", "origin", "content_digest", "trace_id", "parent_id", "derived_from"], |
| 8 | "properties": { |
| 9 | "input_id": {"$ref": "common.schema.json#/$defs/Id", "description": "Unique per trace."}, |
| 10 | "content_kind": {"$ref": "common.schema.json#/$defs/ContentKind"}, |
| 11 | "trust": {"$ref": "common.schema.json#/$defs/TrustLevel"}, |
| 12 | "source": {"$ref": "common.schema.json#/$defs/Party", "description": "Who handed the bytes to the context."}, |
| 13 | "origin": {"type": "string", "minLength": 1, "maxLength": 2048, "description": "Locator for where the bytes came from: file path, URL, memory record id, provider id or `runtime:<id>`. May be a digest-only form (`sha256:...`) for sensitive locators."}, |
| 14 | "content_digest": {"$ref": "common.schema.json#/$defs/Digest", "description": "SHA-256 of the exact bytes shown to the model."}, |
| 15 | "trace_id": {"$ref": "common.schema.json#/$defs/Id"}, |
| 16 | "parent_id": {"oneOf": [{"$ref": "common.schema.json#/$defs/Id"}, {"type": "null"}], "description": "The message_id or request_id that produced this input. Null for host-registered inputs."}, |
| 17 | "derived_from": {"type": "array", "items": {"$ref": "common.schema.json#/$defs/Id"}, "description": "input_ids this input was computed from (summaries, nested content). May be empty."} |
| 18 | }, |
| 19 | "additionalProperties": true |
| 20 | } |