Hi I need help related to schema
below is the code
(require '[schema-tools.core :as st])
(require '[schema.coerce :as sc])
(require '[schema.core :as s])
(def input-map {:a "a" :b 2})
(schema.core/defschema input-schema
(linked.core/map
(s/optional-key :c) schema.core/Str))
(st/select-schema input-map input-schema sc/json-coercion-matcher)I want select schema to return empty map {} when the input-map is not nil
when it is nil it can return nil
how can I define the input-schema for that?