To use name_schemaId_map['box']
please refer to this post for the function that creates the output used in this dictionary below:
# name_schemaId_map = map_features(project.ontology().normalized)
tool_annotation = {
'uuid' : str(uuid.uuid4()),
'schemaId' : 'schemaId from ontology export or using name_schemaId_map['box'] using the function above',
'dataRow' : {'id' : data_row.uid},
'bbox' : {
'top' : 100,
'left' : 100,
'height' : 300,
'width' : 300
},
'classifications' : []
}
dict(tool_annotation)
For most up to date format of NDJSON please refer to Labelbox Docs: Overview