zplCore.comzplCore.com

ComplianceFinding

public record ComplianceFinding

One result of a compliance pre-check.

Constructors

SignatureDescription
# ComplianceFinding()

Properties

PropertyTypeDescription
Advisory { get; init; }boolTrue 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; }int1-based source column (0 when not applicable).
Command { get; init; }stringZPL command the finding refers to, e.g. "^BC" (empty for label-wide findings).
LabelIndex { get; init; }int0-based index of the rendered label (in print order) the finding belongs to; -1 for the whole input.
Length { get; init; }intLength of the field's source block (up to and including ^FS); 0 when not applicable.
Line { get; init; }int1-based source line (0 when not applicable).
required Message { get; init; }stringHuman-readable message (may change between versions; ComplianceFinding.RuleId is stable).
Offset { get; init; }intCharacter offset of the field (its first command, usually ^FO) in the ZPL source; -1 when not applicable.
required PackId { get; init; }stringId of the pack that ran the rule, e.g. "gs1-logistic".
required RuleId { get; init; }stringStable rule code, e.g. "ZPL3104".
required Severity { get; init; }ComplianceSeverity
Source { get; init; }stringCitation of the requirement.
Suggestion { get; init; }stringHow to fix it (optional).