Files
lincodex/frontend/src/shared/api/schemas/consent/consentOrganization.zod.ts
T

19 lines
972 B
TypeScript

/**
* Generated by orval 🍺
* Do not edit manually.
* Lincodex API
* OpenAPI spec version: 0.1.0
*/
import * as zod from 'zod';
export const consentOrganizationNameMax = 200;
export const ConsentOrganization = zod.object({
"id": zod.uuid().describe('Identifier of the organization.'),
"name": zod.string().min(1).max(consentOrganizationNameMax).describe('Name of the organization in the consent text at the time of the consent. Plain text; clients show it as text, never as HTML.')
}).describe('Organization of a c4 consent as the consent recorded it. `name` is a snapshot of the name that the shown consent text carried at the time of the consent, and the stored text hash proves that text with this name; a later rename of the organization does not change it, so it can differ from the current name.')
export type ConsentOrganization = zod.input<typeof ConsentOrganization>;
export type ConsentOrganizationOutput = zod.output<typeof ConsentOrganization>;