I tried validating a map using the prismatic/schema library for clojure. here is my shape
(require '[schema.core :as s])
(def d {"a" s/Str "b" s/Int})
When I tried to validate it against a map, it throws the following exception
(s/validate d {"a" "@@#$" "b" 2})
RuntimeException More than one non-optional/required key schemata: ["a" "b"] schema.core/find-extra-keys-schema (core.clj:705)
Am I do something wrong, or can't the schema library not validate against String keys ?