# PermitSchema

> `const` **PermitSchema**: `ZodObject`\<\{ `attachments`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `description`: `ZodOptional`\<`ZodString`\>; `document_type`: `ZodOptional`\<`ZodString`\>; `filename`: `ZodOptional`\<`ZodString`\>; `id`: `ZodString`; `media_type`: `ZodString`; `sha256`: `ZodOptional`\<`ZodString`\>; `uri`: `ZodString`; \}, `"strip"`, `ZodTypeAny`, \{ `description?`: `string`; `document_type?`: `string`; `filename?`: `string`; `id`: `string`; `media_type`: `string`; `sha256?`: `string`; `uri`: `string`; \}, \{ `description?`: `string`; `document_type?`: `string`; `filename?`: `string`; `id`: `string`; `media_type`: `string`; `sha256?`: `string`; `uri`: `string`; \}\>, `"many"`\>\>; `authority`: `ZodString`; `conditions`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `category`: `ZodOptional`\<`ZodString`\>; `description`: `ZodString`; `due_after`: `ZodOptional`\<`ZodString`\>; `first_due`: `ZodOptional`\<`ZodString`\>; `fulfillments`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `attachments`: `ZodOptional`\<...\>; `author`: `ZodOptional`\<...\>; `datetime`: `ZodString`; `description`: `ZodOptional`\<...\>; `due_date`: `ZodOptional`\<...\>; `event_id`: `ZodOptional`\<...\>; `id`: `ZodString`; `sample_id`: `ZodOptional`\<...\>; `updated_at`: `ZodOptional`\<...\>; \}, `"strip"`, `ZodTypeAny`, \{ `attachments?`: ... \| ...; `author?`: ... \| ...; `datetime`: `string`; `description?`: ... \| ...; `due_date?`: ... \| ...; `event_id?`: ... \| ...; `id`: `string`; `sample_id?`: ... \| ...; `updated_at?`: ... \| ...; \}, \{ `attachments?`: ... \| ...; `author?`: ... \| ...; `datetime`: `string`; `description?`: ... \| ...; `due_date?`: ... \| ...; `event_id?`: ... \| ...; `id`: `string`; `sample_id?`: ... \| ...; `updated_at?`: ... \| ...; \}\>, `"many"`\>\>; `id`: `ZodString`; `last_due`: `ZodOptional`\<`ZodString`\>; `occurrences`: `ZodOptional`\<`ZodNumber`\>; `recurrence`: `ZodOptional`\<`ZodString`\>; `responsible`: `ZodOptional`\<`ZodString`\>; \}, `"strip"`, `ZodTypeAny`, \{ `category?`: `string`; `description`: `string`; `due_after?`: `string`; `first_due?`: `string`; `fulfillments?`: `object`[]; `id`: `string`; `last_due?`: `string`; `occurrences?`: `number`; `recurrence?`: `string`; `responsible?`: `string`; \}, \{ `category?`: `string`; `description`: `string`; `due_after?`: `string`; `first_due?`: `string`; `fulfillments?`: `object`[]; `id`: `string`; `last_due?`: `string`; `occurrences?`: `number`; `recurrence?`: `string`; `responsible?`: `string`; \}\>, `"many"`\>\>; `daily_operating_time`: `ZodOptional`\<`ZodNumber`\>; `flow_rate`: `ZodOptional`\<`ZodNumber`\>; `history`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `attachments`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `description`: `ZodOptional`\<...\>; `document_type`: `ZodOptional`\<...\>; `filename`: `ZodOptional`\<...\>; `id`: `ZodString`; `media_type`: `ZodString`; `sha256`: `ZodOptional`\<...\>; `uri`: `ZodString`; \}, `"strip"`, `ZodTypeAny`, \{ `description?`: ... \| ...; `document_type?`: ... \| ...; `filename?`: ... \| ...; `id`: `string`; `media_type`: `string`; `sha256?`: ... \| ...; `uri`: `string`; \}, \{ `description?`: ... \| ...; `document_type?`: ... \| ...; `filename?`: ... \| ...; `id`: `string`; `media_type`: `string`; `sha256?`: ... \| ...; `uri`: `string`; \}\>, `"many"`\>\>; `date`: `ZodString`; `description`: `ZodString`; `done`: `ZodOptional`\<`ZodBoolean`\>; `due_date`: `ZodOptional`\<`ZodString`\>; `id`: `ZodString`; `type`: `ZodOptional`\<`ZodString`\>; `updated_at`: `ZodOptional`\<`ZodString`\>; \}, `"strip"`, `ZodTypeAny`, \{ `attachments?`: `object`[]; `date`: `string`; `description`: `string`; `done?`: `boolean`; `due_date?`: `string`; `id`: `string`; `type?`: `string`; `updated_at?`: `string`; \}, \{ `attachments?`: `object`[]; `date`: `string`; `description`: `string`; `done?`: `boolean`; `due_date?`: `string`; `id`: `string`; `type?`: `string`; `updated_at?`: `string`; \}\>, `"many"`\>\>; `id`: `ZodString`; `identifier`: `ZodOptional`\<`ZodString`\>; `issued_at`: `ZodOptional`\<`ZodString`\>; `monthly_schedule`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `daily_operating_time`: `ZodOptional`\<`ZodNumber`\>; `days`: `ZodOptional`\<`ZodNumber`\>; `flow_rate`: `ZodOptional`\<`ZodNumber`\>; `month`: `ZodNumber`; \}, `"strip"`, `ZodTypeAny`, \{ `daily_operating_time?`: `number`; `days?`: `number`; `flow_rate?`: `number`; `month`: `number`; \}, \{ `daily_operating_time?`: `number`; `days?`: `number`; `flow_rate?`: `number`; `month`: `number`; \}\>, `"many"`\>\>; `notes`: `ZodOptional`\<`ZodString`\>; `renewal_requested_at`: `ZodOptional`\<`ZodString`\>; `request_identifier`: `ZodOptional`\<`ZodString`\>; `status`: `ZodOptional`\<`ZodEnum`\<\[`"requested"`, `"granted"`, `"suspended"`, `"revoked"`, `"denied"`, `"withdrawn"`\]\>\>; `supersedes`: `ZodOptional`\<`ZodString`\>; `type`: `ZodString`; `updated_at`: `ZodOptional`\<`ZodString`\>; `valid_from`: `ZodOptional`\<`ZodString`\>; `valid_until`: `ZodOptional`\<`ZodString`\>; `volume_limits`: `ZodOptional`\<`ZodArray`\<`ZodObject`\<\{ `period`: `ZodEnum`\<\[`"daily"`, `"monthly"`, `"annual"`\]\>; `volume`: `ZodNumber`; \}, `"strip"`, `ZodTypeAny`, \{ `period`: `"daily"` \| `"monthly"` \| `"annual"`; `volume`: `number`; \}, \{ `period`: `"daily"` \| `"monthly"` \| `"annual"`; `volume`: `number`; \}\>, `"many"`\>\>; `water_use`: `ZodOptional`\<`ZodArray`\<`ZodString`, `"many"`\>\>; \}, `"strip"`, `ZodTypeAny`, \{ `attachments?`: `object`[]; `authority`: `string`; `conditions?`: `object`[]; `daily_operating_time?`: `number`; `flow_rate?`: `number`; `history?`: `object`[]; `id`: `string`; `identifier?`: `string`; `issued_at?`: `string`; `monthly_schedule?`: `object`[]; `notes?`: `string`; `renewal_requested_at?`: `string`; `request_identifier?`: `string`; `status?`: `"requested"` \| `"granted"` \| `"suspended"` \| `"revoked"` \| `"denied"` \| `"withdrawn"`; `supersedes?`: `string`; `type`: `string`; `updated_at?`: `string`; `valid_from?`: `string`; `valid_until?`: `string`; `volume_limits?`: `object`[]; `water_use?`: `string`[]; \}, \{ `attachments?`: `object`[]; `authority`: `string`; `conditions?`: `object`[]; `daily_operating_time?`: `number`; `flow_rate?`: `number`; `history?`: `object`[]; `id`: `string`; `identifier?`: `string`; `issued_at?`: `string`; `monthly_schedule?`: `object`[]; `notes?`: `string`; `renewal_requested_at?`: `string`; `request_identifier?`: `string`; `status?`: `"requested"` \| `"granted"` \| `"suspended"` \| `"revoked"` \| `"denied"` \| `"withdrawn"`; `supersedes?`: `string`; `type`: `string`; `updated_at?`: `string`; `valid_from?`: `string`; `valid_until?`: `string`; `volume_limits?`: `object`[]; `water_use?`: `string`[]; \}\>
