Classifications

Classification fields in Ango Annotation Format exports.

The classifications object is part of the task object in the Ango Annotation Format. It contains all annotation data pertaining to labels created with classifications, e.g. not tools, relations, or brushes.

Annotations created with the following classification classes will appear in the classification object:

General Structure

"classifications" : [
    {
        answer // object OR list, classification answers
        objectId // string, ID of the classification
        schemaId, // string, ID of the classification class in the project
        classifications, // list, nested classifications
        title // string, title of the classification
        page // int, optional, if asset is multi-page, page where the classification takes place
        tool // string, name of the tool (radio, dropdown, etc.)
        metadata // dict, optional, metadata regarding the annotation (creation date, etc.)
        interpolationStopped // bool, optional, whether in multi-frame assets the classification disappears from this frame on
    },
    { ... }
]

Radio

Sample

{
    "objectId": "a390f9434a330d14cf16759",
    "schemaId": "4460fa700ef030c4e575604",
    "tool": "radio",
    "title": "Image Projection Type",
    "answer": "Orthogonal",
    "metadata": {
        "createdAt": "2023-09-05T10:32:57.760Z",
        "createdBy": "lorenzo@example.net",
        "createdIn": "194e870c-5255-4ec9-9e6d-392321e504c3"
    },
    "classifications": []
}

Properties

PropertyTypeDescription

objectId

String

Object ID of the classification. Unique in the asset.

schemaId

String

ID of the class to which the classification belongs.

tool

String

Type of classification. In the case of the radio tool, the value is radio.

title

String

Name of the class.

answer

String

The answer picked by the annotator.

metadata

Dict

Only appears if the Annotation Metadata toggle has been turned on before export. createdAt: int, Time of creation in Unix epoch time in milliseconds. GMT. createdBy: string, email of user creating the classification createdIn: string, ID of the stage in which the classification was first answered. updatedAt: int, optional. Time of last classification update in Unix millisecond epoch time. GMT. Only appears if answer has been updated. updatedBy: string, optional. email of user last updating the classification. Only appears if answer has been updated. updatedIn: string, optional. ID of the stage in which the classification was last updated. Only appears if answer has been updated.

classifications

List

List of nested classifications (if any). May contain further nested classifications in its own classifications property.

Checkbox

Sample

{
  "objectId": "5ad8ed43d4c036e799fd617",
  "schemaId": "1ea7a275ce5c9cf30a6f148",
  "tool": "checkbox",
  "title": "Vehicle Color(s)",
  "answer": [
    "Red",
    "Yellow"
  ],
  "metadata": {
    "createdAt": "2023-09-06T07:34:23.618Z",
    "createdBy": "lorenzo@example.net",
    "createdIn": "Complete",
    "updatedAt": "2023-09-06T07:34:24.877Z",
    "updatedBy": "lorenzo@example.net",
    "updatedIn": "Complete"
  },
  "classifications": []
}

Properties

PropertyTypeDescription

objectId

String

Object ID of the classification. Unique in the asset.

schemaId

String

ID of the class to which the classification belongs.

tool

String

Type of classification. In the case of the checkbox tool, the value is checkbox.

title

String

Name of the class.

answer

List

The answer(s) picked. Always a list, even if only one item was selected.

metadata

Dict

Only appears if the Annotation Metadata toggle has been turned on before export. createdAt: int, Time of creation in Unix epoch time in milliseconds. GMT. createdBy: string, email of user creating the classification createdIn: string, ID of the stage in which the classification was first answered. updatedAt: int, optional. Time of last classification update in Unix millisecond epoch time. GMT. Only appears if answer has been updated. updatedBy: string, optional. email of user last updating the classification. Only appears if answer has been updated. updatedIn: string, optional. ID of the stage in which the classification was last updated. Only appears if answer has been updated.

classifications

List

List of nested classifications (if any). May contain further nested classifications in its own classifications property.

Single Dropdown

Sample

{
  "objectId": "9bca9ffa05869a4b60d9751",
  "schemaId": "a2b4a50bb90eb6523b88376",
  "tool": "single-dropdown",
  "title": "Image Projection Type",
  "answer": "Orthogonal",
  "metadata": {
    "createdAt": "2023-09-06T07:34:29.751Z",
    "createdBy": "lorenzo@example.net",
    "createdIn": "Complete"
  },
  "classifications": []
}

Properties

PropertyTypeDescription

objectId

String

Object ID of the classification. Unique in the asset.

schemaId

String

ID of the class to which the classification belongs.

tool

String

Type of classification. In the case of the single dropdown tool, the value is single-dropdown.

title

String

Name of the class.

answer

String

The answer picked by the annotator.

metadata

Dict

Only appears if the Annotation Metadata toggle has been turned on before export. createdAt: int, Time of creation in Unix epoch time in milliseconds. GMT. createdBy: string, email of user creating the classification createdIn: string, ID of the stage in which the classification was first answered. updatedAt: int, optional. Time of last classification update in Unix millisecond epoch time. GMT. Only appears if answer has been updated. updatedBy: string, optional. email of user last updating the classification. Only appears if answer has been updated. updatedIn: string, optional. ID of the stage in which the classification was last updated. Only appears if answer has been updated.

