Skip to content

JsonPropertyDefinition

JsonPropertyDefinition = JsonTypeDefinition & object

A PropertyDefinition whose data type is 'json', carrying the parser for its values.

readonly optional annotations?: readonly (`ai:${string}` | `pii:${string}` | `sensitivity:${string}`)[]

Annotations declared with annotate, in declaration order; absent when none were declared.

readonly optional description?: string

Description set with setDescription.

readonly index: "index" | "unique" | null

Index declared on the Property: 'index' for a lookup index, 'unique' for a unique index, null for none.

readonly optional isExtension?: boolean

true when the Property was added through a Template extension on an Item rather than declared on the Template.

readonly key: string

Key of the Property within its Template.

readonly label: string

Display label of at most 500 characters; defaults to the key.

readonly metadata: object

Metadata set with setMetadata, keyed by strings of at most 256 characters.

[key: string]: MetadataValue

readonly prn: string

PRN of the Property, <templatePrn>/property/<key>.