Classification System
- class lccs.classification_system.ClassificationSystem(data: dict, validate: bool = False)
Representation of a Classification System.
- __init__(data: dict, validate: bool = False) None
Initialize a classification system with metadata.
- Parameters:
data – Dictionary containing classification system metadata.
validate – Whether to validate the data using jsonschema. Default is False.
- property id: int
Return the ID of the classification system.
- property identifier: str
Return the identifier of the classification system.
- property name: str
Return the name of the classification system.
- property title: str
Return the title of the classification system.
- property description: str | None
Return the description of the classification system.
- property version: str
Return the version of the classification system.
- property authority_name: str | None
Return the authority name of the classification system.
- classes(class_name_or_id: str | None = None, style_format_name_or_id: str | None = None) ClassesGroup | ClassificationSystemClass
Return the classes of the classification system.
- Parameters:
class_name_or_id – Name or ID of a specific class. Default is None.
style_format_name_or_id – Style format ID for filtering classes. Default is None.
- Returns:
A group of classes or a specific classification system class.