classifications

List

List of nested classifications (if any). May contain further nested classifications in its own classifications property.

Multiple Dropdown

Sample

{
  "objectId": "23d2beed0c3958e02d9c315",
  "schemaId": "11f6ed8e4ac4852d3422341",
  "tool": "multi-dropdown",
  "title": "Vehicle Colors",
  "answer": [
    "Red",
    "Yellow"
  ],
  "metadata": {
    "createdAt": "2023-09-06T07:34:32.316Z",
    "createdBy": "lorenzo@example.net",
    "createdIn": "Complete",
    "updatedAt": "2023-09-06T07:34:32.599Z",
    "updatedBy": "lorenzo@example.net",
    "updatedIn": "Complete"
  },
  "classifications": []
}

Properties

PropertyTypeDescription

objectId

String

Object ID of the classification. Unique in the asset.

schemaId

String

ID of the class to which the classification belongs.

tool

String

Type of classification. In the case of the multiple dropdown tool, the value is multi-dropdown.

title

String

Name of the class.

answer

List

The answer(s) picked. Always a list, even if only one item was selected.

metadata

Dict

Only appears if the Annotation Metadata toggle has been turned on before export. createdAt: int, Time of creation in Unix epoch time in milliseconds. GMT. createdBy: string, email of user creating the classification createdIn: string, ID of the stage in which the classification was first answered. updatedAt: int, optional. Time of last classification update in Unix millisecond epoch time. GMT. Only appears if answer has been updated. updatedBy: string, optional. email of user last updating the classification. Only appears if answer has been updated. updatedIn: string, optional. ID of the stage in which the classification was last updated. Only appears if answer has been updated.

classifications

List

List of nested classifications (if any). May contain further nested classifications in its own classifications property.

Text

Sample

{
  "objectId": "4ff3710fd7cdc644b7dd283",
  "schemaId": "6590a72d09f1760a4578032",
  "tool": "text",
  "title": "txt",
  "answer": "Answer Text Here",
  "metadata": {
    "createdAt": "2023-09-06T07:34:41.283Z",
    "createdBy": "lorenzo@example.net",
    "createdIn": "Complete",
    "updatedAt": "2023-09-06T07:34:42.430Z",
    "updatedBy": "lorenzo@example.net",
    "updatedIn": "Complete"
  },
  "classifications": []
}

Properties

PropertyTypeDescription

objectId

String

Object ID of the classification. Unique in the asset.

schemaId

String

ID of the class to which the classification belongs.

tool

String

Type of classification. In the case of the text tool, the value is text.

title

String

Name of the class.

answer

String

The answer written by the annotator.

metadata

Dict

Only appears if the Annotation Metadata toggle has been turned on before export. createdAt: int, Time of creation in Unix epoch time in milliseconds. GMT. createdBy: string, email of user creating the classification createdIn: string, ID of the stage in which the classification was first answered. updatedAt: int, optional. Time of last classification update in Unix millisecond epoch time. GMT. Only appears if answer has been updated. updatedBy: string, optional. email of user last updating the classification. Only appears if answer has been updated. updatedIn: string, optional. ID of the stage in which the classification was last updated. Only appears if answer has been updated.

classifications

List

List of nested classifications (if any). May contain further nested classifications in its own classifications property.

Tree Dropdown

Sample

{
  "objectId": "2c786a2d76113b135f7a680",
  "schemaId": "c2b5eb27e55b186f84f3898",
  "tool": "tree-dropdown",
  "title": "Vehicle Color",
  "answer": [
    "Red",
    "Yellows / Dark Yellow"
  ],
  "metadata": {
    "createdAt": "2023-09-06T07:34:36.681Z",
    "createdBy": "lorenzo@example.net",
    "createdIn": "Complete",
    "updatedAt": "2023-09-06T07:34:39.489Z",
    "updatedBy": "lorenzo@example.net",
    "updatedIn": "Complete"
  },
  "classifications": []
}

Properties

PropertyTypeDescription

objectId

String

Object ID of the classification. Unique in the asset.

schemaId

String

ID of the class to which the classification belongs.

tool

String

Type of classification. In the case of the tree dropdown tool, the value is tree-dropdown.

title

String

Name of the class.

answer

List

The answer(s) picked. Always a list, even if only one item was selected.

metadata

Dict

Only appears if the Annotation Metadata toggle has been turned on before export. createdAt: int, Time of creation in Unix epoch time in milliseconds. GMT. createdBy: string, email of user creating the classification createdIn: string, ID of the stage in which the classification was first answered. updatedAt: int, optional. Time of last classification update in Unix millisecond epoch time. GMT. Only appears if answer has been updated. updatedBy: string, optional. email of user last updating the classification. Only appears if answer has been updated. updatedIn: string, optional. ID of the stage in which the classification was last updated. Only appears if answer has been updated.

classifications

List

List of nested classifications (if any). May contain further nested classifications in its own classifications property.

Last updated