ValidationResult

class compas_ifc.validation.ValidationResult(element_name, element_type, specification, status, missing_psets=<factory>, property_errors=<factory>)

Bases: object

Validation outcome for a single element against a single specification.

Parameters:
element_namestr

Name of the validated element.

element_typestr

IFC class of the element.

specificationstr

Name of the specification that was checked.

statusstr

"pass" or "fail".

missing_psetslist[str]

Property sets required by the spec but absent from the element.

property_errorslist[dict]

Pydantic validation errors per property (pset, property, error).

Methods

__init__