Export document annotations

How to export document (PDF) annotations and sample export formats.

Open this Colab for an interactive tutorial on exporting annotations.

πŸ“˜

Deprecating Export V1

Starting in April 2024, we will begin sunsetting Export V1 for customers on a rolling basis. For more details, see this guide.

Export JSON annotations

# Set the export params to include/exclude certain fields. Make sure each of these fields are correctly grabbed 
export_params= {
  "attachments": True,
  "metadata_fields": True,
  "data_row_details": True,
  "project_details": True,
  "label_details": True,
  "performance_details": True
}

# You can set the range for last_activity_at and label_created_at. 
# For context, last_activity_at captures the creation and modification of labels, metadata, status, comments and reviews.
# Note: This is an AND logic between the filters, so usually using one filter is sufficient.

filters= {
  "last_activity_at": ["2000-01-01 00:00:00", "2050-01-01 00:00:00"],
  "workflow_status": "Done"
}

export_task = project.export_v2(params=export_params, filters=filters)
export_task.wait_till_done()

if export_task.errors:
  print(export_task.errors)

export_json = export_task.result
print("results: ", export_json)
labels = project.export_labels(download=True)

# Optionally, provide a date range as an optional parameter
# This will export only labels created between the supplied dates
# Date range can be formatted as "YYYY-MM-DD" or "YYYY-MM-DD hh:mm:ss"
labels = project.export_labels(download=True, start="2022-09-28", end="2022-10-04")

Annotation export formats

Bounding box

