Implementation Quality
Conformance Levels
LEX defines three tiered conformance levels. They are self-declared against published test vectors. There is no mandatory certification body, no fees, and no approval delays.
Open Conformance Model
Conformance levels are self-declared. Run the public test case library against your implementation and declare the level you pass. Any third-party may offer certification services, but no certification body is mandatory. An implementation is not blocked from the LEX ecosystem because it has not paid for certification.
Conformance Levels
Basic
Minimum for any production integration
| Requirement |
|---|
| Valid message envelope |
| Required field compliance |
| MessageID uniqueness |
| Timestamp validity |
| ACKNOWLEDGMENT response |
Standard
Required for DMS integration partners
All Level 1 requirements, plus:
| Requirement |
|---|
| Full lifecycle support |
| Status transition validation |
| Business rule validation |
| Lead Closure support |
| Bidirectional flow |
Full
Required for OEM and platform certification
All Level 2 requirements, plus:
| Requirement |
|---|
| Consent record compliance |
| Deduplication support |
| EV extensions |
| Lead intelligence passthrough |
| Retry and DLQ headers |
| Multi-format support |
| Subscription management |
| Organization context |
Test Case Library
Run your implementation against the canonical test vectors to determine your conformance level. All test cases are open and publicly available.
Valid Primary Lead
Input: well-formed LEAD with all required fields. Expected: valid: true, ACK with RECEIVED
Missing Required Field
Input: LEAD missing customer.firstName. Expected: REQUIRED_FIELD_MISSING
Invalid MessageType
Input: messageType: "INQUIRY". Expected: CRITICAL error on header
Duplicate MessageID
Two LEAD messages with identical ID ≤60s. Expected: 200 OK, no duplicate processing
Future Timestamp
Timestamp 5 minutes in the future. Expected: TIMESTAMP_IN_FUTURE
Invalid Email Format
email: "not-an-email". Expected: INVALID_EMAIL_FORMAT
Invalid Status Transition
Transition from DELIVERED → SHOPPING. Expected: INVALID_STATUS_TRANSITION
Consent Record Present
PII-bearing LEAD must carry valid consentRecord block
EV Spec Block
LEAD with EV product must produce and parse evSpecifications
Key Validation Rules
# Email — RFC 5322
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
# Phone — E.164
^\+?[1-9]\d{1,14}$
# Timestamp bounds
future: < +60s · past: < 24h
# Financing — loan term
loanTerm: 12–84 months · monthlyPayment > 0