Class ValidationResult
- Namespace
- SpecWorks.AiCatalog.Validation
- Assembly
- SpecWorks.AiCatalog.dll
The result of validating an AI Catalog document.
public sealed class ValidationResult
- Inheritance
-
objectValidationResult
Properties
ConformanceLevel
The highest conformance level the catalog satisfies.
public ConformanceLevel ConformanceLevel { get; init; }
Property Value
Errors
Validation errors.
public IReadOnlyList<ValidationDiagnostic> Errors { get; init; }
Property Value
- IReadOnlyList<ValidationDiagnostic>
IsValid
Whether the catalog is valid (has no errors at the evaluated level).
public bool IsValid { get; }
Property Value
- bool
Warnings
Validation warnings.
public IReadOnlyList<ValidationDiagnostic> Warnings { get; init; }
Property Value
- IReadOnlyList<ValidationDiagnostic>