Human-Readable
Rules read like natural language. Non-technical stakeholders can review and understand policies.
Policy DSL lets you express business rules in near-English sentences:
A **Person** gets approved if the __age__ of the **Person** is greater than 18 and the __status__ of the **Person** is equal to "active".The engine evaluates this rule against JSON data and returns a pass/fail result with a full evaluation trace.
Human-Readable
Rules read like natural language. Non-technical stakeholders can review and understand policies.
Machine-Executable
POST a rule and data to the engine API and get an instant pass/fail result with trace.
Rich Operators
Comparison, date/time, list, validation, and pattern matching operators built in.
Composable
Build complex policies from smaller rules using labels and cross-references.
The policy system has three tiers:
POST /)This documentation covers the DSL language, all operators, and the API.