import { z } from "zod";
const translationBodySchema = z.record(
  z.string().trim().min(2).max(10),
  z.record(
    z.string().trim().min(1).max(100),
    z.union([z.string().max(1e4), z.null()])
  )
).refine((obj) => Object.keys(obj).length <= 50, "Maximum 50 locales per entity");
const entityTypeParamSchema = z.string().min(1).regex(/^[a-z_]+:[a-z_]+$/);
const entityIdParamSchema = z.string().min(1);
export {
  entityIdParamSchema,
  entityTypeParamSchema,
  translationBodySchema
};
//# sourceMappingURL=validators.js.map
