buffalo_wings.airfoil.AirfoilDocumentValidationResult
- class buffalo_wings.airfoil.AirfoilDocumentValidationResult(is_valid, diagnostics, validated_spec=None)[source]
Bases:
objectStructured validation result for one airfoil document schema.
Attributes
Whether validation completed without any error diagnostics.
Structured diagnostics emitted by the document validation workflow.
Defensive copy of the validated document when validation succeeds.
- is_valid: bool
Whether validation completed without any error diagnostics.
- diagnostics: DiagnosticReport
Structured diagnostics emitted by the document validation workflow.
- validated_spec: AirfoilDocumentSpec | None
Defensive copy of the validated document when validation succeeds.
This field remains
Nonewhenever validation reports any error.