buffalo_wings.airfoil.AirfoilDocumentValidationResult

class buffalo_wings.airfoil.AirfoilDocumentValidationResult(is_valid, diagnostics, validated_spec=None)[source]

Bases: object

Structured validation result for one airfoil document schema.

Attributes

is_valid

Whether validation completed without any error diagnostics.

diagnostics

Structured diagnostics emitted by the document validation workflow.

validated_spec

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 None whenever validation reports any error.