Skip to main content

Module workflow_schema

Module workflow_schema 

Source
Expand description

Bounded input and output validation shared with workflow command adapters. A bounded JSON Schema checker for workflow input.

Workflow input is checked before an execution starts so that bad input runs no command. The checker supports a small, explicit keyword set and rejects any other validation keyword instead of silently ignoring it.

Functionsยง

check_supported
Confirms that a schema uses only keywords this checker enforces.
validate
Validates a value against a schema, returning every violation found.