DSL for validating map.