{"openapi":"3.1.0","info":{"title":"AgentCart Registry","version":"2.0.0"},"paths":{"/chambers":{"get":{"summary":"Chambers","operationId":"chambers_chambers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cart-review":{"get":{"summary":"Review","operationId":"review_cart_review_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/downloads/agentcart-woocommerce.zip":{"get":{"summary":"Download","operationId":"download_downloads_agentcart_woocommerce_zip_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/agentcart.json":{"get":{"summary":"Protocol","operationId":"protocol__well_known_agentcart_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/login":{"get":{"summary":"Login","operationId":"login_auth_login_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auth/callback":{"get":{"summary":"Callback","operationId":"callback_auth_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/customer-login":{"post":{"summary":"Demo Login","operationId":"demo_login_demo_customer_login_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/customer/session":{"get":{"summary":"Session","operationId":"session_customer_session_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/customer/logout":{"post":{"summary":"Logout","operationId":"logout_customer_logout_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/customer/agent-token":{"post":{"summary":"Grant","operationId":"grant_customer_agent_token_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/registry/businesses/{bid}/profile":{"put":{"summary":"Profile","operationId":"profile_registry_businesses__bid__profile_put","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Business"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/businesses/{bid}/withdraw":{"post":{"summary":"Withdraw","operationId":"withdraw_registry_businesses__bid__withdraw_post","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/products/external/{external_id}":{"put":{"summary":"Upsert","operationId":"upsert_registry_products_external__external_id__put","parameters":[{"name":"external_id","in":"path","required":true,"schema":{"type":"string","title":"External Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/businesses/{bid}/storefront":{"get":{"summary":"Storefront","operationId":"storefront_registry_businesses__bid__storefront_get","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/cart/hold":{"post":{"summary":"Hold","operationId":"hold_registry_cart_hold_post","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HoldRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/cart/agent":{"get":{"summary":"Agent Carts","operationId":"agent_carts_registry_cart_agent_get","parameters":[{"name":"authorization","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/customer/carts":{"get":{"summary":"Customer Carts","operationId":"customer_carts_customer_carts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/demo/customer-cart":{"post":{"summary":"Demo Cart","operationId":"demo_cart_demo_customer_cart_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/registry/cart/business/{bid}":{"get":{"summary":"Merchant Carts","operationId":"merchant_carts_registry_cart_business__bid__get","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/businesses/{bid}/notifications":{"get":{"summary":"Notifications","operationId":"notifications_registry_businesses__bid__notifications_get","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}},{"name":"after","in":"query","required":false,"schema":{"type":"integer","default":0,"title":"After"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/cart/{hid}/confirm":{"post":{"summary":"Confirm","operationId":"confirm_registry_cart__hid__confirm_post","parameters":[{"name":"hid","in":"path","required":true,"schema":{"type":"string","title":"Hid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MerchantConfirmation"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/cart/{hid}/decline":{"post":{"summary":"Decline","operationId":"decline_registry_cart__hid__decline_post","parameters":[{"name":"hid","in":"path","required":true,"schema":{"type":"string","title":"Hid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/customer/carts/{hid}/approve":{"post":{"summary":"Approve","operationId":"approve_customer_carts__hid__approve_post","parameters":[{"name":"hid","in":"path","required":true,"schema":{"type":"string","title":"Hid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Approval"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/customer/carts/{hid}/cancel":{"post":{"summary":"Cancel","operationId":"cancel_customer_carts__hid__cancel_post","parameters":[{"name":"hid","in":"path","required":true,"schema":{"type":"string","title":"Hid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/connect/shopify":{"get":{"summary":"Page","operationId":"page_connect_shopify_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/shopify/config":{"get":{"summary":"Status","operationId":"status_integrations_shopify_config_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/shopify/install":{"post":{"summary":"Install","operationId":"install_integrations_shopify_install_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShopInput"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/shopify/callback":{"get":{"summary":"Callback","operationId":"callback_integrations_shopify_callback_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/shopify/me":{"get":{"summary":"Me","operationId":"me_integrations_shopify_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/shopify/sync":{"post":{"summary":"Queue","operationId":"queue_integrations_shopify_sync_post","responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/integrations/shopify/profile":{"post":{"summary":"Profile","operationId":"profile_integrations_shopify_profile_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublishProfile"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/integrations/shopify/webhooks":{"post":{"summary":"Webhook","operationId":"webhook_integrations_shopify_webhooks_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/developers":{"get":{"summary":"Developers","operationId":"developers_developers_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/readyz":{"get":{"summary":"Ready","operationId":"ready_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/workers/readyz":{"get":{"summary":"Workers","operationId":"workers_workers_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/skills/agentcart-local-shopping/SKILL.md":{"get":{"summary":"Shopping Skill","operationId":"shopping_skill_skills_agentcart_local_shopping_SKILL_md_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/skills/agentcart-local-shopping/references/setup.md":{"get":{"summary":"Setup","operationId":"setup_skills_agentcart_local_shopping_references_setup_md_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/downloads/openapi.json":{"get":{"summary":"Openapi Download","operationId":"openapi_download_downloads_openapi_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Index","operationId":"index__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/registry/businesses/register":{"post":{"summary":"Register","operationId":"register_registry_businesses_register_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Business"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/businesses/verified":{"get":{"summary":"Verified","operationId":"verified_registry_businesses_verified_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/registry/business/{bid}":{"get":{"summary":"Business","operationId":"business_registry_business__bid__get","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/products/add":{"post":{"summary":"Add Product","operationId":"add_product_registry_products_add_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Product"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/businesses/{bid}/sync":{"post":{"summary":"Sync","operationId":"sync_registry_businesses__bid__sync_post","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/businesses/{bid}/verify":{"post":{"summary":"Verify","operationId":"verify_registry_businesses__bid__verify_post","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/search":{"post":{"summary":"Search","operationId":"search_registry_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Search"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/attribution/click":{"post":{"summary":"Click","operationId":"click_registry_attribution_click_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Click"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/track/pixel":{"get":{"summary":"Pixel","operationId":"pixel_track_pixel_get","parameters":[{"name":"token","in":"query","required":false,"schema":{"type":"string","default":"","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/attribution/report/{bid}":{"get":{"summary":"Report","operationId":"report_registry_attribution_report__bid__get","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}},{"name":"x-api-key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/registry/businesses/{bid}/badge.svg":{"get":{"summary":"Badge","operationId":"badge_registry_businesses__bid__badge_svg_get","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/checkout/{bid}":{"get":{"summary":"Checkout","operationId":"checkout_demo_checkout__bid__get","parameters":[{"name":"bid","in":"path","required":true,"schema":{"type":"string","title":"Bid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/demo/complete/{cid}":{"post":{"summary":"Demo Complete","operationId":"demo_complete_demo_complete__cid__post","parameters":[{"name":"cid","in":"path","required":true,"schema":{"type":"string","title":"Cid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Approval":{"properties":{"quote_digest":{"type":"string","title":"Quote Digest"}},"type":"object","required":["quote_digest"],"title":"Approval"},"Availability":{"properties":{"mode":{"type":"string","enum":["exact","usually_in_stock","unknown"],"title":"Mode","default":"exact"},"confidence":{"anyOf":[{"type":"number","maximum":1.0,"minimum":0.0},{"type":"null"}],"title":"Confidence"},"observed_at":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Observed At"},"source":{"type":"string","maxLength":100,"title":"Source","default":"merchant"}},"type":"object","title":"Availability"},"Business":{"properties":{"name":{"type":"string","maxLength":120,"minLength":2,"title":"Name"},"town":{"type":"string","maxLength":120,"minLength":2,"title":"Town"},"story":{"type":"string","maxLength":2000,"title":"Story","default":""},"specialties":{"items":{"type":"string"},"type":"array","maxItems":20,"title":"Specialties"},"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"checkout_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Checkout Url"},"pickup_hours":{"type":"string","maxLength":300,"title":"Pickup Hours","default":""},"local_preferences":{"$ref":"#/components/schemas/Preferences"},"brand_voice":{"type":"string","maxLength":1500,"title":"Brand Voice","default":""},"established_year":{"anyOf":[{"type":"integer","maximum":2100.0,"minimum":1600.0},{"type":"null"}],"title":"Established Year"},"chamber":{"type":"string","maxLength":150,"title":"Chamber","default":""},"platform":{"type":"string","pattern":"^(custom|woocommerce|shopify|square|wix)$","title":"Platform","default":"custom"},"fulfillment":{"$ref":"#/components/schemas/Fulfillment"},"is_listed":{"type":"boolean","title":"Is Listed","default":true}},"type":"object","required":["name","town","email","checkout_url"],"title":"Business"},"Click":{"properties":{"product_id":{"type":"string","title":"Product Id"}},"type":"object","required":["product_id"],"title":"Click"},"Fulfillment":{"properties":{"pickup_enabled":{"type":"boolean","title":"Pickup Enabled","default":true},"pickup_hours":{"type":"string","maxLength":500,"title":"Pickup Hours","default":""},"timezone":{"type":"string","maxLength":80,"title":"Timezone","default":"America/New_York"},"delivery_radius_km":{"anyOf":[{"type":"number","maximum":1000.0,"minimum":0.0},{"type":"null"}],"title":"Delivery Radius Km"},"delivery_origin":{"type":"string","maxLength":300,"title":"Delivery Origin","default":""},"shipping_zones":{"items":{"type":"string"},"type":"array","maxItems":100,"title":"Shipping Zones"},"gift_wrapping":{"type":"boolean","title":"Gift Wrapping","default":false},"personalization":{"type":"boolean","title":"Personalization","default":false},"gift_note":{"type":"boolean","title":"Gift Note","default":true},"instructions":{"type":"string","maxLength":2000,"title":"Instructions","default":""},"holds_enabled":{"type":"boolean","title":"Holds Enabled","default":false},"max_hold_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Max Hold Hours","default":24}},"type":"object","title":"Fulfillment"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HoldRequest":{"properties":{"business_id":{"type":"string","title":"Business Id"},"items":{"items":{"$ref":"#/components/schemas/Line"},"type":"array","maxItems":30,"minItems":1,"title":"Items"},"hold_hours":{"type":"integer","maximum":168.0,"minimum":1.0,"title":"Hold Hours","default":24},"note":{"type":"string","maxLength":1000,"title":"Note","default":""},"gift_wrapping":{"type":"boolean","title":"Gift Wrapping","default":false},"personalization":{"type":"string","maxLength":300,"title":"Personalization","default":""},"fulfillment":{"type":"string","enum":["pickup","shipping","delivery"],"title":"Fulfillment","default":"pickup"},"request_key":{"type":"string","maxLength":100,"minLength":8,"title":"Request Key"}},"type":"object","required":["business_id","items","request_key"],"title":"HoldRequest"},"Line":{"properties":{"product_id":{"type":"string","maxLength":100,"minLength":1,"title":"Product Id"},"quantity":{"type":"integer","maximum":100.0,"minimum":1.0,"title":"Quantity"}},"type":"object","required":["product_id","quantity"],"title":"Line"},"MerchantConfirmation":{"properties":{"checkout_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Checkout Url"},"total_cents":{"type":"integer","maximum":100000000.0,"exclusiveMinimum":0.0,"title":"Total Cents"},"terms":{"type":"string","maxLength":1500,"minLength":10,"title":"Terms"},"stock_checked":{"type":"boolean","const":true,"title":"Stock Checked"}},"type":"object","required":["checkout_url","total_cents","terms","stock_checked"],"title":"MerchantConfirmation"},"Preferences":{"properties":{"locally_owned":{"type":"boolean","title":"Locally Owned","default":false},"made_in_town":{"type":"boolean","title":"Made In Town","default":false},"family_owned":{"type":"boolean","title":"Family Owned","default":false},"woman_owned":{"type":"boolean","title":"Woman Owned","default":false},"artisan_made":{"type":"boolean","title":"Artisan Made","default":false},"small_batch":{"type":"boolean","title":"Small Batch","default":false},"same_day_pickup":{"type":"boolean","title":"Same Day Pickup","default":false}},"type":"object","title":"Preferences"},"Product":{"properties":{"business_id":{"type":"string","title":"Business Id"},"name":{"type":"string","maxLength":150,"minLength":2,"title":"Name"},"description":{"type":"string","maxLength":2000,"title":"Description","default":""},"price_cents":{"type":"integer","maximum":100000000.0,"exclusiveMinimum":0.0,"title":"Price Cents"},"stock":{"type":"integer","minimum":0.0,"title":"Stock","default":1},"made_in_town":{"type":"boolean","title":"Made In Town","default":false},"artisan_made":{"type":"boolean","title":"Artisan Made","default":false},"small_batch":{"type":"boolean","title":"Small Batch","default":false},"availability":{"$ref":"#/components/schemas/Availability"},"checkout_url":{"anyOf":[{"type":"string","maxLength":2083,"minLength":1,"format":"uri"},{"type":"null"}],"title":"Checkout Url"},"external_id":{"type":"string","maxLength":100,"title":"External Id","default":""}},"type":"object","required":["business_id","name","price_cents"],"title":"Product"},"PublishProfile":{"properties":{"town":{"type":"string","maxLength":120,"minLength":2,"title":"Town"},"story":{"type":"string","maxLength":2000,"minLength":1,"title":"Story"},"email":{"type":"string","maxLength":254,"minLength":3,"title":"Email"},"locally_owned":{"type":"boolean","title":"Locally Owned","default":false},"family_owned":{"type":"boolean","title":"Family Owned","default":false},"made_in_town":{"type":"boolean","title":"Made In Town","default":false},"artisan_made":{"type":"boolean","title":"Artisan Made","default":false},"small_batch":{"type":"boolean","title":"Small Batch","default":false},"pickup_hours":{"type":"string","maxLength":300,"title":"Pickup Hours","default":""},"chamber":{"type":"string","maxLength":150,"title":"Chamber","default":""},"publish":{"type":"boolean","title":"Publish","default":true}},"type":"object","required":["town","story","email"],"title":"PublishProfile"},"Search":{"properties":{"query":{"type":"string","maxLength":200,"title":"Query","default":""},"town":{"type":"string","maxLength":120,"title":"Town","default":""},"local_only":{"type":"boolean","title":"Local Only","default":false},"verified_only":{"type":"boolean","title":"Verified Only","default":false},"sort":{"type":"string","pattern":"^(recommended|local_score|price)$","title":"Sort","default":"recommended"}},"type":"object","title":"Search"},"ShopInput":{"properties":{"shop":{"type":"string","maxLength":100,"title":"Shop"}},"type":"object","required":["shop"],"title":"ShopInput"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}