Table of Contents

Class SpecValidateDiagnostic

Namespace
Honua.Sdk.Spec.Models
Assembly
Honua.Sdk.Spec.dll

Structured validation diagnostic.

public sealed record SpecValidateDiagnostic : IEquatable<SpecValidateDiagnostic>
Inheritance
SpecValidateDiagnostic
Implements
Inherited Members

Properties

Code

Stable diagnostic code.

public required string Code { get; init; }

Property Value

string

Message

Human-readable message.

public required string Message { get; init; }

Property Value

string

Path

JSON-pointer path into the canonical document.

public string? Path { get; init; }

Property Value

string

Severity

Diagnostic severity.

public required string Severity { get; init; }

Property Value

string

Span

Optional source span.

public SpecSourceSpan? Span { get; init; }

Property Value

SpecSourceSpan?