> ## Documentation Index
> Fetch the complete documentation index at: https://docs.encord.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Project ontology.ontology object

## OntologyObject Objects

```python theme={"dark"}
@dataclass
class OntologyObject()
```

This class is DEPRECATED. We recommend using [Ontology](/sdk-documentation/sdk-references/ontology#ontology)

A dataclass which holds an object for of the [Ontology](/sdk-documentation/sdk-references/project_ontology.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.
