Skip to main content

OntologyObject Objects

@dataclass
class OntologyObject()
DEPRECATED: prefer using :class:encord.ontology.Ontology A dataclass which holds an object for of the :class:encord.project_ontology.Ontology.

id

A unique (to the ontology) identifier of the classification.

color

The color which is displayed in the web-app.

name

The name of the object.

shape

The shape of the object. E.g., polygon, polyline, and bounding_box.

feature_node_hash

An 8-character hex string uniquely defining the option.