feat: harden seat intent and expand HIL coverage
This commit is contained in:
@@ -17,13 +17,36 @@
|
||||
"additionalProperties": false,
|
||||
"required": ["mode", "direction", "start_position_pct", "delta_position_pct"],
|
||||
"properties": {
|
||||
"mode": {"const": "relative"},
|
||||
"mode": {"type": "string", "enum": ["relative", "timed"]},
|
||||
"direction": {"type": "string", "enum": ["increase", "decrease"]},
|
||||
"start_position_pct": {"type": "integer", "minimum": 0, "maximum": 100},
|
||||
"delta_position_pct": {"type": "integer", "minimum": 0, "maximum": 100},
|
||||
"start_angle_deg": {"type": "number"},
|
||||
"delta_angle_deg": {"type": "number", "minimum": 0}
|
||||
}
|
||||
"delta_angle_deg": {"type": "number", "minimum": 0},
|
||||
"requested_delta_angle_deg": {"type": "number", "minimum": 0},
|
||||
"requested_delta_position_pct": {"type": "integer", "minimum": 0},
|
||||
"range_clamped": {"type": "boolean"},
|
||||
"requested_duration_ms": {"type": "integer", "minimum": 1},
|
||||
"applied_duration_ms": {"type": "integer", "minimum": 1},
|
||||
"max_duration_ms": {"type": "integer", "minimum": 1},
|
||||
"min_duration_ms": {"type": "integer", "minimum": 1},
|
||||
"duration_clamped": {"type": "boolean"},
|
||||
"endpoint_expected": {"type": "string", "enum": ["near", "far"]}
|
||||
},
|
||||
"allOf": [
|
||||
{
|
||||
"if": {"properties": {"mode": {"const": "timed"}}},
|
||||
"then": {
|
||||
"required": [
|
||||
"requested_duration_ms",
|
||||
"applied_duration_ms",
|
||||
"max_duration_ms",
|
||||
"min_duration_ms",
|
||||
"duration_clamped"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"transition": {"$ref": "common.schema.json#/$defs/transition"},
|
||||
"depends_on": {
|
||||
|
||||
Reference in New Issue
Block a user