{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Read Root","operationId":"read_root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/realtime":{"get":{"summary":"Read Realtime","operationId":"read_realtime_realtime_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1":{"get":{"summary":"Read V1","operationId":"read_v1_v1_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/measure":{"post":{"summary":"Measure Endpoint","operationId":"measure_endpoint_measure_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_measure_endpoint_measure_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/measure/arch":{"post":{"summary":"Measure Arch Length","operationId":"measure_arch_length_measure_arch_post","parameters":[{"name":"known_foot_length","in":"query","required":false,"schema":{"type":"number","title":"Known Foot Length"}},{"name":"side","in":"query","required":false,"schema":{"type":"string","title":"Side"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_measure_arch_length_measure_arch_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/measure/stream":{"post":{"summary":"Measure Frame Endpoint","operationId":"measure_frame_endpoint_measure_stream_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_measure_frame_endpoint_measure_stream_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/status":{"get":{"summary":"Status","operationId":"status_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/measure":{"post":{"tags":["v1"],"summary":"Predict","operationId":"predict_v1_measure_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_predict_v1_measure_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/V2OutputSchema"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_measure_arch_length_measure_arch_post":{"properties":{"image":{"type":"string","contentMediaType":"application/octet-stream","title":"Image"}},"type":"object","required":["image"],"title":"Body_measure_arch_length_measure_arch_post"},"Body_measure_endpoint_measure_post":{"properties":{"image":{"type":"string","contentMediaType":"application/octet-stream","title":"Image"}},"type":"object","required":["image"],"title":"Body_measure_endpoint_measure_post"},"Body_measure_frame_endpoint_measure_stream_post":{"properties":{"image":{"type":"string","contentMediaType":"application/octet-stream","title":"Image"}},"type":"object","required":["image"],"title":"Body_measure_frame_endpoint_measure_stream_post"},"Body_predict_v1_measure_post":{"properties":{"images":{"items":{"type":"string","contentMediaType":"application/octet-stream"},"type":"array","title":"Images"}},"type":"object","required":["images"],"title":"Body_predict_v1_measure_post"},"ErrorModel":{"properties":{"error":{"type":"string","title":"Error","description":"Error description, if there is one"}},"type":"object","required":["error"],"title":"ErrorModel"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Line":{"properties":{"start":{"$ref":"#/components/schemas/Point","description":"Starting point of the line"},"end":{"$ref":"#/components/schemas/Point","description":"End point of the line"}},"type":"object","required":["start","end"],"title":"Line"},"Point":{"properties":{"x":{"type":"number","title":"X","description":"x coordinates of the point"},"y":{"type":"number","title":"Y","description":"y coordinates of the point"}},"type":"object","required":["x","y"],"title":"Point"},"V2FootPrediction":{"properties":{"arch_highest_point":{"$ref":"#/components/schemas/Point","description":"Coordinates of highest point on foot arch"},"arch_height":{"type":"number","title":"Arch Height","description":"Height of the foot arch"},"foot_length":{"type":"number","title":"Foot Length","description":"Length of the foot"},"ground_line":{"$ref":"#/components/schemas/Line","description":"Ground line on which the foot is"}},"type":"object","required":["arch_highest_point","arch_height","foot_length","ground_line"],"title":"V2FootPrediction"},"V2OutputSchema":{"properties":{"left_foot":{"anyOf":[{"$ref":"#/components/schemas/V2FootPrediction"},{"$ref":"#/components/schemas/ErrorModel"}],"title":"Left Foot","description":"Left foot prediction"},"right_foot":{"anyOf":[{"$ref":"#/components/schemas/V2FootPrediction"},{"$ref":"#/components/schemas/ErrorModel"}],"title":"Right Foot","description":"Right foot prediction"}},"type":"object","required":["left_foot","right_foot"],"title":"V2OutputSchema"},"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"}}}}