Skip to main content

Variable: authorDetailsSchema

const authorDetailsSchema: object

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

Schema of an author's details

Type Declaration​

additionalProperties​

readonly additionalProperties: false = false

properties​

readonly properties: object

properties.did​

readonly did: object

properties.did.maxLength​

readonly maxLength: 2048 = MAX_URL_LENGTH

properties.did.pattern​

readonly pattern: "^did:[a-z]+:[a-zA-Z0-9._:%-]+$" = DID_PATTERN

properties.did.type​

readonly type: "string" = "string"

properties.email​

readonly email: object

properties.email.maxLength​

readonly maxLength: 254 = 254

properties.email.type​

readonly type: "string" = "string"

properties.handle​

readonly handle: object = authorText

properties.handle.maxLength​

readonly maxLength: 100 = MAX_AUTHOR_TEXT_LENGTH

properties.handle.minLength​

readonly minLength: 1 = 1

properties.handle.type​

readonly type: "string" = "string"

properties.homepage​

readonly homepage: object

properties.homepage.maxLength​

readonly maxLength: 2048 = MAX_URL_LENGTH

properties.homepage.type​

readonly type: "string" = "string"

properties.name​

readonly name: object = authorText

properties.name.maxLength​

readonly maxLength: 100 = MAX_AUTHOR_TEXT_LENGTH

properties.name.minLength​

readonly minLength: 1 = 1

properties.name.type​

readonly type: "string" = "string"

required​

readonly required: readonly ["name"]

type​

readonly type: "object" = "object"