exchema v0.4.0 Exchema.Types.List

Represent a List and its element types.

If you want a list of integers, then you want to use {Exchema.Types.List, Exchema.Types.Integer} as your type.

If you don’t care about list element types, it will default to :any, so Exchema.Types.List is the same as {Exchema.Types.List, :any}.