{
  "description": "Synthetic local test fixtures only. These do not prove a live CRM write. Replace example tenant ids only in your own test environment.",
  "events": {
    "lead": {
      "id": "5b1c9e3a-2f0d-4b7a-9c8e-1a2b3c4d5e6f",
      "call_id": "call_2f7a1c9e8b3d",
      "source": "Pongg (phone)",
      "provider": "",
      "occurred_at": "2026-09-21T15:04:05+00:00",
      "contact": {
        "full_name": "Jane Sample",
        "first_name": "Jane",
        "last_name": "Sample",
        "phone": "+15555550123",
        "email": "jane@example.com",
        "address": "12 Oak Street"
      },
      "job_type": "Estimate",
      "summary": "Wants a quote for a new roof",
      "urgency": "This week",
      "booked": false,
      "appointment": null,
      "event": "lead"
    },
    "booking": {
      "id": "b7e2a1d4-6c3f-4a9b-8e2d-5f1c9a3b7e4d",
      "call_id": "call_9a3f7c1e2b8d",
      "source": "Pongg (phone)",
      "provider": "",
      "occurred_at": "2026-09-21T15:04:05+00:00",
      "contact": {
        "full_name": "Jane Sample",
        "first_name": "Jane",
        "last_name": "Sample",
        "phone": "+15555550123",
        "email": "jane@example.com",
        "address": "12 Oak Street"
      },
      "job_type": "Roof inspection",
      "summary": "Booked an inspection for the leak over the garage",
      "appointment": {
        "timezone": "America/Chicago",
        "start": "2026-09-23T14:00:00+00:00",
        "end": null,
        "slot_text": "Wednesday 9am",
        "job_type": "Roof inspection",
        "address": "12 Oak Street",
        "status": "scheduled"
      },
      "event": "booking"
    }
  },
  "bridge": {
    "capabilities": {
      "path": "/capabilities",
      "request": {
        "tenant_id": "tenant-example-001",
        "contract_version": "pongg.crm.v1"
      },
      "response": {
        "contract_version": "pongg.crm.v1",
        "operations": [
          "contacts.search",
          "contacts.upsert",
          "leads.create",
          "availability.list",
          "appointments.create"
        ],
        "booking_closes_availability": true
      }
    },
    "contacts_search": {
      "path": "/contacts/search",
      "request": {
        "tenant_id": "tenant-example-001",
        "contract_version": "pongg.crm.v1",
        "phone": "+12145550148",
        "email": "jordan@example.com"
      },
      "response": {
        "contact": {
          "id": "contact-example-001"
        }
      }
    },
    "contacts_upsert": {
      "path": "/contacts/upsert",
      "request": {
        "tenant_id": "tenant-example-001",
        "contract_version": "pongg.crm.v1",
        "contact": {
          "full_name": "Jordan Example",
          "first_name": "Jordan",
          "last_name": "Example",
          "phones": [
            "+12145550148"
          ],
          "emails": [
            "jordan@example.com"
          ],
          "address": "100 Example St, Dallas TX 75201",
          "source": "Pongg (phone)",
          "tags": [
            "Pongg"
          ],
          "call_id": "example-call-001",
          "postal_code": "75201"
        },
        "idempotency_key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
      },
      "response": {
        "id": "contact-example-001",
        "is_new": false
      }
    },
    "availability_list": {
      "path": "/availability",
      "request": {
        "tenant_id": "tenant-example-001",
        "contract_version": "pongg.crm.v1",
        "window": {
          "start": "2026-10-20T00:00:00+00:00",
          "end": "2026-10-21T00:00:00+00:00",
          "timezone": "America/Chicago",
          "windows": [
            [
              1,
              420,
              1080
            ]
          ],
          "slot_minutes": 60,
          "job_type": "Roof repair"
        }
      },
      "response": {
        "slots": [
          {
            "start": "2026-10-20T15:00:00+00:00",
            "end": "2026-10-20T16:00:00+00:00",
            "timezone": "America/Chicago"
          }
        ]
      }
    },
    "appointments_create": {
      "path": "/appointments",
      "request": {
        "tenant_id": "tenant-example-001",
        "contract_version": "pongg.crm.v1",
        "appointment": {
          "contact_external_id": "contact-example-001",
          "timezone": "America/Chicago",
          "start": "2026-10-20T15:00:00+00:00",
          "end": "2026-10-20T16:00:00+00:00",
          "slot_text": "Tuesday at 10 AM Central",
          "job_type": "Roof repair",
          "address": "100 Example St, Dallas TX 75201",
          "notes": "Synthetic example: inspect a small roof leak.",
          "title": "Roof repair visit",
          "source": "Pongg (phone)",
          "location": {
            "id": "dallas",
            "name": "Dallas office"
          },
          "service_id": "repair-inspection"
        },
        "idempotency_key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
      },
      "response": {
        "id": "appointment-example-001",
        "confirmed": true,
        "start": "2026-10-20T15:00:00+00:00",
        "end": "2026-10-20T16:00:00+00:00",
        "timezone": "America/Chicago"
      }
    },
    "leads_create": {
      "path": "/leads",
      "request": {
        "tenant_id": "tenant-example-001",
        "contract_version": "pongg.crm.v1",
        "lead": {
          "contact": {
            "full_name": "Jordan Example",
            "first_name": "Jordan",
            "last_name": "Example",
            "phones": [
              "+12145550148"
            ],
            "emails": [
              "jordan@example.com"
            ],
            "address": "100 Example St, Dallas TX 75201",
            "source": "Pongg (phone)",
            "tags": [
              "Pongg"
            ],
            "call_id": "example-call-001",
            "postal_code": "75201"
          },
          "job_type": "Roof repair",
          "summary": "Caller requested an inspection.",
          "notes": "Synthetic example only.",
          "urgency": "routine",
          "source": "Pongg (phone)",
          "call_id": "example-call-001",
          "location": {
            "id": "dallas",
            "name": "Dallas office"
          }
        },
        "idempotency_key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
      },
      "response": {
        "id": "lead-example-001"
      }
    }
  }
}
