carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1{
2 "$schema": "https://json-schema.org/draft/2020-12/schema",
3 "$id": "urn:carlos:maintenance:checker-launch:v2",
4 "title": "Private checker launch context v2",
5 "description": "Shape only. Exact UTF-8 byte bounds, lexical integer canonicality, duplicates, shared route validators, canonical IDs/timestamps and trusted construction are normative in maintenance-checker-launch.md. This schema grants no authority.",
6 "type": "object",
7 "additionalProperties": false,
8 "required": [
9 "version",
10 "execution_kind",
11 "account",
12 "app",
13 "host",
14 "operation_id",
15 "request_id",
16 "attempt_id",
17 "request_digest",
18 "record_identity",
19 "artifact_digest",
20 "environment_envelope_digest",
21 "input_sha256",
22 "expected_state_sha256",
23 "guard_generation",
24 "database_path",
25 "database_device",
26 "database_inode",
27 "execution_deadline",
28 "closed_checkpoint"
29 ],
30 "properties": {
31 "version": {
32 "const": 2
33 },
34 "execution_kind": {
35 "const": "compatibility-check"
36 },
37 "account": {
38 "type": "string",
39 "minLength": 1,
40 "maxLength": 253
41 },
42 "app": {
43 "type": "string",
44 "minLength": 1,
45 "maxLength": 253
46 },
47 "host": {
48 "type": "string",
49 "minLength": 1,
50 "maxLength": 253
51 },
52 "operation_id": {
53 "type": "string",
54 "pattern": "^[A-Za-z0-9_-]{43}$"
55 },
56 "request_id": {
57 "type": "string",
58 "pattern": "^[A-Za-z0-9_-]{43}$"
59 },
60 "attempt_id": {
61 "type": "string",
62 "pattern": "^[A-Za-z0-9_-]{43}$"
63 },
64 "request_digest": {
65 "type": "string",
66 "pattern": "^[a-f0-9]{64}$"
67 },
68 "record_identity": {
69 "type": "string",
70 "pattern": "^[a-f0-9]{64}$"
71 },
72 "artifact_digest": {
73 "type": "string",
74 "pattern": "^[a-f0-9]{64}$"
75 },
76 "environment_envelope_digest": {
77 "type": "string",
78 "pattern": "^[a-f0-9]{64}$"
79 },
80 "input_sha256": {
81 "type": "string",
82 "pattern": "^[a-f0-9]{64}$"
83 },
84 "expected_state_sha256": {
85 "type": "string",
86 "pattern": "^[a-f0-9]{64}$"
87 },
88 "guard_generation": {
89 "type": "integer",
90 "minimum": 1,
91 "maximum": 9223372036854775807
92 },
93 "database_path": {
94 "type": "string",
95 "minLength": 1,
96 "maxLength": 1024,
97 "pattern": "^/[^\\u0000]*$"
98 },
99 "database_device": {
100 "type": "integer",
101 "minimum": 1,
102 "maximum": 18446744073709551615
103 },
104 "database_inode": {
105 "type": "integer",
106 "minimum": 1,
107 "maximum": 18446744073709551615
108 },
109 "execution_deadline": {
110 "type": "string",
111 "format": "date-time",
112 "maxLength": 30
113 },
114 "closed_checkpoint": {
115 "type": "object",
116 "additionalProperties": false,
117 "required": [
118 "version",
119 "preparation_id",
120 "completed_at",
121 "main_length",
122 "main_sha256",
123 "evidence_sha256"
124 ],
125 "properties": {
126 "version": {
127 "const": 1
128 },
129 "preparation_id": {
130 "type": "string",
131 "pattern": "^[A-Za-z0-9_-]{43}$"
132 },
133 "completed_at": {
134 "type": "string",
135 "format": "date-time",
136 "maxLength": 30
137 },
138 "main_length": {
139 "type": "integer",
140 "minimum": 1,
141 "maximum": 268435456
142 },
143 "main_sha256": {
144 "type": "string",
145 "pattern": "^[a-f0-9]{64}$"
146 },
147 "evidence_sha256": {
148 "type": "string",
149 "pattern": "^[a-f0-9]{64}$"
150 }
151 }
152 }
153 }
154}
155