A Zod schema is used to ensure that the data has the expected form.
Clients may do additional validation, for instance to ensure that events
have the expected products, or that event settings match those that we
require. Those checks are not part of the schema.
The comments below are copied from the original Devconnect Pretix API
client.
Pretix API types
A Zod schema is used to ensure that the data has the expected form. Clients may do additional validation, for instance to ensure that events have the expected products, or that event settings match those that we require. Those checks are not part of the schema.
The comments below are copied from the original Devconnect Pretix API client.