;; schema.clj
(def UserInput
[:map
[:email [:string {:min 1 :max 255}]]
[:password [:string {:min 8 :max 128}]]
[:name {:optional true} :string]])
(def User
[:map
[:id :uuid]
[:email :string]
[:name {:optional true} :string]
[:created-at inst?]
[:updated-at inst?]])