malli

Gent Krasniqi 2025-08-19T07:29:30.404209Z

Hi, should I assume that whatever properties are revealed for base-schemas in the main documentation page are all there is? Or is there somewhere else to see, for example, what other properties I could provide for :vector.

erre lin 2025-08-19T10:33:23.626139Z

My understanding is that properties are provided/defined by users but some (like :min, :max, :optional, etc) are builtin so that users do not need to define how to verify them.

Gent Krasniqi 2025-08-19T10:45:16.307399Z

Right, I was wondering if there's any more built in properties than what is documented in the main documentation page. But it seems there aren't.

Gent Krasniqi 2025-08-19T10:47:45.545759Z

I was looking at if there's something like :unique/:distinct for vectors, to use on JSON Arrays that are supposed to represent sets basically. (without decoding to clojure sets, I mean, I know there's many ways to do this)

erre lin 2025-08-19T17:43:50.961699Z

I understand your need and I do wonder the same from time to time. But I’ve not got time to read the relevant source code yet. Probably there are a few more that are not documented 🤔