public record ComplianceFinding
One result of a compliance pre-check.
Constructors
| Signature | Description |
# ComplianceFinding() | |
Properties
| Property | Type | Description |
Advisory { get; init; } | bool | True for recommendations and unverified values (see ComplianceRuleInfo.Advisory). |
Bounds { get; init; } | ComplianceRect? | Area on the rendered label in dots (null for label-wide findings). |
Column { get; init; } | int | 1-based source column (0 when not applicable). |
Command { get; init; } | string | ZPL command the finding refers to, e.g. "^BC" (empty for label-wide findings). |
LabelIndex { get; init; } | int | 0-based index of the rendered label (in print order) the finding belongs to; -1 for the whole input. |
Length { get; init; } | int | Length of the field's source block (up to and including ^FS); 0 when not applicable. |
Line { get; init; } | int | 1-based source line (0 when not applicable). |
required Message { get; init; } | string | Human-readable message (may change between versions; ComplianceFinding.RuleId is stable). |
Offset { get; init; } | int | Character offset of the field (its first command, usually ^FO) in the ZPL source; -1 when not applicable. |
required PackId { get; init; } | string | Id of the pack that ran the rule, e.g. "gs1-logistic". |
required RuleId { get; init; } | string | Stable rule code, e.g. "ZPL3104". |
required Severity { get; init; } | ComplianceSeverity | |
Source { get; init; } | string | Citation of the requirement. |
Suggestion { get; init; } | string | How to fix it (optional). |