A Classification-type annotation that allows the labeler to type the response to the question.

Free-form classifications can be applied at the global level and can be nested within an object-type annotation.

📘

Note

Free-form text classifications on video data is not supported.

Import

When you import Free-form text classifications via the Model-assisted labeling workflow, your JSON file must contain the following information for each Free-form text classification.

Parameter

Asset type

Required

Description

uuid

Image
Text
Tiled imagery

Yes

A user-generated UUID for each annotation. If you import an annotation to a Data Row and there is already an imported annotation with the same uuid on that Data Row, the latest import will override the previous one. The uuid must be 128 bits (32 characters). The following formats are supported:

  • A0EEBC99-9C0B-4EF8-BB6D-6BB9BD380A11

  • {a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11}

  • a0eebc999c0b4ef8bb6d6bb9bd380a11

  • a0ee-bc99-9c0b-4ef8-bb6d-6bb9-bd38-0a11

  • {a0eebc99-9c0b4ef8-bb6d6bb9-bd380a11}

schemaId

Image
Text
Tiled imagery

Yes

The ID of the schema that contains all of the information needed for rendering your annotation.

dataRow.id

Image
Text
Tiled imagery

Yes

The ID of the Data Row where you want to attach the imported annotations.

answer

Image
Text
Tiled imagery

Yes

Correct answer for the free-form text classification.

{
    "uuid": "4f1fe322-7b80-49a1-81cb-5914404df378",
    "dataRow": {
        "id": "ckd1299m8cqck0cq42lsz5khc"
    },
    "schemaId": "ckd1295hg006c0z0u6x41hx0d",
    "answer": "<correct_text_answer>"
}
{
    "uuid": "4f1fe322-7b80-49a1-81cb-5914404df378",
    "dataRow": {
        "id": "ckd1299m8cqck0cq42lsz5khc"
    },
    "schemaId": "ckd1295hg006c0z0u6x41hx0d",
    "answer": "<correct_text_answer>"
}
{
    "uuid": "4f1fe322-7b80-49a1-81cb-5914404df378",
    "dataRow": {
        "id": "ckd1299m8cqck0cq42lsz5khc"
    },
    "schemaId": "ckd1295hg006c0z0u6x41hx0d",
    "answer": "<correct_text_answer>"
}

Export

When you export your Free-form text classifications from Labelbox, the export file will contain the following information for each Free-form text classification.

Parameter

Asset type

Description

featureId

Image
Text
Tiled imagery

ID of the classification question in the ontology.

schemaId

Image
Text
Tiled imagery

ID of the schema that contains all of the structural information for the classification question.

title

Image
Text
Tiled imagery

Text that appears as the classification question.

value

Image
Text
Tiled imagery

Name of the classification question in the Labelbox database.

answer

Image
Text
Tiled imagery

Correct answer for the free-form text classification.

{
    "featureId": "ckmuzkkhw000a3g68xegct9wz",
    "schemaId": "ckmuzjtfa64bq0y839bn8ci4l",
    "title": "Free-form text",
    "value": "free-form_text",
    "answer": "Correct text answer"
}
{
    "featureId": "cknp3dugp00073g68fkudn092",
    "schemaId": "cknp3ctsu06nu0yctf0v5gzij",
    "title": "Free-form text",
    "value": "free-form_text",
    "answer": "Correct text answer"
}
{
    "featureId": "cknp3dugp00073g68fkudn092",
    "schemaId": "cknp3ctsu06nu0yctf0v5gzij",
    "title": "Free-form text",
    "value": "free-form_text",
    "answer": "Correct text answer"
}