{"openapi":"3.0.0","info":{"title":"FCF to Adjusted EBITDA Calculator","version":"1.0.0"},"paths":{"/":{"post":{"summary":"Evaluate input data to calculate FCF/Adjusted EBITDA ratio","operationId":"evaluateData","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","example":"Financial Ratio Analysis"},"kpi_list":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Name of the KPI"},"input_variables":{"type":"object","properties":{"operating_cash_flow":{"type":"number","description":"Net cash provided by operating activities"},"capital_expenditures":{"type":"number","description":"Cash used for property, plant, and equipment purchases"},"adjusted_ebitda":{"type":"number","description":"Adjusted EBITDA"}},"description":"Strict map of variable names and types required to calculate this KPI."}},"required":["name","input_variables"]}},"input_data":{"type":"object","properties":{"operating_cash_flow":{"type":"number"},"capital_expenditures":{"type":"number"},"adjusted_ebitda":{"type":"number"}}},"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"}},"value":{"type":"number","description":"The calculated FCF to EBITDA ratio"},"input_data":{"type":"object"},"metadata":{"type":"object"}}}}}}}}}}}