Annotation JSON Schema
Observed annotation JSON returned by the NPM SDK data extraction API.
This reference describes the observed items returned by viewer.annotations.getData({ filter: "annotations" }). Use it to consume extracted annotation data. It does not define the database storage format or an import payload.
Fields depend on the tool, document, and whether the item is a measurement. Preserve null values and empty arrays; do not assume every field is populated. This TypeScript shape describes the observed JSON and is not a formal JSON Schema validator.
See Data Extraction for filters, request correlation, and timeout behavior.
Numeric type, subtype, and flag meanings require the matching type or backend reference. Do not infer enum meanings from this sample shape.
