Skip to main content

Variable: authorRefSchema

const authorRefSchema: ZodObject<{ affiliations: ZodDefault<ZodArray<ZodLazy<ZodType<{ children: object[]; institutionUri: string; name: string; rorId: string; }, unknown, $ZodTypeInternals<{ children: object[]; institutionUri: string; name: string; rorId: string; }, unknown>>>>>; 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:104

Author reference for eprint submissions.

Remarks

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