Simple Scala library for validation