diff --git a/public/validators/main-albatross/NQ08 LMAK 00XK YYN9 CDXV ADVG CL0U HUBM J670.json b/public/validators/main-albatross/NQ08 LMAK 00XK YYN9 CDXV ADVG CL0U HUBM J670.json index ce3e7c6..cde99e5 100644 --- a/public/validators/main-albatross/NQ08 LMAK 00XK YYN9 CDXV ADVG CL0U HUBM J670.json +++ b/public/validators/main-albatross/NQ08 LMAK 00XK YYN9 CDXV ADVG CL0U HUBM J670.json @@ -11,7 +11,7 @@ "email": "ritvarsdev@gmail.com", "bluesky": "@ritvarsb.bsky.social", "github": "ritvarsbiksis", - "linkedin": "ritvars-bikšis-283264113/", + "linkedin": "ritvars-bik%C5%A1is-283264113", "facebook": "ritvars.biksis" } } diff --git a/server/utils/schemas.ts b/server/utils/schemas.ts index fa85eeb..dbe4be1 100644 --- a/server/utils/schemas.ts +++ b/server/utils/schemas.ts @@ -29,10 +29,10 @@ export const validatorSchema = z.object({ twitter: z.string().regex(/^@?(\w){1,15}$/).optional(), telegram: z.string().regex(/^@?(\w){5,32}$/).optional(), discordInvitationUrl: z.string().url().optional(), - bluesky: z.string().regex(/^@?(\w){1,32}$/).optional(), + bluesky: z.string().regex(/^@?[\w.-]{1,100}$/).optional(), github: z.string().regex(/^@?[\w-]{1,39}$/).optional(), - linkedin: z.string().regex(/^@?(\w){1,50}$/).optional(), - facebook: z.string().regex(/^@?(\w){1,50}$/).optional(), + linkedin: z.string().regex(/^@?[a-z0-9%-]{1,100}$/i).optional(), + facebook: z.string().regex(/^@?[\w.-]{1,100}$/).optional(), instagram: z.string().regex(/^@?(\w){1,30}$/).optional(), youtube: z.string().regex(/^@?(\w){1,50}$/).optional(), }).optional(),