@dyno-cloud/schema 0.0.0-stage → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/json/budget.schema.json +239 -0
- package/json/catalogue.schema.json +2217 -0
- package/json/compare.schema.json +823 -0
- package/json/devices.json +399 -0
- package/json/doctor.schema.json +144 -0
- package/json/driver-message.schema.json +912 -0
- package/json/dyno-toml.schema.json +80 -0
- package/json/exposure-checkpoint.schema.json +97 -0
- package/json/games.schema.json +66 -0
- package/json/library-bucket.schema.json +22 -0
- package/json/library.schema.json +19 -0
- package/json/measures.json +407 -0
- package/json/probe-event.schema.json +465 -0
- package/json/result.schema.json +2140 -0
- package/json/run-request.schema.json +161 -0
- package/json/unclean-exit.schema.json +99 -0
- package/package.json +22 -4
- package/ts/AssetChange.ts +8 -0
- package/ts/AssetChangeKind.ts +6 -0
- package/ts/AssignedRole.ts +7 -0
- package/ts/AudioState.ts +6 -0
- package/ts/BrowserEngine.ts +6 -0
- package/ts/BudgetId.ts +6 -0
- package/ts/BudgetLimit.ts +8 -0
- package/ts/BudgetRef.ts +15 -0
- package/ts/BudgetVerdict.ts +22 -0
- package/ts/BuildLink.ts +6 -0
- package/ts/BuildManifest.ts +17 -0
- package/ts/CatalogueEntry.ts +7 -0
- package/ts/CatalogueResult.ts +22 -0
- package/ts/CheckResult.ts +16 -0
- package/ts/CompareDeterministic.ts +42 -0
- package/ts/CompareResult.ts +12 -0
- package/ts/CompareRun.ts +17 -0
- package/ts/ContextKind.ts +6 -0
- package/ts/Covers.ts +6 -0
- package/ts/Deterministic.ts +35 -0
- package/ts/DeviceClass.ts +6 -0
- package/ts/DeviceEntry.ts +25 -0
- package/ts/DeviceKind.ts +6 -0
- package/ts/DoctorCheck.ts +16 -0
- package/ts/DoctorCheckId.ts +6 -0
- package/ts/DoctorReport.ts +20 -0
- package/ts/DriverInfo.ts +10 -0
- package/ts/DriverMessage.ts +37 -0
- package/ts/Environment.ts +13 -0
- package/ts/EnvironmentBrowser.ts +23 -0
- package/ts/EnvironmentDevice.ts +27 -0
- package/ts/EnvironmentOs.ts +12 -0
- package/ts/Evidence.ts +11 -0
- package/ts/ExposureCheckpoint.ts +9 -0
- package/ts/ExposureSample.ts +15 -0
- package/ts/FileKind.ts +6 -0
- package/ts/Finding.ts +29 -0
- package/ts/Fix.ts +22 -0
- package/ts/FixAction.ts +7 -0
- package/ts/FrameState.ts +6 -0
- package/ts/GameHookKind.ts +6 -0
- package/ts/HostProfile.ts +47 -0
- package/ts/Inputs.ts +34 -0
- package/ts/Library.ts +6 -0
- package/ts/LibraryBucket.ts +6 -0
- package/ts/LiveFrame.ts +19 -0
- package/ts/Machine.ts +14 -0
- package/ts/ManifestFile.ts +12 -0
- package/ts/Measure.ts +50 -0
- package/ts/MeasureChange.ts +14 -0
- package/ts/MeasureEntry.ts +13 -0
- package/ts/MeasureId.ts +6 -0
- package/ts/MeasureItem.ts +15 -0
- package/ts/MeasureStatus.ts +6 -0
- package/ts/MeasureValue.ts +7 -0
- package/ts/MemorySample.ts +24 -0
- package/ts/MessageDirection.ts +6 -0
- package/ts/Method.ts +6 -0
- package/ts/OsName.ts +6 -0
- package/ts/ProbeEvent.ts +48 -0
- package/ts/ProcessMemory.ts +22 -0
- package/ts/ProcessRole.ts +6 -0
- package/ts/ProfileRef.ts +6 -0
- package/ts/Quantity.ts +7 -0
- package/ts/RelPath.ts +9 -0
- package/ts/Release.ts +12 -0
- package/ts/ResultRef.ts +15 -0
- package/ts/RuleId.ts +6 -0
- package/ts/RunCoverage.ts +8 -0
- package/ts/RunInfo.ts +56 -0
- package/ts/RunMark.ts +6 -0
- package/ts/RunRequest.ts +24 -0
- package/ts/Scenario.ts +6 -0
- package/ts/Scope.ts +12 -0
- package/ts/Severity.ts +6 -0
- package/ts/Shard.ts +17 -0
- package/ts/Source.ts +6 -0
- package/ts/SourceKind.ts +7 -0
- package/ts/Statistic.ts +7 -0
- package/ts/Status.ts +9 -0
- package/ts/Target.ts +15 -0
- package/ts/Tier.ts +9 -0
- package/ts/TierReport.ts +26 -0
- package/ts/Timeline.ts +21 -0
- package/ts/TimelineMark.ts +11 -0
- package/ts/TimelineMethod.ts +6 -0
- package/ts/TimelineProcess.ts +22 -0
- package/ts/ToolBuild.ts +14 -0
- package/ts/Uncertainty.ts +19 -0
- package/ts/UncertaintyKind.ts +6 -0
- package/ts/UncleanExit.ts +16 -0
- package/ts/Unit.ts +6 -0
- package/ts/Verdict.ts +6 -0
- package/ts/VerdictChange.ts +12 -0
- package/ts/Versions.ts +22 -0
- package/ts/Viewport.ts +6 -0
- package/ts/index.ts +97 -0
- package/README.md +0 -3
|
@@ -0,0 +1,399 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"key": "iphone-xs",
|
|
4
|
+
"name": "iPhone XS",
|
|
5
|
+
"vendor": "Apple",
|
|
6
|
+
"kind": "phone",
|
|
7
|
+
"os_family": "ios",
|
|
8
|
+
"year": 2018,
|
|
9
|
+
"identifiers": [
|
|
10
|
+
"iPhone11,2"
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"key": "iphone-xs-max",
|
|
15
|
+
"name": "iPhone XS Max",
|
|
16
|
+
"vendor": "Apple",
|
|
17
|
+
"kind": "phone",
|
|
18
|
+
"os_family": "ios",
|
|
19
|
+
"year": 2018,
|
|
20
|
+
"identifiers": [
|
|
21
|
+
"iPhone11,4",
|
|
22
|
+
"iPhone11,6"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"key": "iphone-xr",
|
|
27
|
+
"name": "iPhone XR",
|
|
28
|
+
"vendor": "Apple",
|
|
29
|
+
"kind": "phone",
|
|
30
|
+
"os_family": "ios",
|
|
31
|
+
"year": 2018,
|
|
32
|
+
"identifiers": [
|
|
33
|
+
"iPhone11,8"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"key": "iphone-11",
|
|
38
|
+
"name": "iPhone 11",
|
|
39
|
+
"vendor": "Apple",
|
|
40
|
+
"kind": "phone",
|
|
41
|
+
"os_family": "ios",
|
|
42
|
+
"year": 2019,
|
|
43
|
+
"identifiers": [
|
|
44
|
+
"iPhone12,1"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "iphone-11-pro",
|
|
49
|
+
"name": "iPhone 11 Pro",
|
|
50
|
+
"vendor": "Apple",
|
|
51
|
+
"kind": "phone",
|
|
52
|
+
"os_family": "ios",
|
|
53
|
+
"year": 2019,
|
|
54
|
+
"identifiers": [
|
|
55
|
+
"iPhone12,3"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"key": "iphone-11-pro-max",
|
|
60
|
+
"name": "iPhone 11 Pro Max",
|
|
61
|
+
"vendor": "Apple",
|
|
62
|
+
"kind": "phone",
|
|
63
|
+
"os_family": "ios",
|
|
64
|
+
"year": 2019,
|
|
65
|
+
"identifiers": [
|
|
66
|
+
"iPhone12,5"
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"key": "iphone-se-2nd-generation",
|
|
71
|
+
"name": "iPhone SE (2nd generation)",
|
|
72
|
+
"vendor": "Apple",
|
|
73
|
+
"kind": "phone",
|
|
74
|
+
"os_family": "ios",
|
|
75
|
+
"year": 2020,
|
|
76
|
+
"identifiers": [
|
|
77
|
+
"iPhone12,8"
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"key": "iphone-12-mini",
|
|
82
|
+
"name": "iPhone 12 mini",
|
|
83
|
+
"vendor": "Apple",
|
|
84
|
+
"kind": "phone",
|
|
85
|
+
"os_family": "ios",
|
|
86
|
+
"year": 2020,
|
|
87
|
+
"identifiers": [
|
|
88
|
+
"iPhone13,1"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"key": "iphone-12",
|
|
93
|
+
"name": "iPhone 12",
|
|
94
|
+
"vendor": "Apple",
|
|
95
|
+
"kind": "phone",
|
|
96
|
+
"os_family": "ios",
|
|
97
|
+
"year": 2020,
|
|
98
|
+
"identifiers": [
|
|
99
|
+
"iPhone13,2"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"key": "iphone-12-pro",
|
|
104
|
+
"name": "iPhone 12 Pro",
|
|
105
|
+
"vendor": "Apple",
|
|
106
|
+
"kind": "phone",
|
|
107
|
+
"os_family": "ios",
|
|
108
|
+
"year": 2020,
|
|
109
|
+
"identifiers": [
|
|
110
|
+
"iPhone13,3"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"key": "iphone-12-pro-max",
|
|
115
|
+
"name": "iPhone 12 Pro Max",
|
|
116
|
+
"vendor": "Apple",
|
|
117
|
+
"kind": "phone",
|
|
118
|
+
"os_family": "ios",
|
|
119
|
+
"year": 2020,
|
|
120
|
+
"identifiers": [
|
|
121
|
+
"iPhone13,4"
|
|
122
|
+
]
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"key": "iphone-13-mini",
|
|
126
|
+
"name": "iPhone 13 mini",
|
|
127
|
+
"vendor": "Apple",
|
|
128
|
+
"kind": "phone",
|
|
129
|
+
"os_family": "ios",
|
|
130
|
+
"year": 2021,
|
|
131
|
+
"identifiers": [
|
|
132
|
+
"iPhone14,4"
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"key": "iphone-13",
|
|
137
|
+
"name": "iPhone 13",
|
|
138
|
+
"vendor": "Apple",
|
|
139
|
+
"kind": "phone",
|
|
140
|
+
"os_family": "ios",
|
|
141
|
+
"year": 2021,
|
|
142
|
+
"identifiers": [
|
|
143
|
+
"iPhone14,5"
|
|
144
|
+
]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"key": "iphone-13-pro",
|
|
148
|
+
"name": "iPhone 13 Pro",
|
|
149
|
+
"vendor": "Apple",
|
|
150
|
+
"kind": "phone",
|
|
151
|
+
"os_family": "ios",
|
|
152
|
+
"year": 2021,
|
|
153
|
+
"identifiers": [
|
|
154
|
+
"iPhone14,2"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"key": "iphone-13-pro-max",
|
|
159
|
+
"name": "iPhone 13 Pro Max",
|
|
160
|
+
"vendor": "Apple",
|
|
161
|
+
"kind": "phone",
|
|
162
|
+
"os_family": "ios",
|
|
163
|
+
"year": 2021,
|
|
164
|
+
"identifiers": [
|
|
165
|
+
"iPhone14,3"
|
|
166
|
+
]
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"key": "iphone-se-3rd-generation",
|
|
170
|
+
"name": "iPhone SE (3rd generation)",
|
|
171
|
+
"vendor": "Apple",
|
|
172
|
+
"kind": "phone",
|
|
173
|
+
"os_family": "ios",
|
|
174
|
+
"year": 2022,
|
|
175
|
+
"identifiers": [
|
|
176
|
+
"iPhone14,6"
|
|
177
|
+
]
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
"key": "iphone-14",
|
|
181
|
+
"name": "iPhone 14",
|
|
182
|
+
"vendor": "Apple",
|
|
183
|
+
"kind": "phone",
|
|
184
|
+
"os_family": "ios",
|
|
185
|
+
"year": 2022,
|
|
186
|
+
"identifiers": [
|
|
187
|
+
"iPhone14,7"
|
|
188
|
+
]
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"key": "iphone-14-plus",
|
|
192
|
+
"name": "iPhone 14 Plus",
|
|
193
|
+
"vendor": "Apple",
|
|
194
|
+
"kind": "phone",
|
|
195
|
+
"os_family": "ios",
|
|
196
|
+
"year": 2022,
|
|
197
|
+
"identifiers": [
|
|
198
|
+
"iPhone14,8"
|
|
199
|
+
]
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"key": "iphone-14-pro",
|
|
203
|
+
"name": "iPhone 14 Pro",
|
|
204
|
+
"vendor": "Apple",
|
|
205
|
+
"kind": "phone",
|
|
206
|
+
"os_family": "ios",
|
|
207
|
+
"year": 2022,
|
|
208
|
+
"identifiers": [
|
|
209
|
+
"iPhone15,2"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"key": "iphone-14-pro-max",
|
|
214
|
+
"name": "iPhone 14 Pro Max",
|
|
215
|
+
"vendor": "Apple",
|
|
216
|
+
"kind": "phone",
|
|
217
|
+
"os_family": "ios",
|
|
218
|
+
"year": 2022,
|
|
219
|
+
"identifiers": [
|
|
220
|
+
"iPhone15,3"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"key": "iphone-15",
|
|
225
|
+
"name": "iPhone 15",
|
|
226
|
+
"vendor": "Apple",
|
|
227
|
+
"kind": "phone",
|
|
228
|
+
"os_family": "ios",
|
|
229
|
+
"year": 2023,
|
|
230
|
+
"identifiers": [
|
|
231
|
+
"iPhone15,4"
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"key": "iphone-15-plus",
|
|
236
|
+
"name": "iPhone 15 Plus",
|
|
237
|
+
"vendor": "Apple",
|
|
238
|
+
"kind": "phone",
|
|
239
|
+
"os_family": "ios",
|
|
240
|
+
"year": 2023,
|
|
241
|
+
"identifiers": [
|
|
242
|
+
"iPhone15,5"
|
|
243
|
+
]
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
"key": "iphone-15-pro",
|
|
247
|
+
"name": "iPhone 15 Pro",
|
|
248
|
+
"vendor": "Apple",
|
|
249
|
+
"kind": "phone",
|
|
250
|
+
"os_family": "ios",
|
|
251
|
+
"year": 2023,
|
|
252
|
+
"identifiers": [
|
|
253
|
+
"iPhone16,1"
|
|
254
|
+
]
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"key": "iphone-15-pro-max",
|
|
258
|
+
"name": "iPhone 15 Pro Max",
|
|
259
|
+
"vendor": "Apple",
|
|
260
|
+
"kind": "phone",
|
|
261
|
+
"os_family": "ios",
|
|
262
|
+
"year": 2023,
|
|
263
|
+
"identifiers": [
|
|
264
|
+
"iPhone16,2"
|
|
265
|
+
]
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"key": "iphone-16",
|
|
269
|
+
"name": "iPhone 16",
|
|
270
|
+
"vendor": "Apple",
|
|
271
|
+
"kind": "phone",
|
|
272
|
+
"os_family": "ios",
|
|
273
|
+
"year": 2024,
|
|
274
|
+
"identifiers": [
|
|
275
|
+
"iPhone17,3"
|
|
276
|
+
]
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"key": "iphone-16-plus",
|
|
280
|
+
"name": "iPhone 16 Plus",
|
|
281
|
+
"vendor": "Apple",
|
|
282
|
+
"kind": "phone",
|
|
283
|
+
"os_family": "ios",
|
|
284
|
+
"year": 2024,
|
|
285
|
+
"identifiers": [
|
|
286
|
+
"iPhone17,4"
|
|
287
|
+
]
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"key": "iphone-16-pro",
|
|
291
|
+
"name": "iPhone 16 Pro",
|
|
292
|
+
"vendor": "Apple",
|
|
293
|
+
"kind": "phone",
|
|
294
|
+
"os_family": "ios",
|
|
295
|
+
"year": 2024,
|
|
296
|
+
"identifiers": [
|
|
297
|
+
"iPhone17,1"
|
|
298
|
+
]
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"key": "iphone-16-pro-max",
|
|
302
|
+
"name": "iPhone 16 Pro Max",
|
|
303
|
+
"vendor": "Apple",
|
|
304
|
+
"kind": "phone",
|
|
305
|
+
"os_family": "ios",
|
|
306
|
+
"year": 2024,
|
|
307
|
+
"identifiers": [
|
|
308
|
+
"iPhone17,2"
|
|
309
|
+
]
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"key": "iphone-16e",
|
|
313
|
+
"name": "iPhone 16e",
|
|
314
|
+
"vendor": "Apple",
|
|
315
|
+
"kind": "phone",
|
|
316
|
+
"os_family": "ios",
|
|
317
|
+
"year": 2025,
|
|
318
|
+
"identifiers": [
|
|
319
|
+
"iPhone17,5"
|
|
320
|
+
]
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"key": "iphone-17",
|
|
324
|
+
"name": "iPhone 17",
|
|
325
|
+
"vendor": "Apple",
|
|
326
|
+
"kind": "phone",
|
|
327
|
+
"os_family": "ios",
|
|
328
|
+
"year": 2025,
|
|
329
|
+
"identifiers": [
|
|
330
|
+
"iPhone18,3"
|
|
331
|
+
]
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
"key": "iphone-air",
|
|
335
|
+
"name": "iPhone Air",
|
|
336
|
+
"vendor": "Apple",
|
|
337
|
+
"kind": "phone",
|
|
338
|
+
"os_family": "ios",
|
|
339
|
+
"year": 2025,
|
|
340
|
+
"identifiers": [
|
|
341
|
+
"iPhone18,4"
|
|
342
|
+
]
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"key": "iphone-17-pro",
|
|
346
|
+
"name": "iPhone 17 Pro",
|
|
347
|
+
"vendor": "Apple",
|
|
348
|
+
"kind": "phone",
|
|
349
|
+
"os_family": "ios",
|
|
350
|
+
"year": 2025,
|
|
351
|
+
"identifiers": [
|
|
352
|
+
"iPhone18,1"
|
|
353
|
+
]
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"key": "iphone-17-pro-max",
|
|
357
|
+
"name": "iPhone 17 Pro Max",
|
|
358
|
+
"vendor": "Apple",
|
|
359
|
+
"kind": "phone",
|
|
360
|
+
"os_family": "ios",
|
|
361
|
+
"year": 2025,
|
|
362
|
+
"identifiers": [
|
|
363
|
+
"iPhone18,2"
|
|
364
|
+
]
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"key": "iphone-17e",
|
|
368
|
+
"name": "iPhone 17e",
|
|
369
|
+
"vendor": "Apple",
|
|
370
|
+
"kind": "phone",
|
|
371
|
+
"os_family": "ios",
|
|
372
|
+
"year": 2026,
|
|
373
|
+
"identifiers": [
|
|
374
|
+
"iPhone18,5"
|
|
375
|
+
]
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"key": "iphone-18-pro",
|
|
379
|
+
"name": "iPhone 18 Pro",
|
|
380
|
+
"vendor": "Apple",
|
|
381
|
+
"kind": "phone",
|
|
382
|
+
"os_family": "ios",
|
|
383
|
+
"year": 2026,
|
|
384
|
+
"identifiers": [
|
|
385
|
+
"iPhone19,2"
|
|
386
|
+
]
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"key": "iphone-18-pro-max",
|
|
390
|
+
"name": "iPhone 18 Pro Max",
|
|
391
|
+
"vendor": "Apple",
|
|
392
|
+
"kind": "phone",
|
|
393
|
+
"os_family": "ios",
|
|
394
|
+
"year": 2026,
|
|
395
|
+
"identifiers": [
|
|
396
|
+
"iPhone19,3"
|
|
397
|
+
]
|
|
398
|
+
}
|
|
399
|
+
]
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"title": "DoctorReport",
|
|
4
|
+
"description": "The output of `dyno doctor`.",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"checks": {
|
|
8
|
+
"description": "Sorted by check id.",
|
|
9
|
+
"type": "array",
|
|
10
|
+
"items": {
|
|
11
|
+
"$ref": "#/$defs/DoctorCheck"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"phase": {
|
|
15
|
+
"description": "The plan phase that builds `doctor`.",
|
|
16
|
+
"type": "integer",
|
|
17
|
+
"format": "uint8",
|
|
18
|
+
"maximum": 255,
|
|
19
|
+
"minimum": 0
|
|
20
|
+
},
|
|
21
|
+
"schema_version": {
|
|
22
|
+
"type": "integer",
|
|
23
|
+
"format": "uint32",
|
|
24
|
+
"minimum": 0
|
|
25
|
+
},
|
|
26
|
+
"status": {
|
|
27
|
+
"description": "Pass when every check passes. Incomplete while a check is not built.",
|
|
28
|
+
"$ref": "#/$defs/Status"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"required": [
|
|
32
|
+
"schema_version",
|
|
33
|
+
"phase",
|
|
34
|
+
"status",
|
|
35
|
+
"checks"
|
|
36
|
+
],
|
|
37
|
+
"$defs": {
|
|
38
|
+
"DoctorCheck": {
|
|
39
|
+
"description": "One doctor check.",
|
|
40
|
+
"type": "object",
|
|
41
|
+
"properties": {
|
|
42
|
+
"detail": {
|
|
43
|
+
"description": "What the check found, such as the Xcode version. Null when it found nothing.",
|
|
44
|
+
"type": [
|
|
45
|
+
"string",
|
|
46
|
+
"null"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"id": {
|
|
50
|
+
"$ref": "#/$defs/DoctorCheckId"
|
|
51
|
+
},
|
|
52
|
+
"phase": {
|
|
53
|
+
"type": "integer",
|
|
54
|
+
"format": "uint8",
|
|
55
|
+
"maximum": 255,
|
|
56
|
+
"minimum": 0
|
|
57
|
+
},
|
|
58
|
+
"reason": {
|
|
59
|
+
"description": "Why the verdict is incomplete. Null otherwise.",
|
|
60
|
+
"type": [
|
|
61
|
+
"string",
|
|
62
|
+
"null"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"verdict": {
|
|
66
|
+
"$ref": "#/$defs/Verdict"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"required": [
|
|
70
|
+
"id",
|
|
71
|
+
"verdict",
|
|
72
|
+
"phase"
|
|
73
|
+
]
|
|
74
|
+
},
|
|
75
|
+
"DoctorCheckId": {
|
|
76
|
+
"description": "The things `doctor` checks. Declared in alphabetical order, so checks sort by name.",
|
|
77
|
+
"oneOf": [
|
|
78
|
+
{
|
|
79
|
+
"description": "An iPhone is connected.",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"const": "device_connection"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"description": "The iPhone trusts this Mac, and Developer Mode and Web Inspector are on.",
|
|
85
|
+
"type": "string",
|
|
86
|
+
"const": "device_trust"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"description": "Xcode and its command line tools, with xctrace and devicectl.",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"const": "xcode"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"Status": {
|
|
96
|
+
"description": "The overall status of a result. The exit code comes from it alone.\n\nWhen several statuses apply, the worst wins. From worst to best: fail, invalid, incomplete,\nwarn, pass. The variants below are not declared in that order.",
|
|
97
|
+
"oneOf": [
|
|
98
|
+
{
|
|
99
|
+
"description": "None of the other statuses applies.",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"const": "pass"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"description": "A budget or a static rule warns. Nothing fails.",
|
|
105
|
+
"type": "string",
|
|
106
|
+
"const": "warn"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"description": "A budget or a static rule fails. Nothing offsets a fail.",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"const": "fail"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"description": "A required measure is missing or absent from the result, a budget could not be checked, or\na static rule could not be checked because a value from the build is missing. Never a pass.",
|
|
115
|
+
"type": "string",
|
|
116
|
+
"const": "incomplete"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"description": "A required measure failed its check, such as a run whose frame DPR was not 3, or a measure\nin the result does not fit the check.",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"const": "invalid"
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
},
|
|
125
|
+
"Verdict": {
|
|
126
|
+
"description": "The outcome of one budget, rule or doctor check.",
|
|
127
|
+
"oneOf": [
|
|
128
|
+
{
|
|
129
|
+
"type": "string",
|
|
130
|
+
"enum": [
|
|
131
|
+
"pass",
|
|
132
|
+
"warn",
|
|
133
|
+
"fail"
|
|
134
|
+
]
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"description": "It could not be checked, because the inputs it needs are missing, invalid or partial.",
|
|
138
|
+
"type": "string",
|
|
139
|
+
"const": "incomplete"
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|