Fork me on GitHub
#schema
<
2016-08-25
>
vijayakkineni21:08:48

A beginner question, how do i make sure the inner map :origin has at least one key present

(s/defschema PatientSearchRequest
   {:type    (s/enum :exact :similar :phonetic)
   :linked? s/Bool
   :origin  {(s/optional-key :foo) s/Bool
             (s/optional-key :baz) s/Bool
             (s/optional-key :bar) s/Bool}})