{"openapi":"3.1.0","info":{"title":"Nabhya near-NDVI","version":"1.0.0"},"paths":{"/":{"get":{"summary":"Root Page","description":"The demo page when SERVE_DEMO_UI is on, otherwise the service card.","operationId":"root_page__get","responses":{"200":{"description":"Successful Response","content":{"text/html":{"schema":{"type":"string"}}}}}}},"/samples/{name}":{"get":{"summary":"Sample","description":"Bundled example frames for the demo. Path-traversal safe by construction.","operationId":"sample_samples__name__get","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string","title":"Name"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api":{"get":{"summary":"Service Card","description":"Always JSON, whether or not the UI is served.","operationId":"service_card_api_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/demo/ndvi":{"post":{"summary":"Demo Ndvi","description":"Keyless, free, rate limited per IP. Powers the browser demo.","operationId":"demo_ndvi_v1_demo_ndvi_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_demo_ndvi_v1_demo_ndvi_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ndvi":{"post":{"summary":"Ndvi","operationId":"ndvi_v1_ndvi_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Api-Key"}}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_ndvi_v1_ndvi_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"Body_demo_ndvi_v1_demo_ndvi_post":{"properties":{"image":{"type":"string","format":"binary","title":"Image"},"gsd_m_per_px":{"type":"string","title":"Gsd M Per Px","default":""},"crop":{"type":"string","title":"Crop","default":""},"aoi_polygon":{"type":"string","title":"Aoi Polygon","default":""},"formats":{"type":"string","title":"Formats","default":""}},"type":"object","required":["image"],"title":"Body_demo_ndvi_v1_demo_ndvi_post"},"Body_ndvi_v1_ndvi_post":{"properties":{"image":{"type":"string","format":"binary","title":"Image"},"gsd_m_per_px":{"type":"string","title":"Gsd M Per Px","default":""},"crop":{"type":"string","title":"Crop","default":""},"aoi_polygon":{"type":"string","title":"Aoi Polygon","default":""},"formats":{"type":"string","title":"Formats","default":""}},"type":"object","required":["image"],"title":"Body_ndvi_v1_ndvi_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}