Skip to content

Variable: FieldConstraintsViolatedResponseSchema ​

ts
const FieldConstraintsViolatedResponseSchema: ZodObject<{
  context: ZodObject<{
     fieldViolations: ZodArray<ZodObject<{
        field: ZodString;
        violations: ZodArray<ZodObject<{
           key: ZodString;
        }, ApiObjectConfig<undefined>>>;
     }, ApiObjectConfig<undefined>>>;
  }, ApiObjectConfig<undefined>>;
  key: ZodString;
}, ApiObjectConfig<undefined>>;

Defined in: src/userManagement/models/fieldConstraintsViolatedResponse.ts:8

The submitted JSON entity had one or more invalid properties. For each invalid field, a set of violated constraint keys are returned.