-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalibration.schema.json
More file actions
73 lines (73 loc) · 2.43 KB
/
Copy pathcalibration.schema.json
File metadata and controls
73 lines (73 loc) · 2.43 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
73
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:starter-series:shotkit:schema:calibration:v1",
"title": "shotkit calibration profile",
"type": "object",
"additionalProperties": false,
"required": ["version", "profiles"],
"properties": {
"version": { "const": 1 },
"profiles": {
"type": "object",
"additionalProperties": {
"type": "object",
"additionalProperties": { "$ref": "#/$defs/profile" }
}
}
},
"$defs": {
"profile": {
"type": "object",
"additionalProperties": false,
"properties": {
"layoutPreset": { "type": "string", "minLength": 1 },
"framing": {
"type": "object",
"additionalProperties": false,
"required": ["scale", "focusX", "focusY"],
"properties": {
"scale": { "type": "number", "minimum": 1, "maximum": 1.2 },
"focusX": { "type": "number", "minimum": 0, "maximum": 1 },
"focusY": { "type": "number", "minimum": 0, "maximum": 1 }
}
},
"captionOptions": {
"type": "object",
"additionalProperties": false,
"properties": {
"position": { "enum": ["bottom-left", "bottom"] },
"appearance": { "enum": ["panel", "outline"] },
"bottomOffset": { "type": "integer", "minimum": 0 }
}
},
"protectedRegions": {
"type": "array",
"maxItems": 3,
"items": {
"type": "object",
"additionalProperties": false,
"required": ["id", "x", "y", "width", "height"],
"properties": {
"id": { "type": "string", "minLength": 1 },
"label": { "type": "string", "minLength": 1 },
"x": { "type": "number", "minimum": 0 },
"y": { "type": "number", "minimum": 0 },
"width": { "type": "number", "exclusiveMinimum": 0 },
"height": { "type": "number", "exclusiveMinimum": 0 }
}
}
},
"verification": {
"type": "object",
"additionalProperties": false,
"required": ["profileHash", "status", "verifiedAt"],
"properties": {
"profileHash": { "type": "string", "minLength": 1 },
"status": { "const": "publish-ready" },
"verifiedAt": { "type": "string", "format": "date-time" }
}
}
}
}
}
}