Class ValidationProblemDetails
- Namespace
- JD.Domain.Validation
- Assembly
- JD.Domain.Validation.dll
Extended ProblemDetails with domain-specific validation error information.
public class ValidationProblemDetails : ProblemDetails
- Inheritance
-
ValidationProblemDetails
- Inherited Members
Fields
TypePrefix
Domain-specific error type URI prefix.
public const string TypePrefix = "https://jd.domain/validation-errors/"
Field Value
Properties
CorrelationId
Gets or sets the correlation ID for request tracking.
public string? CorrelationId { get; set; }
Property Value
DomainErrors
Gets or sets the collection of domain errors with full metadata.
public IReadOnlyList<DomainValidationError> DomainErrors { get; set; }
Property Value
Errors
Gets or sets the collection of validation errors grouped by target property. Compatible with ASP.NET Core's ModelState error format.
public IDictionary<string, string[]> Errors { get; set; }
Property Value
- IDictionary<string, string[]>
RuleSetsEvaluated
Gets or sets the rule sets that were evaluated.
public IReadOnlyList<string> RuleSetsEvaluated { get; set; }