An Object-type annotation that enables you to connect two separate annotations and name the connection.

A Relationship is an Object-type annotation that allows you to connect two separate annotations.

Export

When you export your annotation Relationships from Labelbox, the export file will contain the following information for each Relationship.

Parameter

Asset type

Description

featureId

Text

ID of the annotation relationship in the ontology.

schemaId

Text

Schema ID of the annotation relationship in the ontology.

title

Text

Text that appears as the relationship name.

value

Text

Name of the relationship in the Labelbox database.

data.label

Text

Definition of the relationship. If there is no definition, this field will be blank.

data.endFeatureId

Text

Definition of the relationship. If there is no definition, this field will be blank.

data.startFeatureId

Text

ID that indicates where the relationship starts.

format

Text

Value should be unidirectional. Indicates that the arrow on the relationship is pointing in one direction.

version

Text

Value is 1, which means this export is using the latest Labelbox export format.

instanceURI

Text

URL where you can access the annotation relationship stored in the Labelbox database.

{
    "featureId": "ckrw9q04c00223h68n2e85nu2",
    "schemaId": "ckrdp1ln400003h6jq23cbjfl",
    "title": "Edge",
    "value": "Edge",
    "data": {
        "label": "hello",
        "endFeatureId": "ckrw9puj700023h68tgxulxde",
        "startFeatureId": "ckrw9pwrj00053h6861m60dor"
    },
    "format": "unidirectional",
    "version": 1,
    "instanceURI": "https://app.labelbox.com/masks/feature/ckrw9q04c00223h68n2e85nu2?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VySWQiOiJja2w5cTV5cWVpcnJ1MDc5MzRkdmJqZWV6Iiwib3JnYW5pemF0aW9uSWQiOiJja2w5cTV5cGlqNXNmMDg3NmtmMjA1ZGthIiwiaWF0IjoxNjI4MDIyODkxLCJleHAiOjE2MzA2MTQ4OTF9.6aWoZYxcRl002LLmjaHlvHpOsxJAhI_WXZHk_KdAYtQ"
}