# Variable GetVotingRecordsSchema`Const`

GetVotingRecordsSchema: ZodObject<
{
dateFrom: ZodOptional<ZodString>;
dateTo: ZodOptional<ZodString>;
limit: ZodDefault<ZodNumber>;
offset: ZodDefault<ZodNumber>;
sessionId: ZodOptional<ZodString>;
topic: ZodOptional<ZodString>;
},
$strict,
> = ...

Get voting records input schema.

Marked `.strict()` to reject unknown/removed parameters (e.g. the deprecated `mepId` field, which was removed because the EP API does not expose individual MEP votes). Clients passing such fields receive a clear validation error instead of having them silently stripped.

- Defined in schemas/ep/plenary.ts:69