{"openapi":"3.1.0","info":{"title":"Mouradian & Co API","version":"0.1.0","description":"Read the catalog and request samples from Armenian producers."},"servers":[{"url":"https://mouradianco.com"}],"paths":{"/catalog.json":{"get":{"operationId":"getCatalog","summary":"The full catalog, producers anonymous","responses":{"200":{"description":"Catalog feed","content":{"application/json":{}}}}}},"/api/sample-requests":{"post":{"operationId":"requestSamples","summary":"Request samples of one or more products","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequest"}}}},"responses":{"201":{"description":"Request accepted","content":{"application/json":{"schema":{"type":"object","properties":{"reference":{"type":"string","example":"KMJ-20261019-7F3K"}},"required":["reference"]}}}},"400":{"description":"Invalid request; the body lists the errors by field"}}}}},"components":{"schemas":{"SampleRequest":{"type":"object","required":["products","company","contactName","email","country","buyerType"],"properties":{"products":{"type":"array","minItems":1,"maxItems":10,"items":{"type":"string","enum":["honey-mountain-wildflower","honey-forest","honey-thyme","honey-sainfoin","dried-apricots-ararat-valley","dried-peaches-ararat-valley","prunes-armavir","raisins-armavir","dried-apples-aragatsotn","dried-figs-meghri","dried-persimmons-meghri","rose-red-naomi","rose-all-4-love","rose-arctica","rose-tara","rose-b-tween","rose-sophia-loren","rose-shangri-la","rose-polar-star","rose-peach","rose-maritim","rose-jumilia","rose-giardina","rose-fiesta","rose-dolomiti","rose-bombastic","rose-gelato","rose-lemon-bubbles","rose-madam-bombastic","rose-misty-bubbles","rose-tanja","rose-miss-bombastic","rose-yellow-bubbles","rose-maroon"]}},"company":{"type":"string","minLength":2,"maxLength":120},"contactName":{"type":"string","minLength":2,"maxLength":120},"email":{"type":"string","format":"email"},"country":{"type":"string","minLength":2,"maxLength":2,"description":"ISO 3166-1 alpha-2"},"buyerType":{"type":"string","enum":["importer","wholesaler","retailer","online","food-service","other"]},"volume":{"type":"string","maxLength":200,"description":"Expected first order and yearly volume"},"message":{"type":"string","maxLength":2000}}}}}}