Variable ProfileMetadataSchemaConst

ProfileMetadataSchema: z.ZodType<ProfileMetadata, z.ZodTypeDef, object> = ...

Profile Metadata schema.

Example

with parse:

ProfileMetadataSchema.parse(valid); // => ProfileMetadata

ProfileMetadataSchema.parse(invalid); // => throws ZodError

Example

with safeParse:

ProfileMetadataSchema.safeParse(valid);
// => { success: true, data: ProfileMetadata }

ProfileMetadataSchema.safeParse(invalid);
// => { success: false, error: ZodError }