schema

dpsutton 2021-04-16T16:22:05.005400Z

is there a notion of s/or? I'd like the following: {:before {s/Any s/Any} :after {s/Any s/Any}} #_ or {:item {s/Any s/Any} :collection-id (s/Maybe s/Int)}

dpsutton 2021-04-16T16:23:13.006800Z

each would be defed, the first an UpdateEvent, the latter an AddEvent, and then i'd like to create a schema Event that is UpdateEvent or AddEvent if that's possible. I see there's s/conditional but i don't want conditions on it, just let it match it if that is possible