Skip to main content

Interface: AnnotationBody

Defined in: src/types/models/annotation.ts:366

Rich text annotation body with embedded references.

Remarks

The body is an ordered list of items that can be text or references. When rendered, text items are displayed inline and references are rendered as interactive chips.

Properties

format

readonly format: "application/x-chive-gloss+json"

Defined in: src/types/models/annotation.ts:372

MIME type for the gloss format


items

readonly items: readonly AnnotationBodyItem[]

Defined in: src/types/models/annotation.ts:370

Ordered list of text and reference items


type

readonly type: "RichText"

Defined in: src/types/models/annotation.ts:368

Body type identifier