Skip to main content

Interface: AnnotationBody

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

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:235

MIME type for the gloss format


items

readonly items: readonly AnnotationBodyItem[]

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

Ordered list of text and reference items


type

readonly type: "RichText"

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

Body type identifier