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 / probe.schema.json

220 lines · 5319 bytes Raw Blame History
1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "https://interplane.dev/schemas/0.1/probe.schema.json",
4 "title": "INTERPLANE Probe report",
5 "description": "Measured capabilities of one model+backend endpoint. Every verdict is backed by an actual request. PASS (= supported), FAIL (the feature is claimed or expected but the request errored or returned wrong output), DEGRADED (works partially), UNSUPPORTED (the probe ran and the feature is absent), UNKNOWN (the probe ran but support could not be determined; never converted to false), SKIPPED (the probe did not run). A profile is compatible only when all its required probes PASS.",
6 "type": "object",
7 "required": [
8 "kind",
9 "probe_version",
10 "endpoint",
11 "model",
12 "started_at",
13 "probes",
14 "profiles"
15 ],
16 "properties": {
17 "kind": {
18 "const": "probe_report"
19 },
20 "probe_version": {
21 "type": "string",
22 "pattern": "^[0-9]+\\.[0-9]+\\.[0-9]+$"
23 },
24 "endpoint": {
25 "type": "string",
26 "description": "Redacted base URL (no credentials, no query string)."
27 },
28 "backend": {
29 "type": [
30 "string",
31 "null"
32 ],
33 "description": "Detected or declared serving engine (llama.cpp, vllm, ollama, max, unknown)."
34 },
35 "backend_version": {
36 "type": [
37 "string",
38 "null"
39 ]
40 },
41 "model": {
42 "type": "string"
43 },
44 "model_digest": {
45 "oneOf": [
46 {
47 "$ref": "common.schema.json#/$defs/Digest"
48 },
49 {
50 "type": "null"
51 }
52 ],
53 "description": "Digest of the served model identity string plus any reported checkpoint hash."
54 },
55 "started_at": {
56 "$ref": "common.schema.json#/$defs/Timestamp"
57 },
58 "finished_at": {
59 "oneOf": [
60 {
61 "$ref": "common.schema.json#/$defs/Timestamp"
62 },
63 {
64 "type": "null"
65 }
66 ]
67 },
68 "probes": {
69 "type": "array",
70 "items": {
71 "type": "object",
72 "required": [
73 "name",
74 "verdict"
75 ],
76 "properties": {
77 "name": {
78 "type": "string",
79 "pattern": "^[a-z][a-z0-9_.]*$"
80 },
81 "verdict": {
82 "type": "string",
83 "enum": [
84 "PASS",
85 "FAIL",
86 "DEGRADED",
87 "UNSUPPORTED",
88 "UNKNOWN",
89 "SKIPPED"
90 ]
91 },
92 "detail": {
93 "type": [
94 "string",
95 "null"
96 ],
97 "maxLength": 4096
98 },
99 "duration_ms": {
100 "type": [
101 "integer",
102 "null"
103 ],
104 "minimum": 0
105 },
106 "attempts": {
107 "type": [
108 "integer",
109 "null"
110 ],
111 "minimum": 1
112 },
113 "request_digest": {
114 "oneOf": [
115 {
116 "$ref": "common.schema.json#/$defs/Digest"
117 },
118 {
119 "type": "null"
120 }
121 ]
122 },
123 "response_digest": {
124 "oneOf": [
125 {
126 "$ref": "common.schema.json#/$defs/Digest"
127 },
128 {
129 "type": "null"
130 }
131 ]
132 }
133 },
134 "additionalProperties": true
135 }
136 },
137 "profiles": {
138 "type": "array",
139 "items": {
140 "type": "object",
141 "required": [
142 "name",
143 "status",
144 "required_probes"
145 ],
146 "properties": {
147 "name": {
148 "type": "string",
149 "description": "e.g. interplane.core.0.1, lenshift.qwen35.1, lenshift.openai.1, relayline.tool_replay.1"
150 },
151 "status": {
152 "type": "string",
153 "enum": [
154 "compatible",
155 "incompatible",
156 "untested"
157 ]
158 },
159 "required_probes": {
160 "type": "array",
161 "items": {
162 "type": "string"
163 }
164 }
165 },
166 "additionalProperties": true
167 }
168 },
169 "extensions": {
170 "type": "object",
171 "additionalProperties": true
172 },
173 "environment": {
174 "type": "object",
175 "description": "Enough to reproduce the probe.",
176 "properties": {
177 "hardware": {
178 "type": [
179 "string",
180 "null"
181 ]
182 },
183 "os": {
184 "type": [
185 "string",
186 "null"
187 ]
188 },
189 "endpoint_type": {
190 "type": [
191 "string",
192 "null"
193 ],
194 "description": "openai_compatible, ollama_native, ..."
195 },
196 "interplane_version": {
197 "type": [
198 "string",
199 "null"
200 ]
201 },
202 "fixture_revision": {
203 "type": [
204 "string",
205 "null"
206 ],
207 "description": "git commit of the probe fixtures used"
208 },
209 "model_revision": {
210 "type": [
211 "string",
212 "null"
213 ]
214 }
215 },
216 "additionalProperties": true
217 }
218 },
219 "additionalProperties": true
220}