Skip to main content

Variable: authorRefSchema

const authorRefSchema: ZodObject<{ affiliations: ZodDefault<ZodArray<ZodObject<{ department: ZodOptional<ZodString>; name: ZodString; rorId: ZodOptional<ZodString>; }, $strip>>>; avatarUrl: ZodOptional<ZodString>; contributions: ZodDefault<ZodArray<ZodObject<{ degree: ZodString; typeId: ZodOptional<ZodString>; typeLabel: ZodOptional<ZodString>; typeUri: ZodString; }, $strip>>>; did: ZodOptional<ZodString>; email: ZodUnion<[ZodOptional<ZodString>, ZodLiteral<"">]>; handle: ZodOptional<ZodString>; isCorrespondingAuthor: ZodDefault<ZodBoolean>; isHighlighted: ZodDefault<ZodBoolean>; name: ZodString; orcid: ZodOptional<ZodString>; order: ZodNumber; }, $strip>

Defined in: web/lib/schemas/eprint.ts:89

Author reference for eprint submissions.

Remarks

Supports extensive external identifier linking for author disambiguation. Required fields: did, order. All others are optional but recommended.