validation of clojure schema
<p>i have a problem in validation of clojure prismatic schema. Here is the code.</p>

<pre><code>:Some_Var1 {:Some_Var2  s/Str
                  :Some_Var3 ( s/conditional
                        #(= "mytype1" (:type %)) s/Str
                        #(= "mytype2" (:type %)) s/Str
                  )}
</code></pre>

<p>I am trying to validate it using the code:</p>

<pre><code>"Some_Var1": {
    "Some_Var2": "string",
"Some_Var3": {"mytype1":{"type":"string"}}
  }
</code></pre>

<p>but it is throwing me an error:</p>

<pre><code>{
  "errors": {
    "Some_Var1": {
      "Some_Var3": "(not (some-matching-condition? a-clojure.lang.PersistentArrayMap))"
    }
  }
}
</code></pre>

<p>It is a very basic code i am trying to validate. I am very new to clojure and still trying to learn basics of it. </p>

<p>Thanks,</p>