public sealed class ComplianceRulePack
A versioned set of rules for one target (a standard, a carrier, a retailer). The built-in packs check public specifications as a pre-check: a clean result means no rule found a problem, not that a label is certified or will be accepted. Custom packs: new ComplianceRulePack("acme", "ACME labels", "2026-10", rules).
Constructors
| Signature | Description |
# ComplianceRulePack(string id, string name, string version, IEnumerable<ComplianceRule> rules, string? description = default) | |
Properties
| Property | Type | Description |
static AmazonFba { get; } | ComplianceRulePack | Amazon FBA unit (FNSKU), box and pallet labels. |
static BuiltIn { get; } | IReadOnlyList<ComplianceRulePack> | All built-in packs. |
Description { get; } | string | |
static DhlPaket { get; } | ComplianceRulePack | DHL Paket Germany basics (public Parcel DE Shipping API). |
static FedEx { get; } | ComplianceRulePack | FedEx basics (public Ship API documentation). |
static Gs1LogisticLabel { get; } | ComplianceRulePack | GS1 logistic label: SSCC in GS1-128, symbol specification table 5, HRI and label layout. |
Id { get; } | string | Short id used on the command line, e.g. "gs1-logistic". |
Name { get; } | string | |
static Rfid { get; } | ComplianceRulePack | RFID: EPC per GS1 TDS 2.3, EPC consistent with the printed barcodes, ZPL RFID command usage. |
Rules { get; } | IReadOnlyList<ComplianceRule> | |
static Sunrise2027 { get; } | ComplianceRulePack | Sunrise 2027: GTIN in GS1 DataMatrix or QR Code / Data Matrix with GS1 Digital Link URI next to EAN/UPC. |
static Udi { get; } | ComplianceRulePack | Medical device UDI with GS1 AIs (FDA 21 CFR 801/830, EU MDR Annex VI). |
static Ups { get; } | ComplianceRulePack | UPS: MaxiCode structured carrier message, 1Z tracking number, 4 × 6 / 4 × 8 in. |
Version { get; } | string | State of the sources the rules follow, e.g. "2026-10". |
Methods