Equipment
- class Equipment
 Bases:
CommonBaseModelRepresents miscellaneous equipment onboard an aircraft required for it’s operational use.
- name
 The name of the equipment, acting as a unique identifier.
- Type:
 Optional[str]
- description
 A brief description of the equipments’s purpose and functionality.
- Type:
 Optional[str]
- geometry
 Geometric information of the equipment, if applicable.
- Type:
 Optional[Dict[str, Any]]
- parameters
 Operational or physical parameters associated with the equipment.
- Type:
 Optional[Dict[str, Any]]
- metadata
 Additional metadata providing context or details about the equipment.
- Type:
 Optional[Metadata]
- subequipment
 A list of sub-components, if any, within this equipment.
- Type:
 Optional[List[Equipment]]
- requirements
 Specific requirements associated with this equipment.
- Type:
 Optional[List[Requirement]]
- performance
 List of disciplines analyzing the equipment.
- Type:
 Optional[List[Discipline]]
- behavior
 Specific behaviors for the equipment.
- Type:
 Optional[List[Behavior]]
- Raises:
 ValueError – If any string field is empty, ensuring all equipment has meaningful identifiers and descriptions.
Attributes Summary
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Summary
validate_non_empty_string(value)Validates that the name and description fields are not empty or whitespace only.
Attributes Documentation
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'allow', 'from_attributes': True, 'protected_namespaces': (), 'validate_assignment': True}
 Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Documentation
- classmethod validate_non_empty_string(value)
 Validates that the name and description fields are not empty or whitespace only.
- Parameters:
 value (Optional[str]) – The value to validate.
- Returns:
 The validated string value.
- Return type:
 Optional[str]
- Raises:
 ValueError – If the input value is empty or consists only of whitespace.
Methods:
validate_non_empty_string(value)Validates that the name and description fields are not empty or whitespace only.
Attributes:
__setattr__ handlers.
- classmethod validate_non_empty_string(value)
 Validates that the name and description fields are not empty or whitespace only.
- Parameters:
 value (Optional[str]) – The value to validate.
- Returns:
 The validated string value.
- Return type:
 Optional[str]
- Raises:
 ValueError – If the input value is empty or consists only of whitespace.
- class Config
 Bases:
objectPydantic model configuration.
- __pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}
 __setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__