{"openapi":"3.0.3","info":{"title":"The West End Wine Bar — MiddleVerse Business API","description":"The West End Wine Bar & Pub combines the 100 year heritage of our property with a focus on the current demographics of the region as well as today’s expectations and tastes in dining. Situated on more than an acre and surrounded on three sides by the Loudoun Valley Country Club golf course, The West End is located in the heart of Virginia wine country and its burgeoning craft beer breweries.\n\nMachine-readable API for The West End Wine Bar on MiddleVerse. Live profile: https://middleverse.ai/b/the-west-end-wine-bar-purcellville","version":"1.0.0","contact":{"name":"MiddleVerse","url":"https://middleverse.ai"}},"servers":[{"url":"https://middleverse.ai","description":"Production"}],"tags":[{"name":"The West End Wine Bar","description":"Wine Bar"}],"paths":{"/api/v1/b/the-west-end-wine-bar-purcellville":{"get":{"tags":["The West End Wine Bar"],"operationId":"getBusiness","summary":"Get The West End Wine Bar profile, products, services, and hours","responses":{"200":{"description":"Business profile with products, services, hours, and links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BusinessResponse"}}}},"404":{"description":"Business not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/b/the-west-end-wine-bar-purcellville/products":{"get":{"tags":["The West End Wine Bar"],"operationId":"getProducts","summary":"List products offered by The West End Wine Bar","responses":{"200":{"description":"Product list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsResponse"}}}},"404":{"description":"Business not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/b/the-west-end-wine-bar-purcellville/services":{"get":{"tags":["The West End Wine Bar"],"operationId":"getServices","summary":"List services offered by The West End Wine Bar","responses":{"200":{"description":"Service list","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServicesResponse"}}}},"404":{"description":"Business not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/b/the-west-end-wine-bar-purcellville/availability":{"get":{"tags":["The West End Wine Bar"],"operationId":"getAvailability","summary":"Get The West End Wine Bar business hours and booked slots","parameters":[{"name":"startDate","in":"query","required":false,"schema":{"type":"string","format":"date"},"description":"Range start (YYYY-MM-DD, default today)"},{"name":"endDate","in":"query","required":false,"schema":{"type":"string","format":"date"},"description":"Range end (YYYY-MM-DD, default +30 days)"}],"responses":{"200":{"description":"Business hours and already-booked slots","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AvailabilityResponse"}}}},"404":{"description":"Business not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","properties":{"success":{"type":"boolean"},"error":{"type":"string"}}},"Business":{"type":"object","properties":{"slug":{"type":"string"},"name":{"type":"string"},"canonicalUrl":{"type":"string","format":"uri","description":"Canonical MiddleVerse profile URL"},"businessId":{"type":"string","format":"uri","description":"Stable Schema.org business entity ID"},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"schemaType":{"type":"string","description":"Resolved Schema.org LocalBusiness type"},"phone":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"address":{"type":"object","nullable":true},"city":{"type":"string","nullable":true},"state":{"type":"string","nullable":true},"zip_code":{"type":"string","nullable":true},"coordinates":{"type":"object","nullable":true},"claimed":{"type":"boolean"},"verified":{"type":"boolean"},"reservationLinks":{"type":"array","items":{"type":"object","required":["provider","label","url","type","source","attribution"],"additionalProperties":false,"properties":{"provider":{"type":"string","enum":["opentable","resy"]},"label":{"type":"string","enum":["OpenTable","Resy"]},"url":{"type":"string","format":"uri","description":"HTTPS provider handoff with MiddleVerse source attribution"},"type":{"type":"string","enum":["external_handoff"]},"source":{"type":"string","enum":["business_connected"]},"attribution":{"type":"object","properties":{"utmSource":{"type":"string","enum":["middleverse"]},"utmMedium":{"type":"string","enum":["ai_referral"]},"utmCampaign":{"type":"string","enum":["middleverse_listing"]},"aiSource":{"type":"string","nullable":true}}}}},"description":"Connected OpenTable/Resy external handoffs; not live availability or confirmed bookings"}}},"Product":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"price":{"type":"number","nullable":true},"sale_price":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true}}},"Service":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"category":{"type":"string","nullable":true},"price":{"type":"number","nullable":true},"currency":{"type":"string","nullable":true},"duration_minutes":{"type":"integer","nullable":true},"bookable_online":{"type":"boolean","nullable":true}}},"Links":{"type":"object","properties":{"self":{"type":"string"},"profile":{"type":"string"},"bookings":{"type":"string"},"products":{"type":"string"},"services":{"type":"string"},"openapi":{"type":"string"}}},"BusinessResponse":{"type":"object","properties":{"success":{"type":"boolean"},"business":{"$ref":"#/components/schemas/Business"},"products":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"services":{"type":"array","items":{"$ref":"#/components/schemas/Service"}},"hours":{"type":"object","nullable":true},"links":{"$ref":"#/components/schemas/Links"}}},"ProductsResponse":{"type":"object","properties":{"success":{"type":"boolean"},"business":{"type":"string"},"count":{"type":"integer"},"products":{"type":"array","items":{"$ref":"#/components/schemas/Product"}},"links":{"$ref":"#/components/schemas/Links"}}},"ServicesResponse":{"type":"object","properties":{"success":{"type":"boolean"},"business":{"type":"string"},"count":{"type":"integer"},"services":{"type":"array","items":{"$ref":"#/components/schemas/Service"}},"links":{"$ref":"#/components/schemas/Links"}}},"AvailabilityResponse":{"type":"object","properties":{"success":{"type":"boolean"},"business":{"type":"string"},"businessHours":{"type":"object","nullable":true},"bookedSlots":{"type":"array","items":{"type":"object"}},"status":{"type":"string"},"links":{"$ref":"#/components/schemas/Links"}}}}}}