{"openapi":"3.0.0","info":{"title":"On-Location Package Capture Rate Calculator","version":"1.0.0"},"paths":{"/":{"post":{"summary":"Evaluate input data","operationId":"evaluateData","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"kpi_list":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the KPI"},"input_variables":{"type":"object","properties":{"on_location_packages_sold":{"type":"number","description":"The total number of packages sold specifically at the event location."},"total_tickets_sold":{"type":"number","description":"The total number of tickets sold for the event."}},"required":["on_location_packages_sold","total_tickets_sold"]}},"required":["name","input_variables"]}},"input_data":{"type":"object","properties":{"on_location_packages_sold":{"type":"number"},"total_tickets_sold":{"type":"number"}},"required":["on_location_packages_sold","total_tickets_sold"]},"metadata":{"type":"object"},"prompt":{"type":"string"}},"required":["name","kpi_list","input_data","metadata","prompt"]}}}},"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string"},"kpi_list":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"input_variables":{"type":"object"}}}},"value":{"type":"number"},"data":{"type":"object"},"metadata":{"type":"object"}}}}}}}}}}}