Files
XZBT/test/fixtures/gc2/valid-full-feature.xzbt
T

58 lines
1.1 KiB
Plaintext

{
"xzbt": "0.1",
"meta": {
"id": "full-study",
"name": "Full Feature Conformance Study",
"version": "1.0.0",
"author": "Antigravity",
"description": "Valid exhibit exercising parameters, state, expressions, and bindings.",
"tags": ["test", "conformance", "gc2"]
},
"runtime": {
"seed": 42
},
"parameters": {
"activity": {
"type": "number",
"default": 0.5,
"min": 0.0,
"max": 1.0,
"step": 0.01,
"label": "Activity Level"
},
"high-contrast": {
"type": "boolean",
"default": false
},
"wave-shape": {
"type": "enum",
"values": ["sine", "triangle", "square"],
"default": "sine"
},
"accent-color": {
"type": "color",
"default": "#e8ad57"
}
},
"state": {
"energy": {
"type": "number",
"initial": 0.2,
"min": 0.0,
"max": 1.0
},
"alert-active": {
"type": "boolean",
"initial": false
}
},
"bindings": [
{
"source": "parameters.activity",
"target": "state.energy",
"scale": 1.5,
"smoothing": "250ms"
}
]
}