← Knowledge Base

GS1 Sunrise 2027 & Digital Link 1.2 Engineering Guide

How to replace legacy 1D UPC/EAN-13 stripes with a single 2D QR code that scans offline at bioptic retail POS lanes (<10ms) and opens live product passports on consumer smartphones (<30ms).

1. Canonical GS1 Digital Link 1.2 URI Syntax

Unlike opaque marketing short-links (e.g., vendor.co/x7k) that strip the product identity, a GS1 Digital Link 1.2 URI embeds standard GS1 Application Identifiers directly in the path and query string:

https://qr.yourbrand.com/01/04006381333931/10/LOT27A?17=271231

AI 01: 14-digit normalized GTIN (zero-padded from GTIN-8/12/13) validated with modulo-10 check digit · AI 10: Batch/Lot code · AI 17: Expiry date in YYMMDD format · AI 21: Optional item serial number.

2. Dual-Scan Behavior: Offline POS vs. Smartphone

When a supermarket cashier scans the 2D code, the bioptic optical scanner parses /01/{gtin14} and 17=YYMMDD locally in under 10ms with zero internet requirement. When a shopper scans the exact same code with their phone camera, Cloudflare Edge resolves the route in <30ms to either an HTTP 302 destination or a zero-JS Edge SKU Passport.

3. Bioptic Retail POS Optical X-Dimension Thresholds

Every QR module width (X-dimension) is computed as sizeMm / (matrixModules + quietZone * 2). DielineGrid enforces GS1 retail checkout guardrails automatically:

  • ≥ 0.396 mm (IDEAL): Full high-speed supermarket bioptic scanner compliance.
  • 0.254 mm – 0.395 mm (PASS FLOOR): Acceptable for compact cosmetics/pharma labels and smartphone scanning.
  • < 0.254 mm (FAIL): Blocked in pre-flight — shorten the URI or increase physical print size before making plates.

4. Machine Discovery via RFC 9264 application/linkset+json

Supply chain systems and retail apps querying ?linkType=all or sending Accept: application/linkset+json receive a standards-compliant JSON linkset listing allergen sheets (gs1:allergenInfo), product information (gs1:pip), and sustainability passports (gs1:sustainabilityInfo).

Validate a GTIN in Free Studio → Automate via /api/v1/routes/batch