https://blog.litedatum.com/posts/Rule-Driven-Schema-Validation/
Rule-Driven Schema Validation: A Lightweight Solution - Lite Datum