Skip to main content

Variable: authorSchema

const authorSchema: object

Defined in: src/lib/assets/schema.ts:125

Schema of an asset's author: a name, or their details

Type Declaration​

anyOf​

readonly anyOf: readonly [{ maxLength: 100; minLength: 1; type: "string"; }, { additionalProperties: false; properties: { did: { maxLength: 2048; pattern: "^did:[a-z]+:[a-zA-Z0-9._:%-]+$"; type: "string"; }; email: { maxLength: 254; type: "string"; }; handle: { maxLength: 100; minLength: 1; type: "string"; }; homepage: { maxLength: 2048; type: "string"; }; name: { maxLength: 100; minLength: 1; type: "string"; }; }; required: readonly ["name"]; type: "object"; }]