Annotations exist within a Task and are the end-result from contributors. An Annotation includes a unique identifier for the annotation, a human-readable key, the value of the annotation, all possible values for the annotation, and any other information provided to the contributor (question title, description, etc).

Represents a generic annotation.

id
string
required

Unique identifier for the annotation.

key
string
required

Key for the annotation.

type
string
required

The type of the value and the possible_values, if they exist.

title
string

Title of the annotation.

description
string

Further details about the question.

labels
string[]

String representation of the possible options.

A string representation of the annotation.

metadata
object
value
integer

Integer type annotation value.

possible_values
integer[]

The possible values for this annotation.

Integer type annotation value.