Перейти к основному содержимому

violationReportedDataSchema

@mineflow/contracts


@mineflow/contracts / violationReportedDataSchema

Variable: violationReportedDataSchema

const violationReportedDataSchema: ZodObject<{
detectedBy: ZodString;
dueDate: ZodString;
objectId: ZodString;
performedBy: ZodString;
severity: ZodEnum<{
critical: "critical";
major: "major";
minor: "minor";
}>;
type: ZodEnum<{
blasting_rules: "blasting_rules";
no_ppe: "no_ppe";
other: "other";
restricted_zone: "restricted_zone";
speeding: "speeding";
tech_breach: "tech_breach";
}>;
violationId: ZodString;
violatorPersonnelId: ZodNullable<ZodString>;
}, $strict>;

Defined in: events/index.ts:135