First Module · Active Development

CLEAR
Legal Referral Exchange

CLEAR defines a structured, trackable, interoperable exchange model for legal referrals. It is the first OLE module and the primary implementation path in v0.1.

v0.1 Published · openlegalexchange.org
OLE v0.1 — Published CLEAR is the first published module of the Open Legal Exchange Protocol. The data model, status workflow, and API surface are open for implementation. Normative JSON Schemas and a conformance test suite are scoped to future versions. This is not legal advice.

Legal referrals are broken.

Attorney-to-attorney referrals are among the most common events in legal practice. They are also among the most unstructured. No standard format. No tracking. No consent record. No way to know if a referral was received, accepted, or closed.

"Roxana gets an HOA call she can't handle. She refers it to Maria. CLEAR makes that referral structured, trackable, and interoperable."

Minimum referral workflow

Five stages define the minimum viable referral lifecycle. Each stage has defined transition rules. Fork and termination paths are explicit.

  1. Initiated

    Originating attorney creates a Referral resource with matter summary, prospect consent, and fee arrangement. Status: initiated.

  2. Sent

    The referral is transmitted to the receiving attorney's OLE endpoint. A referral.sent webhook event is fired. Status: sent.

  3. Acknowledged

    Receiving attorney confirms receipt. A StatusUpdate resource is returned. Status: acknowledged.

  4. Accepted or Declined

    Receiving attorney accepts or declines the referral, with optional reason. If declined, the originating attorney may initiate a new referral to a different attorney.

  5. Closed

    Referral reaches a terminal state: engaged (client retained), no_action (client did not proceed), withdrawn, or expired.

14 defined statuses.

Every CLEAR referral carries an explicit status. Transitions are defined. Terminal states are marked.

StatusStageDescription
initiated1 — InitiationReferral created, not yet transmitted
sent2 — TransmissionTransmitted to receiving attorney
delivered2 — TransmissionDelivery confirmed at transport level
acknowledged3 — ReceiptReceiving attorney confirmed receipt
under_review3 — ReceiptReceiving attorney is evaluating
pending_conflict_check3 — ReceiptConflict check in progress (do not proceed)
accepted4 — DecisionReceiving attorney accepted
declined4 — DecisionReceiving attorney declined (terminal for this recipient)
pending_client_decision5 — CloseClient has not yet decided to engage
engaged5 — Close (terminal)Client retained receiving attorney
no_action5 — Close (terminal)Client did not proceed
withdrawnAny (terminal)Originating attorney withdrew the referral
expiredAny (terminal)Referral timed out without response
errorAnyProcessing error — see attached StatusUpdate

Minimum API surface

Tier 1 (Exchange) requires four REST endpoints and webhook support. Authentication: OAuth 2.0 bearer token. Format: JSON. Transport: HTTPS.

MethodPathDescription
POST /referrals Create and transmit a new referral
GET /referrals/{id} Retrieve a referral by ID
POST /referrals/{id}/status Submit a status update for a referral
GET /referrals List referrals (with filters)
POST /webhooks Register a webhook endpoint
GET /.well-known/ole-discovery.json OLE discovery document

Webhook Event Catalog

EventTrigger
referral.sentReferral transmitted to receiving attorney
referral.acknowledgedReceiving attorney confirmed receipt
referral.acceptedReceiving attorney accepted the referral
referral.declinedReceiving attorney declined the referral
referral.status_updatedAny status change not covered above
referral.closedReferral reached a terminal state

Start with a Packet.

Pre-Tier (Packet) is the simplest conformance level — read and write OLE JSON. Here is the minimum valid CLEAR referral document.

JSON — Minimum Referral (Pre-Tier: Packet)
{
  "resourceType": "Referral",
  "id": "ole_ref_2026_0522_001",
  "oleVersion": "0.1",
  "module": "clear",
  "createdAt": "2026-05-22T16:45:00-04:00",
  "status": "initiated",
  "participants": [
    { "role": "originating_attorney", "actorId": "ole_actor_roxana_tejeda" },
    { "role": "receiving_attorney",  "actorId": "ole_actor_maria_santos" }
  ],
  "matterSummary": {
    "practiceArea": "SALI:HOA-LAW",
    "jurisdiction": { "country": "US", "state": "FL" },
    "description": "HOA dispute — notice requirements under F.S. 718.112"
  },
  "consentRecord": "ole_consent_2026_0522_001",
  "feeArrangement": {
    "type": "referral_fee",
    "ruleReference": "FL Bar Rule 4-1.5",
    "percentage": 25
  },
  "visibility": { "scope": "participant_visible" }
}

CertusGate

CertusGate by CyVine LLC is the first reference implementation of OLE/CLEAR. The CLEAR Referral Tracker provides free lifetime accounts for verified attorneys.