Version 1.0 — Apache 2.0

The Open Standard for
Modern Lead Exchange

LEX is a modern, extensible EDI specification for exchanging sales leads across manufacturers, dealers, systems, and platforms — in any industry, any format, without vendor lock-in.

  • 5

    Message Types

  • 4

    EDI Formats

  • 9+

    Industries

  • 15

    Lead Status Values

  • 4

    Language Libraries

  • Apache 2.0

    License

A Standard Built to Last

Today’s lead exchange integrations are bespoke, fragile, and expensive to maintain. Where shared standards exist, they have been captured by dominant platform vendors — through proprietary variants, integration brokerage fees, and controlled governance. LEX is designed from the ground up with open governance, explicit anti-capture protections, and a simplicity budget that keeps the standard implementable.

LEX encodes the complete lead lifecycle — from a customer's first browsing session through order placement, delivery, and deal closure — in a single, consistent message format that works across every industry vertical.

No membership fees — implement LEX freely without payment or approval
No mandatory certification body — conformance levels are self-declared against public test vectors
Anti-capture governance — modeled on HTTP/2 RFC and OpenJS Charter protections
Simplicity budget — core structure understandable in two documents, optional blocks additive
LEX Message Structure
// Every LEX message follows this envelope
{
  "lex": {
    "version": "1.0.0",

    "header": {
      // messageId, messageType, timestamp
      // senderId, receiverId, correlationId
    },

    "payload": {
      // Content varies by messageType:
      // LEAD | ASSET | ACKNOWLEDGMENT
      // SUBSCRIPTION | LEAD_CLOSURE
    }
  }
}

Everything a Lead Exchange Needs

Designed for the full lifecycle — from first browse to closed deal — across any format and any industry.

Open Governance

Apache 2.0 licensed with anti-capture protections. No dues, no approvals, no vendor gatekeepers. Any entity can implement and contribute.

Four EDI Formats

JSON-EDI (recommended), XML-EDI, X12, and EDIFACT. All formats carry the same data model — choose the format your stack already speaks.

Full Lead Lifecycle

15 lead status values covering SHOPPING through ORDER, DELIVERED, and ARCHIVED — with bidirectional flow and non-linear progression support.

Any Industry

Ground transport, aviation, maritime, heavy equipment, real estate, technology, and general B2B procurement. One standard, every asset class.

Cross-Platform Libraries

Compiled from a single Haxe source: JavaScript/Node.js, Python 3, Java, and C# .NET libraries with identical APIs and consistent validation.

Compliance Built-In

GDPR, UK GDPR, CCPA, India DPDPA, China PIPL, Brazil LGPD, South Africa POPIA, Japan APPI, Singapore PDPA, Canada PIPEDA, South Korea PIPA-K, Saudi Arabia PDPL, Thailand PDPA, Switzerland nFADP, and US state privacy laws — geographic compliance built in. Consent records, data governance blocks, and deduplication fingerprints are core — not afterthoughts.

Same Data Model. Four Formats.

LEX is format-agnostic. Pick the wire format your infrastructure already supports — all four are first-class.

json-edi-lead.json Recommended
{
  "lex": {
    "version": "1.0.0",
    "header": {
      "messageId": "550e8400-e29b-41d4-a716-446655440000",
      "messageType": "LEAD",
      "timestamp": "2026-03-28T14:30:00Z",
      "senderId": "DEALER-001",
      "receiverId": "MANUFACTURER-ABC"
    },
    "payload": {
      "lead": {
        "leadId": "LEAD-2026-001234",
        "status": "EXPRESSED_INTEREST",
        "customer": {
          "firstName": "Jane",
          "lastName": "Smith",
          "email": "jane.smith@example.com",
          "phone": "+13125559876"
        }
      }
    }
  }
}

15 Status Values. Complete Coverage.

LEX tracks the full journey from initial discovery through closed deal. Status transitions are bidirectional — supporting real-world non-linear customer journeys.

CART

Shopping cart / wishlist

SHOPPING

Customer browsing / research

EXPLORING

Active interest, comparing options

TRADE_IN

Trade-in asset evaluation

EXPRESSED_INTEREST

Formal interest declaration

RESERVATION

Provisional booking / hold

APPOINTMENT_REQUEST

Scheduling showroom visit

IN_NEGOTIATION

Active deal discussion

ORDER

Final purchase commitment

DELIVERED

Asset handed to customer

ABANDONED

Customer disengaged

ARCHIVED

Historical / completed lead

Three Tiers. Self-Declared.

No mandatory certification body, no fees. Conformance levels are validated against public test vectors.

L1

Basic

Minimum for production

  • Valid message envelope
  • Required field compliance
  • MessageID uniqueness
  • ACKNOWLEDGMENT responses
  • Timestamp validity (±60s)
L2

Standard

Required for DMS integration

  • All Level 1 requirements
  • Full lifecycle support (15 statuses)
  • Business rule validation
  • Lead Closure support
  • Bidirectional flow
L3

Full

OEM & platform certification

  • All Level 2 requirements
  • Consent record compliance
  • Deduplication fingerprints
  • Multi-format support
  • Subscription management

Ready to Implement?

Start with the Getting Started guide or dive straight into the full specification. Reference libraries for JavaScript, Python, Java, and C# are ready to use.