minca
ApiSchemasVariables

Variable: tag

const tag: object & Typed<{
  label: string;
}>;

Defined in: packages/core/src/schemas/library/annotations.ts:56

A label on one or more records.

Type Declaration

description

readonly description: "A loose label on one record, like #urgent: many per record, and anyone may add one. For a named group that exists while empty, use std.list; for a moderator’s label that apps act on, use std.label." = 'A loose label on one record, like #urgent: many per record, and anyone may add one. For a named group that exists while empty, use std.list; for a moderator’s label that apps act on, use std.label.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

readonly name: "std.tag" = 'std.tag';

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["@author", "link:about", "label"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.label

readonly label: object;

schema.properties.label.maxLength

readonly maxLength: 100 = 100;

schema.properties.label.minLength

readonly minLength: 1 = 1;

schema.properties.label.type

readonly type: "string" = 'string';

schema.required

readonly required: readonly ["label"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Tag" = 'Tag';

On this page