Repository navigation
Expand file tree
/
Copy pathresult-v0.schema.json
More file actions
72 lines (72 loc) · 2.21 KB
/
Copy pathresult-v0.schema.json
File metadata and controls
72 lines (72 loc) · 2.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://machine-control.invalid/contracts/result-v0.schema.json",
"title": "Machine Control Result v0",
"type": "object",
"required": [
"schema",
"requestId",
"operation",
"accepted",
"actualRoute",
"generation",
"hostInterference",
"uncertainty",
"elapsedMs"
],
"properties": {
"schema": { "const": "machine-control/v0" },
"requestId": { "type": "string", "minLength": 1 },
"operation": { "type": "string", "minLength": 1 },
"accepted": { "type": "boolean" },
"actualRoute": { "type": "string", "minLength": 1 },
"generation": { "type": "string", "minLength": 1 },
"delivery": {
"enum": ["confirmed", "unknown", "refused", "not_applicable"]
},
"effect": {
"enum": [
"confirmed",
"partial",
"no_effect",
"unverifiable",
"unknown",
"refused",
"not_applicable"
]
},
"fidelity": { "type": "string" },
"coordinateSpace": { "type": "string" },
"focusConsequence": { "type": "string" },
"cursorConsequence": { "type": "string" },
"hostInterference": { "type": "string", "minLength": 1 },
"uncertainty": { "type": "string", "minLength": 1 },
"retrySafety": { "type": "string" },
"fallbackUsed": { "type": "boolean" },
"agentRoundTrips": { "type": "integer", "minimum": 0 },
"retryCount": { "type": "integer", "minimum": 0 },
"staleReferenceEvents": { "type": "integer", "minimum": 0 },
"errorCode": { "type": "string" },
"message": { "type": "string" },
"providerAttempts": {
"type": "array",
"items": {
"type": "object",
"required": ["provider", "outcome"],
"properties": {
"provider": { "type": "string" },
"operation": { "type": "string" },
"outcome": { "type": "string" },
"delivery": { "type": "string" },
"effect": { "type": "string" },
"elapsedMs": { "type": "integer", "minimum": 0 }
},
"additionalProperties": true
}
},
"evidence": {},
"data": {},
"elapsedMs": { "type": "integer", "minimum": 0 }
},
"additionalProperties": true
}