{"openapi":"3.1.0","info":{"title":"RJI Industries Quote API","version":"1.0.0","description":"Submit a gate quote request to RJI Industries on behalf of a buyer. Always confirm the buyer's name, email and consent before submitting. A human at RJI replies by email."},"servers":[{"url":"https://www.rjiindustries.com"}],"paths":{"/api/quote":{"post":{"operationId":"requestQuote","summary":"Request a quote for a gate project","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteRequest"},"example":{"name":"Jordan Lee","email":"jordan@example.com","country":"United States","region":"Kentucky","city":"Lexington","projectType":"Estate / driveway gate","model":"Sovereign","openingWidth":"16 ft","timeline":"1–3 months","message":"Dual swing arched gate with solar operator for a horse farm entrance.","submittedBy":"agent","agentName":"Example Assistant"}}}},"responses":{"202":{"description":"Accepted","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean"},"reference":{"type":"string"},"message":{"type":"string"}}}}}},"422":{"description":"Validation failed","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/catalog.json":{"get":{"operationId":"getCatalog","summary":"Product catalogue (schema.org OfferCatalog)","responses":{"200":{"description":"OK"}}}}},"components":{"schemas":{"QuoteRequest":{"type":"object","required":["name","email"],"properties":{"name":{"type":"string","maxLength":120},"email":{"type":"string","format":"email"},"phone":{"type":"string"},"country":{"type":"string","enum":["United States","Canada"]},"region":{"type":"string","description":"Province or state"},"city":{"type":"string"},"projectType":{"type":"string","enum":["Estate / driveway gate","Ranch gate or archway","Farm gates or corral panels","Gate automation","Custom fabrication","Dealer / volume enquiry"]},"model":{"type":"string","description":"Product name from catalog.json, e.g. Sovereign"},"openingWidth":{"type":"string","description":"Clear opening between posts, e.g. '14 ft'"},"timeline":{"type":"string","enum":["As soon as possible","1–3 months","3–6 months","Planning / budgeting"]},"message":{"type":"string","maxLength":5000},"configuration":{"type":"string","description":"Free-text configuration or a configurator URL"},"submittedBy":{"type":"string","enum":["human","agent"]},"agentName":{"type":"string"}},"description":"At least one of message, configuration or projectType is required."},"Error":{"type":"object","properties":{"ok":{"type":"boolean"},"errors":{"type":"array","items":{"type":"string"}}}}}}}