# Variable surveyFieldScaleSchema`Const`

surveyFieldScaleSchema: ZodObject<
{
condition: ZodType<boolean, ZodTypeDef, boolean>;
description: ZodType<string, ZodTypeDef, string>;
extraParams: ZodOptionalType<
ZodType<
Record<string, unknown>
| undefined,
ZodTypeDef,
Record<string, unknown> | undefined,
>,
>;
label: ZodType<string, ZodTypeDef, string>;
mandatory: ZodType<boolean, ZodTypeDef, boolean>;
uniqid: ZodType<string, ZodTypeDef, string>;
} & {
data: ZodObject<
ZodShape<SurveyFieldScaleData>,
"strip",
ZodTypeAny,
SurveyFieldScaleData,
SurveyFieldScaleData,
>;
name: ZodLiteral<Scale>;
widgetOptions: ZodObject<
ZodShape<SurveyFieldOptionScale>,
"strip",
ZodTypeAny,
SurveyFieldOptionScale,
SurveyFieldOptionScale,
>;
},
"strip",
ZodTypeAny,
{
condition: boolean;
data: SurveyFieldScaleData;
description: string;
extraParams?: Record<string, unknown>;
label: string;
mandatory: boolean;
name: Scale;
uniqid: string;
widgetOptions: SurveyFieldOptionScale;
},
{
condition: boolean;
data: SurveyFieldScaleData;
description: string;
extraParams?: Record<string, unknown>;
label: string;
mandatory: boolean;
name: Scale;
uniqid: string;
widgetOptions: SurveyFieldOptionScale;
},
> = ...

- Defined in jamespot-user-api/src/types/pollSurvey.ts:291