ApiSchemasVariables
Variable: award
const award: object & Typed<{
did: string;
note?: string;
}>;Defined in: packages/core/src/schemas/library/community.ts:287
A badge given to someone: once per person per badge.
Type Declaration
description
readonly description: "A badge given to someone, once." = 'A badge given to someone, once.';links
readonly links: object;links.about
readonly about: LinkDeclaration;name
readonly name: "std.award" = 'std.award';rules
readonly rules: object;rules.onePer
readonly onePer: readonly ["link:about", "did"];schema
readonly schema: object;schema.properties
readonly properties: object;schema.properties.did
readonly did: object & object;Type Declaration
maxLength
maxLength: number = max;minLength?
minLength?: number = min;type
type: "string";x-kind
readonly "x-kind": "did";schema.properties.note
readonly note: object;schema.properties.note.maxLength
maxLength: number = max;schema.properties.note.minLength?
minLength?: number = min;schema.properties.note.type
type: "string";schema.required
readonly required: readonly ["did"];schema.type
readonly type: "object" = 'object';title
readonly title: "Award" = 'Award';topics
readonly topics: readonly ["did"];