ajv
ajv copied to clipboard
How can I define order of validation rules for the field
Is it possible to define order of rules execution?
I was considering implementing it, but decided against it.
I think it's clearer to use allOf in schemas where the order is important.
In allOf subschemas are validated in order.
Thank you. It's exactly what I need.