Options and conditions
Behavior and constraints
An option's id/type/default/impact is authoritative; name/description are presentation. Types are boolean, integer, number and string. Defaults and overrides must match the type and satisfy min/max or allowed. A JSON boolean is not an integer; string enum values are case-sensitive. See the full Schema for valid range/allowed combinations. An omitted bound is not zero.
impact is uniform, program, pipeline or resources and declares the invalidation domain. It does not guarantee that a change can always avoid compilation: data, defines, resources and active branches still need validation. UI cannot redefine the type, hard bounds, default or impact.
Pass enabled is explicit. enabledWhen and binding/semantic/service conditions reference an option with equals or oneOf. Values must satisfy the referenced option's type and bounds; condition arrays jointly constrain activity. Settings UI has a separate equals/notEquals/in contract.
Analyze the same options/capabilities intended for runtime. After disabling a Pass, inspect the active Program, Resource, Service and ordering closure. A declared node retained in a graph does not prove allocation. Invalid conditions and dependencies fail loading/resolution rather than being hidden by execution-time skipping.
Generated v5 structure
Required applies to the displayed object/branch. Absence of a Schema default does not establish a runtime default. Conditional rules remain in the complete definition below; Loader validation also resolves IDs, ownership, budgets and device limits.
option · v5
| Field / branch | Presence in this object | Structural constraints |
|---|---|---|
allowed | optional here | type="array"; minItems=1; uniqueItems=true; items=#/$defs/optionScalar |
default | required | $ref="#/$defs/optionScalar" |
description | optional here | type="string" |
id | required | $ref="#/$defs/identifier" |
impact | required | type="array"; uniqueItems=true |
max | optional here | type="number" |
min | optional here | type="number" |
name | optional here | type="string" |
type | required | enum=["boolean","integer","number","string"] |
Full structural rule: #/$defs/option
{
"additionalProperties": false,
"allOf": [
{
"if": {
"properties": {
"type": {
"const": "boolean"
}
},
"required": [
"type"
]
},
"then": {
"properties": {
"allowed": {
"items": {
"type": "boolean"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"default": {
"type": "boolean"
},
"max": {
"not": {}
},
"min": {
"not": {}
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "integer"
}
},
"required": [
"type"
]
},
"then": {
"properties": {
"allowed": {
"items": {
"type": "integer"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"default": {
"type": "integer"
},
"max": {
"type": "integer"
},
"min": {
"type": "integer"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "number"
}
},
"required": [
"type"
]
},
"then": {
"properties": {
"allowed": {
"items": {
"type": "number"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"default": {
"type": "number"
},
"max": {
"type": "number"
},
"min": {
"type": "number"
}
}
}
},
{
"if": {
"properties": {
"type": {
"const": "string"
}
},
"required": [
"type"
]
},
"then": {
"properties": {
"allowed": {
"items": {
"type": "string"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"default": {
"type": "string"
},
"max": {
"not": {}
},
"min": {
"not": {}
}
}
}
},
{
"not": {
"required": [
"allowed",
"min"
]
}
},
{
"not": {
"required": [
"allowed",
"max"
]
}
},
{
"oneOf": [
{
"required": [
"min",
"max"
]
},
{
"not": {
"anyOf": [
{
"required": [
"min"
]
},
{
"required": [
"max"
]
}
]
}
}
]
}
],
"properties": {
"allowed": {
"items": {
"$ref": "#/$defs/optionScalar"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"default": {
"$ref": "#/$defs/optionScalar"
},
"description": {
"type": "string"
},
"id": {
"$ref": "#/$defs/identifier"
},
"impact": {
"items": {
"enum": [
"uniform",
"program",
"pipeline",
"resources"
]
},
"type": "array",
"uniqueItems": true
},
"max": {
"type": "number"
},
"min": {
"type": "number"
},
"name": {
"type": "string"
},
"type": {
"enum": [
"boolean",
"integer",
"number",
"string"
]
}
},
"required": [
"id",
"type",
"default",
"impact"
],
"type": "object"
}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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
optionScalar · v5
type=["boolean","integer","number","string"]
Full structural rule: #/$defs/optionScalar
{
"type": [
"boolean",
"integer",
"number",
"string"
]
}2
3
4
5
6
7
8
condition · v5
| Field / branch | Presence in this object | Structural constraints |
|---|---|---|
equals | optional here | $ref="#/$defs/optionScalar" |
oneOf | optional here | type="array"; minItems=1; uniqueItems=true; items=#/$defs/optionScalar |
option | required | $ref="#/$defs/identifier" |
Full structural rule: #/$defs/condition
{
"additionalProperties": false,
"allOf": [
{
"oneOf": [
{
"required": [
"equals"
]
},
{
"required": [
"oneOf"
]
}
]
}
],
"properties": {
"equals": {
"$ref": "#/$defs/optionScalar"
},
"oneOf": {
"items": {
"$ref": "#/$defs/optionScalar"
},
"minItems": 1,
"type": "array",
"uniqueItems": true
},
"option": {
"$ref": "#/$defs/identifier"
}
},
"required": [
"option"
],
"type": "object"
}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
Complete examples
Sources and machine records
Coverage inventory · Schema v5 · Catalog v2 · Completion v2
schema-v3 · schema-v4 · schema-v5 · completion-v1 · completion-v2 · temporal · settings-guide ·