Classification Objects
uidint - The unique identifier for the classification.feature_node_hashstr - A unique hash identifying the feature node.attributesList[Attribute] - A list of attributes associated with this classification.
title
str- The title of the classification.
children
Sequence[OntologyElement]- The attributes of the classification.
is_global
bool- True if the classification level is global, False otherwise.
create_instance
ClassificationInstance- An instance of ClassificationInstance.
from_dict
ddict - A dictionary containing classification information.
Classification- An instance of Classification.
to_dict
ValueError- If the classification does not have any attributes.
add_attribute
clsType[AttributeType] - The attribute type, one ofRadioAttribute,ChecklistAttribute,TextAttribute.namestr - The user-visible name of the attribute.local_uidOptional[int] - Integer identifier of the attribute. Normally auto-generated; omit this unless the aim is to create an exact clone of an existing ontology.feature_node_hashOptional[str] - Global identifier of the attribute. Normally auto-generated; omit this unless the aim is to create an exact clone of an existing ontology.requiredbool - Whether the label editor would mark this attribute as ‘required’.
AttributeType- The created attribute that can be further specified with Options, where appropriate.
ValueError- If the classification already has an attribute assigned.

