Validator
Validates events using JSON Schema with two modes: format (structure) and contract (business rules).
Installation
Loading...
Setup
Loading...
Validation Modes
| Mode | Purpose |
|---|---|
format | Validates full WalkerOS.Event structure |
contract | Validates entity/action-specific business rules |
Logger Levels
| Level | Output |
|---|---|
ERROR | Validation failures only |
DEBUG | All validation results (pass and fail) |
Configuration
| Property | Type | Description | More |
|---|---|---|---|
format | boolean | Validate full WalkerOS.Event structure. Pre-compiled at init. | |
contract | object | Event-specific validation rules. Entity/action keyed, supports wildcards. |
Behavior
- Invalid events: Stop chain, log error
- Unmatched events: Pass through (validation is opt-in)
Conditional rules
Apply different schemas based on event data:
Loading...
Wildcard patterns
Match multiple events with wildcards:
Loading...
Next Steps
- Create your own - Build custom transformers
💡 Need Professional Support?
Need professional support with your walkerOS implementation? Check out our services.