Playground

Pick an example, then edit the schema or the value: the result updates as you type. Everything runs in your browser.

Try this:

1 Schema

2 Value to check

JSON or JavaScript

Options

3 Result

See the code schiva generated for this schema

compile() writes a JavaScript function for the schema: this is why it is fast. The helpers it calls (P, H, OP...) are passed to it when it is created.