- key: a short string that serves as the identifier for the attribute
- value: an object that should have the following keys:
description
: a human-readable string describing the attribute to a labeler.type
: a string describing the type of attribute. Must benumber
for numerical attributes.min
(optional): The minimum number that may be chosen as the attribute.max
(optional): The maximum number that may be chosen as the attribute.step
(optional, default1
): The legal number intervals for the attribute.conditions
(optional): a JSON that describes the conditions under which this attribute should be collected.
{
"geometries": {
...
},
"annotation_attributes": {
"example_number": {
"type": "number",
"description": "What is the answer to this example question?",
"min": 0,
"max": 100
}
}
}