ValidationResponse¶
Namespace Pain001.Sdk.
The answer to POST /api/v1/ui/validate.
Positional properties¶
| Property | Description |
|---|---|
IsValid |
Whether every row is valid. |
TotalRows |
How many rows the file holds. |
ValidRows |
How many rows passed. |
InvalidRows |
How many rows failed. |
Errors |
The row-level errors, if any. |
SchemeViolations |
Scheme-rulebook violations, when a scheme was given; their shape depends on the rulebook. |
Methods¶
ValidationResponse(Boolean, Int32, Int32, Int32, IReadOnlyList<RowError>, IReadOnlyList<JsonElement>)¶
The answer to POST /api/v1/ui/validate.
| Parameter | Description |
|---|---|
IsValid |
Whether every row is valid. |
TotalRows |
How many rows the file holds. |
ValidRows |
How many rows passed. |
InvalidRows |
How many rows failed. |
Errors |
The row-level errors, if any. |
SchemeViolations |
Scheme-rulebook violations, when a scheme was given; their shape depends on the rulebook. |
Properties¶
Errors¶
The row-level errors, if any.
InvalidRows¶
How many rows failed.
IsValid¶
Whether every row is valid.
SchemeViolations¶
Scheme-rulebook violations, when a scheme was given; their shape depends on the rulebook.
TotalRows¶
How many rows the file holds.
ValidRows¶
How many rows passed.