{"openapi":"3.1.0","info":{"title":"MCDM Studio","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Landing","operationId":"landing__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/studio":{"get":{"summary":"Studio","operationId":"studio_studio_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/methods":{"get":{"summary":"Methods Index","operationId":"methods_index_methods_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/api":{"get":{"summary":"Api Docs","operationId":"api_docs_api_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/methods/{method_id}":{"get":{"summary":"Method Page","operationId":"method_page_methods__method_id__get","parameters":[{"name":"method_id","in":"path","required":true,"schema":{"type":"string","title":"Method Id"}}],"responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/healthz":{"get":{"summary":"Healthz","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/robots.txt":{"get":{"summary":"Robots","operationId":"robots_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/sitemap.xml":{"get":{"summary":"Sitemap","operationId":"sitemap_sitemap_xml_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/parse":{"post":{"summary":"Parse","operationId":"parse_api_parse_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_api_parse_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/parse-pairwise":{"post":{"summary":"Parse Pairwise","operationId":"parse_pairwise_api_parse_pairwise_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_parse_pairwise_api_parse_pairwise_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/compute":{"post":{"summary":"Compute","operationId":"rank_alternatives","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/robustness":{"post":{"summary":"Robustness","operationId":"analyze_robustness","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RobustnessRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/narrate":{"post":{"summary":"Narrate Endpoint","operationId":"narrate_endpoint_api_narrate_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/sensitivity":{"post":{"summary":"Sensitivity","operationId":"analyze_weight_sensitivity","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/export":{"post":{"summary":"Export","operationId":"export_api_export_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/export-pdf":{"post":{"summary":"Export Pdf","operationId":"export_pdf_api_export_pdf_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComputeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/weights/ahp":{"post":{"summary":"Weights Ahp","operationId":"weights_ahp","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AhpWeightsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/weights/ahp-group":{"post":{"summary":"Weights Ahp Group","operationId":"weights_ahp_group","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AhpGroupRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/weights/ahp-tree":{"post":{"summary":"Weights Ahp Tree","operationId":"weights_ahp_tree","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AhpTreeRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/weights/critic":{"post":{"summary":"Weights Critic","operationId":"weights_critic","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CriticRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AhpGroupRequest":{"properties":{"criteria":{"items":{"type":"string"},"type":"array","title":"Criteria"},"matrices":{"items":{"items":{"items":{"type":"number"},"type":"array"},"type":"array"},"type":"array","title":"Matrices"}},"type":"object","required":["criteria","matrices"],"title":"AhpGroupRequest"},"AhpTreeGroup":{"properties":{"name":{"type":"string","title":"Name"},"criteria":{"items":{"type":"string"},"type":"array","title":"Criteria"},"matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Matrix"}},"type":"object","required":["name","criteria"],"title":"AhpTreeGroup"},"AhpTreeRequest":{"properties":{"main_matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Main Matrix"},"groups":{"items":{"$ref":"#/components/schemas/AhpTreeGroup"},"type":"array","title":"Groups"}},"type":"object","required":["main_matrix","groups"],"title":"AhpTreeRequest"},"AhpWeightsRequest":{"properties":{"criteria":{"items":{"type":"string"},"type":"array","title":"Criteria"},"matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Matrix"},"fuzzy":{"type":"boolean","title":"Fuzzy","default":false}},"type":"object","required":["criteria","matrix"],"title":"AhpWeightsRequest"},"Body_parse_api_parse_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_parse_api_parse_post"},"Body_parse_pairwise_api_parse_pairwise_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_parse_pairwise_api_parse_pairwise_post"},"ComputeRequest":{"properties":{"method":{"type":"string","enum":["topsis","vikor","promethee","electre","waspas","copras","edas","fuzzy-topsis"],"title":"Method"},"matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Matrix"},"weights":{"items":{"type":"number"},"type":"array","title":"Weights"},"directions":{"items":{"type":"string","enum":["min","max"]},"type":"array","title":"Directions"},"alternatives":{"items":{"type":"string"},"type":"array","title":"Alternatives"},"criteria":{"items":{"type":"string"},"type":"array","title":"Criteria"},"params":{"additionalProperties":true,"type":"object","title":"Params"}},"type":"object","required":["method","matrix","weights","directions","alternatives","criteria"],"title":"ComputeRequest"},"CriticRequest":{"properties":{"criteria":{"items":{"type":"string"},"type":"array","title":"Criteria"},"directions":{"items":{"type":"string","enum":["min","max"]},"type":"array","title":"Directions"},"matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Matrix"}},"type":"object","required":["criteria","directions","matrix"],"title":"CriticRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"RobustnessRequest":{"properties":{"method":{"type":"string","enum":["topsis","vikor","promethee","electre","waspas","copras","edas","fuzzy-topsis"],"title":"Method"},"matrix":{"items":{"items":{"type":"number"},"type":"array"},"type":"array","title":"Matrix"},"weights":{"items":{"type":"number"},"type":"array","title":"Weights"},"directions":{"items":{"type":"string","enum":["min","max"]},"type":"array","title":"Directions"},"alternatives":{"items":{"type":"string"},"type":"array","title":"Alternatives"},"criteria":{"items":{"type":"string"},"type":"array","title":"Criteria"},"params":{"additionalProperties":true,"type":"object","title":"Params"},"noise":{"type":"number","title":"Noise","default":0.05},"runs":{"type":"integer","title":"Runs","default":300}},"type":"object","required":["method","matrix","weights","directions","alternatives","criteria"],"title":"RobustnessRequest"},"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"}}}}