Files
lincodex/frontend/src/shared/api/schemas/assessment/assessmentSignalNotice.zod.ts
T

20 lines
1.6 KiB
TypeScript

/**
* Generated by orval 🍺
* Do not edit manually.
* Lincodex API
* OpenAPI spec version: 0.1.0
*/
import * as zod from 'zod';
export const assessmentSignalNoticeNoticeVersionOneMax = 2147483647;
export const AssessmentSignalNotice = zod.object({
"notice_version": zod.int().min(1).max(assessmentSignalNoticeNoticeVersionOneMax).describe('Version of the notice text about the collected signals. The client shows the text of the version it knows and sends that version back when the candidate confirms; a changed text gets a new version and needs a new confirmation.').describe('The version the server currently requires the candidate to acknowledge.'),
"acknowledged": zod.boolean().describe('True when the candidate acknowledged `notice_version`.'),
"acknowledged_at": zod.union([zod.iso.datetime({"offset":true}).describe('UTC instant in RFC 3339 format with the Z suffix, for example 2026-10-05T09:30:00Z. Servers always emit UTC. Every date-time field in this contract uses this schema.'),zod.null()]).describe('Server time of the first acknowledgement of this version, or null.')
}).describe('State of the notice about the signals that are collected during a real assessment attempt. The acknowledgement is a record that the candidate was informed. It is not a consent, grants no purpose, and neither enables nor blocks signal storage; C3 remains the only consent that the signal operation checks.')
export type AssessmentSignalNotice = zod.input<typeof AssessmentSignalNotice>;
export type AssessmentSignalNoticeOutput = zod.output<typeof AssessmentSignalNotice>;