{
  "feature_id": "cldnzepf100063b6jywag3r0e",
  "name": "bbox_document",
  "annotation_kind": "DocumentBoundingBox",
  "classifications": [],
  "page_number": 0,
  "bounding_box": {
    "top": 145.469,
    "left": 5.388,
    "height": 107.755,
    "width": 39.869
  }
}
{
  "featureId": "cky8ybaew00013g67ywqyfboe",
  "schemaId": "cky8xqathotfg10axdntqcja1",
  "title": "Sample object 1",
  "value": "sample_object_1",
  "color": "#70d4e0",
  "bbox": {
    "top":107.442,
    "left":102.326,
    "height":181.116,
    "width":274.232
  }
  "page":1,
  "unit":"POINTS", // points represent 1/72 of an inch.

Text entity (named entity)

An OCR text layer is required to see the annotated text in the export.

{
  "feature_id": "cldnzeo9500043b6j2pbht6iw",
  "name": "entity_document",
  "annotation_kind": "DocumentEntityRegion",
  "classifications": [],
  "locations": [
    {
      "page_number": 0,
      "bounding_box": {
        "top": 262.50994897959185,
        "left": 63.95433673469388,
        "height": 11.314285714285688,
        "width": 90.42997050382654
      }
    }
  ]
}
{
  "feature_id": "cldnzeo9500043b6j2pbht6iw",
  "name": "entity_document",
  "annotation_kind": "DocumentEntityToken",
  "classifications": [],
  "location": {
    "groups": [
      {
        "id": "6d1bdcad-c427-4cde-b2f1-c436b4e6893e",
        "page_number": 0,
        "tokens": [
          "189b441c-b184-4501-9b61-4bb538efecae",
          "5280789c-b9eb-4435-a975-a319fdd33af0",
          "7d807e26-d8b8-452c-9549-a506e64e7442"
        ],
        "text": "annotated text"
      }
    ]
  }
}

{
  "featureId": "cl899p4jn0amu3b6ucjoamoyi",
  "schemaId": "cl899obmq004qt2mfay3673pu",
  "color": "#1CE6FF",
  "title": "Text",
  "value": "text",
  "data": {
    "customLayerMetadata": {
      "text": "evaluated by difference",
      "textLayerUrl": "https://storage.googleapis.com/labelbox-developer-testing-assets/pdf/pdf-custom-text-layer/E2G5F105-lb-custom-text-layer.json",
      "textSelections": [
        {
          "groupId": "9cec3650-ed4f-4261-adf0-283a5f4ea736",
          "page": 0,
          "text": "evaluated by difference",
          "tokenIds": [
            "16e7328e-bc52-41a6-9530-6700d6d6809a",
            "0c01d928-0c89-4208-92e6-e306c5d85756",
            "71c89c58-f60a-4f0e-8696-87e6e350bade",
            "554b16cc-ee6d-4e2a-b830-59829e0c892f",
            "908b5d7f-71d7-464d-8a93-b1c7164c657c",
            "107e8b38-5ae7-4d8e-b75f-7d7213282e8b",
            "a68db17f-81d3-48f6-b6c8-acba25871445",
            "ad98bf61-4b77-405e-9014-ced4e0fd346d",
            "7382f859-ed2d-4cc7-b17e-ffac0a4ac05f",
            "92e1fe01-1970-42bb-8ed5-4e48e2395ca0",
            "42503f3a-4107-4a4a-b522-cfd88de0963f",
            "fe71c1b6-9402-4737-b0cb-3c8853d1364b",
            "84ead276-f302-4039-900b-7ca81fc0c5c4",
            "da009cd4-47e4-417f-94d1-b51e816dc72d",
            "825316bd-6443-4dff-9002-3fdf92d6a8e6",
            "fa81eab7-9f06-48c6-b6db-4a432d633b37",
            "be7b0345-0d96-47b1-bb43-a7fa1365c31d"
          ]
        }
      ]
    }
  }
}

Relationship

"relationships":[
   {
      "featureId":"cl3uaz2kn000p3f6crzl3qqww",
      "schemaId":"cl3n8b4oz51sc087jdrgl17q2",
      "data":
     		 {
            "source":"cl3uay4qj000i3f6c9jtvu2ab",
            "target":"cl3uaxxo2000f3f6cbselj2z3"
         },
      "relationshipType":"unidirectional",
      "version":1
   }
]

Classification - Radio

{
  "feature_id": "cldne96y201wq13ydu0qcc2up",
  "name": "radio_question_sub",
  "radio_answer": {
    "feature_id": "cldne96y201wr13yd23kr1pcr",
    "name": "first_radio_answer",
    "classifications": [
      {
        "feature_id": "cldne96y201ws13ydycgddbx1",
        "name": "sub_radio_question",
        "radio_answer": {
          "feature_id": "cldne96y201wt13ydowa2bs2i",
          "name": "first_sub_radio_answer",
          "classifications": []
        }
      }
    ]
  }
}
// Global classification
{
  "uuid": "1278daa6-ce64-4363-be24-4fa5eadffb17",
  "dataRow": {
    "id": "ckd11jg6scq9c0cq43vmh6i07"
  },  
  "schemaId": "ckd11j3yk000c0z0u4xn6dc4r", // Radio question
  "answer": {
    "schemaId": "ckd11j415000u0z0ubu7ee4w2" // Radio answer
  }
}

// Nested classification
{
  "uuid": "532953e6-746f-4d74-945d-b4a9c2786479",
  "schemaId": "ckshluz7h7d9b0yb60biaasya",
  "dataRow": {
    "id": "ckshkj1vj4rsq0yvubkoe76vi"
  },
  "bbox": {
    "top": 57,
    "left": 209,
    "height": 216,
    "width": 152
  },
  "classifications": [
    {
      "schemaId": "ckshluz847d9d0yb65oqhfg65", // Nested radio question
      "answer": {
        "schemaId": "ckshluz8r7d9j0yb6d9l45o1b" // Nested radio answer
      }
    }
  ]
}

Classification - Checklist

{
  "feature_id": "cldne96y201wu13ydohrclpra",
  "name": "checklist_question",
  "checklist_answers": [
    {
      "feature_id": "cldne96y301wv13ydatuxugbt",
      "name": "first_checklist_answer",
      "classifications": []
    },
    {
      "feature_id": "cldne96y301ww13yds4zkk49u",
      "name": "second_checklist_answer",
      "classifications": []
    },
    {
      "feature_id": "cldne96y301wx13ydvb5x2w6o",
      "name": "third_checklist_answer",
      "classifications": []
    }
  ]
}
{
  "featureId": "cl89b1d3g00013b6k8388lpol",
  "schemaId": "cl89b186w0xg107xkga0fdf4j",
  "scope": "global",
  "title": "Attributes",
  "value": "attributes",
  "answers": [
    {
      "featureId": "cl89b1dln00033b6ky6j9cb62",
      "schemaId": "cl89b186w0xg407xk4yvkf3o8",
      "title": "Crowded",
      "value": "crowded"
    },
    {
      "featureId": "cl89b1e3z00063b6kll28e559",
      "schemaId": "cl89b186w0xg607xk8ogy304a",
      "title": "Foot traffic",
      "value": "foot_traffic"
    },
    {
      "featureId": "cl89b1ekd000a3b6kbiipqxi7",
      "schemaId": "cl89b186w0xg807xke5kg606w",
      "title": "Vehicle traffic",
      "value": "vehicle_traffic"
    }
  ]
}

Classification - Free-form text

{
  "feature_id": "cldne96y301wy13yd0wp5z87y",
  "name": "free_text",
  "text_answer": {
    "content": "sample text"
  }
}
{
  "featureId": "ckmuzkkhw000a3g68xegct9wz",
  "schemaId": "ckmuzjtfa64bq0y839bn8ci4l",
  "title": "Free-form text",
  "value": "free-form_text",
  "answer": "Correct text answer"
}

Sample project export

{
  "data_row": {
    "id": "cldnf7vtu04bs078y9uw19u2e",
    "row_data": "https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/data/99-word-token-pdfs/0801.3483.pdf",
    "details": {
      "dataset_id": "cldnf7uyf03jb081pgq4o8cks",
      "created_at": "2023-02-02",
      "updated_at": "2023-02-02",
      "created_by": "[email protected]"
    }
  },
  "media_attributes": {
    "mime_type": "application/pdf",
    "text_layer_url": "https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/data/99-word-token-pdfs/0801.3483-lb-textlayer.json"
  },
  "attachments": [],
  "metadata_fields": [],
  "projects": {
    "cldnza25c086407yy74gh4ln7": {
      "project_name": "test_document_export_project",
      "labels": [
        {
          "label_kind": "Default",
          "version": "1.0.0",
          "id": "cldnzeaxq0dgu071a8ou65i46",
          "label_details": {
            "created_at": "2023-02-03T03:43:43+00:00",
            "updated_at": "2023-02-13T20:57:31+00:00",
            "created_by": "[email protected]",
            "reviews": []
          },
          "performance_details": {
            "seconds_to_create": 726,
            "seconds_to_review": 0,
            "skipped": false
          },
          "annotations": {
            "objects": [
              {
                "feature_id": "cldnzeo9500043b6j2pbht6iw",
                "name": "entity_document",
                "annotation_kind": "DocumentEntityRegion",
                "classifications": [],
                "locations": [
                  {
                    "page_number": 0,
                    "bounding_box": {
                      "top": 262.50994897959185,
                      "left": 63.95433673469388,
                      "height": 11.314285714285688,
                      "width": 90.42997050382654
                    }
                  }
                ]
              },
              {
                "feature_id": "cldnzepf100063b6jywag3r0e",
                "name": "bbox_document",
                "annotation_kind": "DocumentBoundingBox",
                "classifications": [],
                "page_number": 0,
                "bounding_box": {
                  "top": 145.469,
                  "left": 5.388,
                  "height": 107.755,
                  "width": 39.869
                }
              },
              {
                "feature_id": "cle3ap8ow00023b6j5i4vppij",
                "name": "entity_document",
                "annotation_kind": "DocumentEntityRegion",
                "classifications": [],
                "locations": [
                  {
                    "page_number": 0,
                    "bounding_box": {
                      "top": 285.4247448979592,
                      "left": 189.012669403699,
                      "height": 11.314285714285745,
                      "width": 64.77479870854594
                    }
                  }
                ]
              },
              {
                "feature_id": "cle3apc0100053b6j0szweip7",
                "name": "entity_document",
                "annotation_kind": "DocumentEntityRegion",
                "classifications": [],
                "locations": [
                  {
                    "page_number": 0,
                    "bounding_box": {
                      "top": 285.4247448979592,
                      "left": 278.00553252551026,
                      "height": 11.314285714285745,
                      "width": 21.189622528698976
                    }
                  },
                  {
                    "page_number": 0,
                    "bounding_box": {
                      "top": 296.83163265306126,
                      "left": 53.99540816326531,
                      "height": 11.314285714285745,
                      "width": 43.99557158801021
                    }
                  }
                ]
              }
            ],
            "classifications": [],
            "relationships": [
              {
                "feature_id": "cldnzeur700093b6jgkoj88p2",
                "name": "relation_1",
                "annotation_kind": "DocumentUnidirectionalRelationship",
                "classifications": [],
                "unidirectional_relationship": {
                  "source": "cldnzepf100063b6jywag3r0e",
                  "target": "cldnzeo9500043b6j2pbht6iw"
                }
              },
              {
                "feature_id": "cle3aqgrn00073b6jcytqix1y",
                "name": "relation_1",
                "annotation_kind": "DocumentUnidirectionalRelationship",
                "classifications": [],
                "unidirectional_relationship": {
                  "source": "cle3ap8ow00023b6j5i4vppij",
                  "target": "cle3apc0100053b6j0szweip7"
                }
              }
            ]
          }
        }
      ],
      "project_details": {
        "ontology_id": "cldnzaasy08xi07xz3n6qf3v2",
        "batch_id": "0dde4a70-a326-11ed-9fd5-ef4a1723fd58",
        "priority": 5,
        "consensus_expected_label_count": 1,
        "workflow_history": [
          {
            "action": "APPROVE",
            "created_at": "2023-02-13T20:55:28.990000+00:00",
            "created_by": "[email protected]",
            "previous_task_name": "Initial review task",
            "previous_task_id": "19e6a51f-d873-4de3-97fa-0e91738cfdb6"
          },
          {
            "action": "MOVE",
            "created_at": "2023-02-03T03:43:42.773000+00:00",
            "created_by": "[email protected]",
            "previous_task_name": "Initial labeling task",
            "previous_task_id": "b7533ced-7f39-0e3d-ac8b-9834522747fc",
            "next_task_name": "Initial review task",
            "next_task_id": "19e6a51f-d873-4de3-97fa-0e91738cfdb6"
          },
          {
            "action": "MOVE",
            "created_at": "2023-02-03T03:43:42.741000+00:00",
            "created_by": "[email protected]",
            "next_task_name": "Initial labeling task",
            "next_task_id": "b7533ced-7f39-0e3d-ac8b-9834522747fc"
          }
        ]
      }
    }
  }
}
[
  {
    "ID": "cky8xqftnocd50zbvh8h67z4x",
    "DataRow ID": "cky8wroom000v0zsqddjg2ges",
    "Labeled Data": "https://storage.labelbox.com/cjhfn5y6s0pk507024nz1ocys%2F5e697840-a142-d5c4-39cc-10a2efa070c8.pdf",
    "Label": {
      "objects": [
        {
          "featureId": "cky8ybaew00013g67ywqyfboe",
          "schemaId": "cky8xqathotfg10axdntqcja1",
          "title": "Sample object 1",
          "value": "sample_object_1",
          "color": "#70d4e0",
          "bbox":{
            "top":107.442,
            "left":102.326,
            "height":181.116,
            "width":274.232
          },
          "page":1,
          "unit":"POINTS", // points represent 1/72 of an inch.
          "instanceURI": "https://api.labelbox.com/masks/feature/cky8ybaew00013g67ywqyfboe"
        },
        {
          "featureId": "ckn94pfs700033g68hidmdqsg",
          "schemaId": "ckn94hhay0opv0y69fbpg76bs",
          "title": "Sample object 2",
          "value": "sample_object_2",
          "color": "#FF34FF",
          "instanceURI": "https://api.labelbox.com/masks/feature/ckn94pfs700033g68hidmdqsg?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJjazUycnZ4MWtxYXpiMDc3MDBtcTI3eDRsIiwib3JnYW5pemF0aW9uSWQiOiJjazUycnZ4MG1wdzRnMDc2NndncXZqdGw5IiwiaWF0IjoxNjE3OTAzMDU5LCJleHAiOjE2MjA0OTUwNTl9.r6Qw2Qx_wbtflEwnZm-7XzPP-AbZn5VuIQ4_ETjBqJc"
        }
      ],
      "classifications": [
        {
          "featureId": "cky8ybfqf00043g670ies4irl",
          "schemaId": "cky8xqathotfh10axbjzofimy",
          "title": "Role:",
          "value": "role",
          "answers": {
            "featureId": "cky8ybfqf00033g67f1vrj24v",
            "schemaId": "cky8xqathotfi10ax06z82rup",
            "title": "Author",
            "value": "author"
          }
        }
      ]
    },
    "Created By": "[email protected]",
    "Project Name": "Document Labeling",
    "Created At": "2022-01-10T17:22:46.000Z",
    "Updated At": "2022-01-10T17:22:46.602Z",
    "Seconds to Label": 0,
    "External ID": "Navigating the New Landscape of AI Platforms.pdf",
    "Agreement": -1,
    "Benchmark Agreement": -1,
    "Benchmark ID": null,
    "Dataset Name": "Document Samples",
    "Reviews": [],
    "View Label": "https://editor.labelbox.com?project=cky8xlauaow3710bx1s2bev2l&label=cky8xqftnocd50zbvh8h67z4x",
    "Has Open Issues": 0,
    "Skipped": false,
    "DataRow Workflow Info": {
      "taskName": "Done",
      "Workflow History": [
        {
          "actorId": "cl3lobugu14pw0796fau0dgad",
          "action": "APPROVE",
          "createdAt": "2022-09-29T15:46:23.269Z",
          "previousTaskId": "0ae49522-97f0-4a07-96c6-bd4d50963acd",
          "previousTaskName": "Initial review task"
        },
        {
          "actorId": "cl3lobugu14pw0796fau0dgad",
          "action": "REWORK",
          "createdAt": "2022-09-29T14:23:59.735Z",
          "previousTaskId": "4a0d7f40-0c3f-0cc8-adc4-fd818684facd",
          "previousTaskName": "Rework (all rejected)",
          "nextTaskId": "0ae49522-97f0-4a07-96c6-bd4d50963acd",
          "nextTaskName": "Initial review task"
        },
        {
          "actorId": "cl1qe5naj3g460z6e0owr6mwj",
          "action": "REJECT",
          "createdAt": "2022-09-29T13:39:01.077Z",
          "previousTaskId": "0ae49522-97f0-4a07-96c6-bd4d50963acd",
          "previousTaskName": "Initial review task",
          "nextTaskId": "4a0d7f40-0c3f-0cc8-adc4-fd818684facd",
          "nextTaskName": "Rework (all rejected)"
        },
        {
          "actorId": "cl3ucfsj22j8l073xaitnh1xe",
          "action": "MOVE",
          "createdAt": "2022-09-28T18:06:16.881Z",
          "previousTaskId": "ea78e526-e429-002e-8b80-b72c4b591152",
          "previousTaskName": "Initial labeling task",
          "nextTaskId": "0ae49522-97f0-4a07-96c6-bd4d50963acd",
          "nextTaskName": "Initial review task"
        },
        {
          "actorId": "cl3ucfsj22j8l073xaitnh1xe",
          "action": "MOVE",
          "createdAt": "2022-09-28T18:06:16.859Z",
          "nextTaskId": "ea78e526-e429-002e-8b80-b72c4b591152",
          "nextTaskName": "Initial labeling task"
        }
      ]
    }
  }
]

Sample model run export

{
  "data_row": {
    "id": "clgz737op0ium074i5lv94tv9",
    "global_key": "0801.3483.pdf",
    "row_data": "https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/data/99-word-token-pdfs/0801.3483.pdf",
    "details": {
      "dataset_id": "clgz72ny403ax072neg3hdgg3",
      "created_at": "2023-04-27T14:03:06.000+00:00",
      "updated_at": "2023-04-27T14:03:06.000+00:00",
      "created_by": "[email protected]"
    }
  },
  "media_attributes": {
    "mime_type": "application/pdf",
    "text_layer_url": "https://storage.googleapis.com/labelbox-datasets/arxiv-pdf/data/99-word-token-pdfs/0801.3483-lb-textlayer.json"
  },
  "attachments": [],
  "metadata_fields": [],
  "experiments": {
    "a1310f8c-4157-03b7-fe21-a07175bfa56f": {
      "name": "PDF_model_run_814e5003-951b-4499-8c6a-9a374a3d9be7",
      "runs": {
        "a1310f8c-9bdc-0e19-ef26-e375ec3fc980": {
          "name": "iteration 1",
          "run_data_row_id": "84e1b106-2ea5-4b6d-8fce-141cd78be6dd",
          "labels": [
            {
              "label_kind": "Default",
              "version": "1.0.0",
              "id": "clgz775vl0vw4142suvseyfb8",
              "annotations": {
                "objects": [
                  {
                    "feature_id": "0c58f574-083f-4e96-b2b2-e6d9ee1ff86d",
                    "name": "bounding_box",
                    "annotation_kind": "DocumentBoundingBox",
                    "classifications": [],
                    "page_number": 0,
                    "bounding_box": {
                      "top": 135.3,
                      "left": 102.771,
                      "height": 109.84299999999999,
                      "width": 415.8
                    }
                  },
                  {
                    "feature_id": "15223a63-6b71-4f6e-8916-855e9479a599",
                    "name": "named_entity",
                    "annotation_kind": "DocumentEntityToken",
                    "classifications": [],
                    "location": {
                      "groups": [
                        {
                          "id": "2f4336f4-a07e-4e0a-a9e1-5629b03b719b",
                          "page_number": 1,
                          "tokens": [
                            "3f984bf3-1d61-44f5-b59a-9658a2e3440f",
                            "3bf00b56-ff12-4e52-8cc1-08dbddb3c3b8",
                            "6e1c3420-d4b7-4c5a-8fd6-ead43bf73d80",
                            "87a43d32-af76-4a1d-b262-5c5f4d5ace3a",
                            "e8606e8a-dfd9-4c49-a635-ad5c879c75d0",
                            "67c7c19e-4654-425d-bf17-2adb8cf02c30",
                            "149c5e80-3e07-49a7-ab2d-29ddfe6a38fa",
                            "b0e94071-2187-461e-8e76-96c58738a52c"
                          ],
                          "text": "Metal-insulator (MI) transitions have been one of the"
                        }
                      ]
                    }
                  },
                  {
                    "feature_id": "de4a3575-8659-4c47-ac7e-124f35a9a4fe",
                    "name": "ner_with_checklist_subclass",
                    "annotation_kind": "DocumentEntityToken",
                    "classifications": [
                      {
                        "feature_id": "b5b07cf0-e4d8-4dd4-a109-bb58a9b9969d",
                        "name": "sub_checklist_question",
                        "checklist_answers": [
                          {
                            "feature_id": "a4b2da40-fd97-49c3-85e3-8585230a3517",
                            "name": "first_sub_checklist_answer",
                            "classifications": []
                          }
                        ]
                      }
                    ],
                    "location": {
                      "groups": [
                        {
                          "id": "80e1e326-0194-4f38-845c-d9d22b0054fb",
                          "page_number": 1,
                          "tokens": [
                            "c2639311-4db1-4ad5-9a8d-1f2ab2c2dae8",
                            "2aa2f9df-df5a-4b3a-aa57-05aff053c147",
                            "aa725467-7b86-4629-9c70-a6391decb39b",
                            "6a4a0a69-f04e-44c0-b343-096aef413444",
                            "8dcce11c-c2ae-4274-b634-c950c8a7f333",
                            "85fccf77-474b-4707-85cc-592871d5c680",
                            "5d16be99-fc40-4228-99db-0a121a0478e7"
                          ],
                          "text": "T. Sasaki,* N. Yoneyama, and N. Kobayashi"
                        }
                      ]
                    }
                  },
                  {
                    "feature_id": "e8cedbca-8e90-4228-bcaf-2d4a8124872e",
                    "name": "bbox_with_radio_subclass",
                    "annotation_kind": "DocumentBoundingBox",
                    "classifications": [
                      {
                        "feature_id": "9ff43128-ed91-4cf7-8f07-cbc10003c40c",
                        "name": "sub_radio_question",
                        "radio_answer": {
                          "feature_id": "533143ee-d7e8-4b0d-9f30-8e692194c638",
                          "name": "first_sub_radio_answer",
                          "classifications": [
                            {
                              "feature_id": "9bedb2c9-d332-4031-a2ae-607674511403",
                              "name": "second_sub_radio_question",
                              "radio_answer": {
                                "feature_id": "550590fd-9d42-4978-970d-d5c2a0f75565",
                                "name": "second_sub_radio_answer",
                                "classifications": []
                              }
                            }
                          ]
                        }
                      }
                    ],
                    "page_number": 1,
                    "bounding_box": {
                      "top": 226.757,
                      "left": 317.271,
                      "height": 194.22899999999998,
                      "width": 249.38600000000002
                    }
                  }
                ],
                "classifications": [
                  {
                    "feature_id": "13574184-f3fb-40c5-b95f-a3329ae8e3eb",
                    "name": "free_text",
                    "text_answer": {
                      "content": "sample text"
                    }
                  },
                  {
                    "feature_id": "1648ff44-146b-40bd-aade-c12a731fb2a6",
                    "name": "nested_radio_question",
                    "radio_answer": {
                      "feature_id": "a40f01fc-748f-4ffe-87e8-5457217833a9",
                      "name": "first_radio_answer",
                      "classifications": [
                        {
                          "feature_id": "97433cc1-033a-4160-8c75-41248f66dc08",
                          "name": "sub_radio_question",
                          "radio_answer": {
                            "feature_id": "f52bacca-2d5a-4f9c-9062-4b0a69231817",
                            "name": "first_sub_radio_answer",
                            "classifications": []
                          }
                        }
                      ]
                    }
                  },
                  {
                    "feature_id": "4c7f290f-2624-4112-8306-466808fd2cc6",
                    "name": "radio_question",
                    "radio_answer": {
                      "feature_id": "41ccd8f6-9918-4e9d-bdf3-40cdfcf346d8",
                      "name": "first_radio_answer",
                      "classifications": []
                    }
                  },
                  {
                    "feature_id": "9a93d142-4e87-4bf8-a6c6-9a512e7147fe",
                    "name": "nested_checklist_question",
                    "checklist_answers": [
                      {
                        "feature_id": "19fe4356-d0b2-4a4a-9cbc-6a7526727413",
                        "name": "first_checklist_answer",
                        "classifications": [
                          {
                            "feature_id": "de8dbb03-f7d1-44c6-b14a-010699200f79",
                            "name": "sub_checklist_question",
                            "checklist_answers": [
                              {
                                "feature_id": "3e2169fa-5ab7-44b8-97c2-8ac2d4e8d71c",
                                "name": "first_sub_checklist_answer",
                                "classifications": []
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "feature_id": "b2afd721-0e8a-43af-8428-191a5d15522c",
                    "name": "checklist_question",
                    "checklist_answers": [
                      {
                        "feature_id": "2afb58da-a12b-4968-a4c6-c126ad32ff37",
                        "name": "first_checklist_answer",
                        "classifications": []
                      },
                      {
                        "feature_id": "4edcd0fe-df6b-466b-8fdc-e346aed67a8e",
                        "name": "second_checklist_answer",
                        "classifications": []
                      }
                    ]
                  }
                ],
                "relationships": []
              }
            }
          ],
          "predictions": [
            {
              "label_kind": "Default",
              "version": "1.0.0",
              "id": "clgz775vl0vw4142suvseyfb8",
              "annotations": {
                "objects": [
                  {
                    "feature_id": "01ffb3bb-423e-4782-9cc7-296b8673917b",
                    "name": "named_entity",
                    "annotation_kind": "DocumentEntityToken",
                    "classifications": [],
                    "location": {
                      "groups": [
                        {
                          "id": "2f4336f4-a07e-4e0a-a9e1-5629b03b719b",
                          "page_number": 1,
                          "tokens": [
                            "3f984bf3-1d61-44f5-b59a-9658a2e3440f",
                            "3bf00b56-ff12-4e52-8cc1-08dbddb3c3b8",
                            "6e1c3420-d4b7-4c5a-8fd6-ead43bf73d80",
                            "87a43d32-af76-4a1d-b262-5c5f4d5ace3a",
                            "e8606e8a-dfd9-4c49-a635-ad5c879c75d0",
                            "67c7c19e-4654-425d-bf17-2adb8cf02c30",
                            "149c5e80-3e07-49a7-ab2d-29ddfe6a38fa",
                            "b0e94071-2187-461e-8e76-96c58738a52c"
                          ],
                          "text": "Metal-insulator (MI) transitions have been one of the"
                        }
                      ]
                    }
                  },
                  {
                    "feature_id": "36c8d0da-4be7-46b9-b6f6-3f66c6122af9",
                    "name": "bbox_with_radio_subclass",
                    "annotation_kind": "DocumentBoundingBox",
                    "classifications": [
                      {
                        "feature_id": "47ea0957-cb8b-45be-895a-10e64e0fbac7",
                        "name": "sub_radio_question",
                        "radio_answer": {
                          "feature_id": "266a40b2-7214-42b9-a8f6-d10f728bbde6",
                          "name": "first_sub_radio_answer",
                          "classifications": [
                            {
                              "feature_id": "ad10d2ec-173d-4348-81f5-1f4b2a64615d",
                              "name": "second_sub_radio_question",
                              "radio_answer": {
                                "feature_id": "97282662-90ab-49b6-a620-50dda5a2e3d0",
                                "name": "second_sub_radio_answer",
                                "classifications": []
                              }
                            }
                          ]
                        }
                      }
                    ],
                    "page_number": 1,
                    "bounding_box": {
                      "top": 226.757,
                      "left": 317.271,
                      "height": 194.22899999999998,
                      "width": 249.38600000000002
                    }
                  },
                  {
                    "feature_id": "a5b3bbd3-58b3-4225-96f9-6cf6a9dfe4b7",
                    "name": "ner_with_checklist_subclass",
                    "annotation_kind": "DocumentEntityToken",
                    "classifications": [
                      {
                        "feature_id": "dc7c7e43-f88e-40c9-b41c-dd8a26ae9ee6",
                        "name": "sub_checklist_question",
                        "checklist_answers": [
                          {
                            "feature_id": "1550c52a-5f17-4165-9969-9e54568ce836",
                            "name": "first_sub_checklist_answer",
                            "classifications": []
                          }
                        ]
                      }
                    ],
                    "location": {
                      "groups": [
                        {
                          "id": "80e1e326-0194-4f38-845c-d9d22b0054fb",
                          "page_number": 1,
                          "tokens": [
                            "c2639311-4db1-4ad5-9a8d-1f2ab2c2dae8",
                            "2aa2f9df-df5a-4b3a-aa57-05aff053c147",
                            "aa725467-7b86-4629-9c70-a6391decb39b",
                            "6a4a0a69-f04e-44c0-b343-096aef413444",
                            "8dcce11c-c2ae-4274-b634-c950c8a7f333",
                            "85fccf77-474b-4707-85cc-592871d5c680",
                            "5d16be99-fc40-4228-99db-0a121a0478e7"
                          ],
                          "text": "T. Sasaki,* N. Yoneyama, and N. Kobayashi"
                        }
                      ]
                    }
                  },
                  {
                    "feature_id": "d75df3d1-95b3-46ea-a1b4-c13ce176fbcd",
                    "name": "bounding_box",
                    "annotation_kind": "DocumentBoundingBox",
                    "classifications": [],
                    "page_number": 0,
                    "bounding_box": {
                      "top": 135.3,
                      "left": 102.771,
                      "height": 109.84299999999999,
                      "width": 415.8
                    }
                  }
                ],
                "classifications": [
                  {
                    "feature_id": "2ab3e33a-a7a0-4caa-9d68-e1fad0422348",
                    "name": "nested_radio_question",
                    "radio_answer": {
                      "feature_id": "4fe03ca1-f482-4d64-9ab8-45906de419b5",
                      "name": "first_radio_answer",
                      "classifications": [
                        {
                          "feature_id": "7d0f1ec1-8802-4115-8dbe-435faf7efe23",
                          "name": "sub_radio_question",
                          "radio_answer": {
                            "feature_id": "5b10f54e-2f2b-4d9d-8393-b16e021e4862",
                            "name": "first_sub_radio_answer",
                            "classifications": []
                          }
                        }
                      ]
                    }
                  },
                  {
                    "feature_id": "3d94102a-a706-4638-8936-f7d0720be471",
                    "name": "free_text",
                    "text_answer": {
                      "content": "sample text"
                    }
                  },
                  {
                    "feature_id": "4bb7be70-e3fa-49a0-afe9-b80a8712a7af",
                    "name": "nested_checklist_question",
                    "checklist_answers": [
                      {
                        "feature_id": "89356c34-cb97-4239-acf4-d85c51dd85f2",
                        "name": "first_checklist_answer",
                        "classifications": [
                          {
                            "feature_id": "0ea6da1f-3521-4f99-b7e0-f1ee15acd193",
                            "name": "sub_checklist_question",
                            "checklist_answers": [
                              {
                                "feature_id": "25e3187c-1e0b-49d6-8bbe-56d23f7829aa",
                                "name": "first_sub_checklist_answer",
                                "classifications": []
                              }
                            ]
                          }
                        ]
                      }
                    ]
                  },
                  {
                    "feature_id": "8a363f9f-8c41-4df0-b04b-79d8afb00534",
                    "name": "radio_question",
                    "radio_answer": {
                      "feature_id": "162f019b-631e-4954-b0a2-67622068904e",
                      "name": "first_radio_answer",
                      "classifications": []
                    }
                  },
                  {
                    "feature_id": "ae1382bf-6360-45d9-a9a8-d7f8dd4776d3",
                    "name": "checklist_question",
                    "checklist_answers": [
                      {
                        "feature_id": "12b1481d-5676-49b8-af6e-26b8da195e94",
                        "name": "second_checklist_answer",
                        "classifications": []
                      },
                      {
                        "feature_id": "5d2a61db-28ca-43df-9302-491631d5131a",
                        "name": "first_checklist_answer",
                        "classifications": []
                      }
                    ]
                  }
                ],
                "relationships": []
              }
            }
          ]
        }
      }
    }
  }
}