Skip to content

UnknownAnnotation

An annotation of a type this version of Gloss does not define, such as one from a newer writer. It needs a type, an id and a page. Readers may ignore it or pass it through. Types match case-sensitively, so Highlight is an unknown type. To add an annotation of your own, write it as the nearest Gloss type and record its kind under your own key in custom.

{
"$ref": "https://gloss-format.org/schema/v1.json#/$defs/UnknownAnnotation"
}

Required fields are bracketed.

Field Type Default XFDF Description
type (required) any string except a type Gloss defines (see Annotation) — An annotation type this version of Gloss doesn’t define. A type Gloss defines must match its own definition instead.
id (required) string; at least 1 character name Unique within the document. Never reused for a different annotation.
page (required) integer; ≥ 0 page The page the annotation is on, counted from 0.
{
"type": "sticker",
"id": "a1",
"page": 0,
"sticker": "star"
}

From the creators of Inkbar and Redactr.

Format version 1 · gloss-format 1.3.0