malli

Shantanu Kumar 2026-06-02T05:59:09.812729Z

Hi, does anyone know how to flag errors in https://malli.io/ ? I entered the following invalid schema and it said nothing about the invalidity:

[:map
 [:name :string]
 [:title {:optional true} :string]
 [:icons
  {:optional true}
  [:vector
   [:map
    [:src :string]
    [:mimeType {:optional true} :string]
    [:sizes {:optional true} [:vector :string]]
    [:theme {:optional true} [:or "light" "dark"]]]]]
 [:version :string]
 [:description {:optional true} :string]
 [:websiteUrl {:optional true} :string]]
The error is in :theme definition, which should be an :enum or value comparison with :=.