Skip to main content

validate_command_input

Function validate_command_input 

Source
pub fn validate_command_input(
    definition: &DriverCommandDefinition,
    input: &Value,
) -> Result<(), String>
Expand description

Validate the generic structural part of a command’s JSON Schema. Driver-specific semantic validation remains inside the driver.