interplane.Get Omega
Read in your language

interplane-mv

INTERPLANE: open interoperability protocol between AI models and agent runtimes. Models express intent. Runtimes retain authority.

Brought by drakestapleton

branch main Branches Tags History

interplane-mv / spec / schemas / capability.schema.json

93 lines · 2546 bytes Raw Blame History
1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://interplane.dev/schemas/0.1/capability.schema.json",
4 "title": "INTERPLANE Capability request (CrossAxis output)",
5 "description": "A canonical intent expressed in one runtime's capability coordinate system. Produced by an explicit, versioned mapping. Still carries no authority.",
6 "type": "object",
7 "required": [
8 "kind",
9 "request_id",
10 "runtime",
11 "capability",
12 "arguments",
13 "mapping",
14 "tool"
15 ],
16 "properties": {
17 "kind": {
18 "const": "capability_request"
19 },
20 "request_id": {
21 "$ref": "common.schema.json#/$defs/Id"
22 },
23 "runtime": {
24 "type": "string",
25 "minLength": 1,
26 "maxLength": 256
27 },
28 "capability": {
29 "type": "string",
30 "minLength": 1,
31 "maxLength": 256,
32 "description": "Runtime-native capability name (e.g. read_file)."
33 },
34 "arguments": {
35 "type": "object",
36 "additionalProperties": true
37 },
38 "tool": {
39 "$ref": "common.schema.json#/$defs/ToolRef",
40 "description": "The canonical tool this was mapped from."
41 },
42 "mapping": {
43 "type": "object",
44 "required": [
45 "table_version",
46 "rule_id"
47 ],
48 "properties": {
49 "table_version": {
50 "type": "string",
51 "minLength": 1
52 },
53 "rule_id": {
54 "type": "string",
55 "minLength": 1
56 },
57 "passthrough": {
58 "type": "boolean",
59 "default": false,
60 "description": "true when the rule maps a bare native name to itself."
61 },
62 "catalog_digest": {
63 "oneOf": [
64 {
65 "$ref": "common.schema.json#/$defs/Digest"
66 },
67 {
68 "type": "null"
69 }
70 ],
71 "description": "Digest of the runtime catalog the mapping table was built against. When present and different from the runtime's current catalog digest, the request is rejected with stale_capability before any authority call."
72 }
73 },
74 "additionalProperties": true
75 },
76 "runtime_effects": {
77 "oneOf": [
78 {
79 "$ref": "common.schema.json#/$defs/RuntimeExtension"
80 },
81 {
82 "type": "null"
83 }
84 ],
85 "description": "The runtime's own effect classification, if its catalog declares one. Informational."
86 },
87 "extensions": {
88 "type": "object",
89 "additionalProperties": true
90 }
91 },
92 "additionalProperties": true
93}