Table of Contents

Class ValidationResult

Namespace
SpecWorks.AiCatalog.Validation
Assembly
SpecWorks.AiCatalog.dll

The result of validating an AI Catalog document.

public sealed class ValidationResult
Inheritance
object
ValidationResult

Properties

ConformanceLevel

The highest conformance level the catalog satisfies.

public ConformanceLevel ConformanceLevel { get; init; }

Property Value

ConformanceLevel

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>