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": "[email protected]",
"createdIn": "194e870c-5255-4ec9-9e6d-392321e504c3"
},
"classifications": []
}
Properties
objectId
String
Object ID of the classification. Unique in the asset.
"objectId": "6b8a4338d299c63b5ee7825"
schemaId
String
ID of the class to which the classification belongs.
"schemaId": "4460fa700ef030c4e575604"
tool
String
Type of classification. In the case of the radio tool, the value is radio
.
title
String
Name of the class.
"title": "Image Projection Type"
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.
"classifications": [
{
"objectId": "78d263ed59db8dd1dcb4666",
"schemaId": "4460fa700ef030c4e575604",
"tool": "radio",
"title": "Nested Radio",
"answer": "1",
"metadata": {
"createdAt": "2023-09-05T10:28:18.667Z",
"createdBy": "[email protected]",
"createdIn": "Complete"
},
"classifications": []
}
]
Checkbox
Sample
{
"objectId": "5ad8ed43d4c036e799fd617",
"schemaId": "1ea7a275ce5c9cf30a6f148",
"tool": "checkbox",
"title": "Vehicle Color(s)",
"answer": [
"Red",
"Yellow"
],
"metadata": {
"createdAt": "2023-09-06T07:34:23.618Z",
"createdBy": "[email protected]",
"createdIn": "Complete",
"updatedAt": "2023-09-06T07:34:24.877Z",
"updatedBy": "[email protected]",
"updatedIn": "Complete"
},
"classifications": []
}
Properties
objectId
String
Object ID of the classification. Unique in the asset.
"objectId": "6b8a4338d299c63b5ee7825"
schemaId
String
ID of the class to which the classification belongs.
"schemaId": "4460fa700ef030c4e575604"
tool
String
Type of classification. In the case of the checkbox tool, the value is checkbox
.
title
String
Name of the class.
"title": "Vehicle Color"
answer
List
The answer(s) picked. Always a list, even if only one item was selected.
"answer": [
"Red",
"Yellow"
]
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.
"classifications": [
{
"objectId": "78d263ed59db8dd1dcb4666",
"schemaId": "4460fa700ef030c4e575604",
"tool": "radio",
"title": "Nested Radio",
"answer": "1",
"metadata": {
"createdAt": "2023-09-05T10:28:18.667Z",
"createdBy": "[email protected]",
"createdIn": "Complete"
},
"classifications": []
}
]
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": "[email protected]",
"createdIn": "Complete"
},
"classifications": []
}
Properties
objectId
String
Object ID of the classification. Unique in the asset.
"objectId": "6b8a4338d299c63b5ee7825"
schemaId
String
ID of the class to which the classification belongs.
"schemaId": "4460fa700ef030c4e575604"
tool
String
Type of classification. In the case of the single dropdown tool, the value is single-dropdown
.
title
String
Name of the class.
"title": "Image Projection Type"
answer
String
The answer picked by the annotator.
"answer": "Orthogonal"
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.
"classifications": [
{
"objectId": "78d263ed59db8dd1dcb4666",
"schemaId": "4460fa700ef030c4e575604",
"tool": "radio",
"title": "Nested Radio",
"answer": "1",
"metadata": {
"createdAt": "2023-09-05T10:28:18.667Z",
"createdBy": "[email protected]",
"createdIn": "Complete"
},
"classifications": []
}
]
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": "[email protected]",
"createdIn": "Complete",
"updatedAt": "2023-09-06T07:34:32.599Z",
"updatedBy": "[email protected]",
"updatedIn": "Complete"
},
"classifications": []
}
Properties
objectId
String
Object ID of the classification. Unique in the asset.
"objectId": "6b8a4338d299c63b5ee7825"
schemaId
String
ID of the class to which the classification belongs.
"schemaId": "4460fa700ef030c4e575604"
tool
String
Type of classification. In the case of the multiple dropdown tool, the value is multi-dropdown
.
title
String
Name of the class.
"title": "Vehicle Color"
answer
List
The answer(s) picked. Always a list, even if only one item was selected.
"answer": [
"Red",
"Yellow"
]
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.
"classifications": [
{
"objectId": "78d263ed59db8dd1dcb4666",
"schemaId": "4460fa700ef030c4e575604",
"tool": "radio",
"title": "Nested Radio",
"answer": "1",
"metadata": {
"createdAt": "2023-09-05T10:28:18.667Z",
"createdBy": "[email protected]",
"createdIn": "Complete"
},
"classifications": []
}
]
Text
Sample
{
"objectId": "4ff3710fd7cdc644b7dd283",
"schemaId": "6590a72d09f1760a4578032",
"tool": "text",
"title": "txt",
"answer": "Answer Text Here",
"metadata": {
"createdAt": "2023-09-06T07:34:41.283Z",
"createdBy": "[email protected]",
"createdIn": "Complete",
"updatedAt": "2023-09-06T07:34:42.430Z",
"updatedBy": "[email protected]",
"updatedIn": "Complete"
},
"classifications": []
}
Properties
objectId
String
Object ID of the classification. Unique in the asset.
"objectId": "6b8a4338d299c63b5ee7825"
schemaId
String
ID of the class to which the classification belongs.
"schemaId": "4460fa700ef030c4e575604"
tool
String
Type of classification. In the case of the text tool, the value is text
.
title
String
Name of the class.
"title": "Address"
answer
String
The answer written by the annotator.
"answer": "6 Chained Street, Military Academy District, Ankara, Turkey"
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.
"classifications": [
{
"objectId": "78d263ed59db8dd1dcb4666",
"schemaId": "4460fa700ef030c4e575604",
"tool": "radio",
"title": "Nested Radio",
"answer": "1",
"metadata": {
"createdAt": "2023-09-05T10:28:18.667Z",
"createdBy": "[email protected]",
"createdIn": "Complete"
},
"classifications": []
}
]
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": "[email protected]",
"createdIn": "Complete",
"updatedAt": "2023-09-06T07:34:39.489Z",
"updatedBy": "[email protected]",
"updatedIn": "Complete"
},
"classifications": []
}
Properties
objectId
String
Object ID of the classification. Unique in the asset.
"objectId": "6b8a4338d299c63b5ee7825"
schemaId
String
ID of the class to which the classification belongs.
"schemaId": "4460fa700ef030c4e575604"
tool
String
Type of classification. In the case of the tree dropdown tool, the value is tree-dropdown
.
title
String
Name of the class.
"title": "Vehicle Color"
answer
List
The answer(s) picked. Always a list, even if only one item was selected.
"answer": [
"Reds",
"Yellows / Dark Yellows / Ochre"
]
Answers nested within another are displayed after a /
. For example, to get the sample above, the annotator selected the following answers in the UI:
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.
"classifications": [
{
"objectId": "78d263ed59db8dd1dcb4666",
"schemaId": "4460fa700ef030c4e575604",
"tool": "radio",
"title": "Nested Radio",
"answer": "1",
"metadata": {
"createdAt": "2023-09-05T10:28:18.667Z",
"createdBy": "[email protected]",
"createdIn": "Complete"
},
"classifications": []
}
]
Last updated