{"openapi":"3.1.0","info":{"title":"AgKit.io Services","summary":"A FastAPI-based minimal server for public geospatial data","description":"\n### Motivation\n- Unify the URL schema to be `/database?extent=` or `/database?wkt=`\n- Reduce application code complexity by moving to FastAPI\n- Move as many compute / format operations into the database, i.e. spend more time writing better SQL\n- Return valid GeoJSON FeatureCollections from the database when possible\n- Build access control via security and throttling\n- Reuse APIs provided by the US Government\n\n### Example Usage\nMost endpoints take either an `extent` (xmin, ymin, xmax, ymax) or a `wkt` (well-known text representation \nof geospatial features) query parameter. The `extent` parameter is used when sending\nthe viewpoint of a map to get all features that intersect with that viewpoint. \nAn example is: \n\n`GET /clu?extent=-88.379876,37.638715,-88.379871,37.638723`\n\nThe `wkt` query parameter is a bit more complex. Many endpoints return the value at a point location. For example\nto get the township at a location, we do \n\n`GET /countysub?wkt=POINT(-88 32)`\n\nIn some cases, e.g. in the SSURGO api, we send the multipolygon as a wkt. For example:\n\n`GET /ssurgo?wkt=MULTIPOLYGON(((-88.379871 37.638723,-88.379875 37.638715, -88.379876 37.638718,-88.379871 37.638723)))`\n\nThe ESRI APIs currently are set up currently to only accept POINT `wkt`s and `extent`s. \nThey cannot accept MultiPolygon or other WKTs. \nSo e.g. \n\n`GET /fema/hazards?extent=-88.579876,37.438715,-88.379871,37.638723`\n","contact":{"name":"Kaustubh Bhalerao","email":"info@soildiagnostics.com"},"version":"0.1.0"},"paths":{"/area":{"post":{"tags":["byod"],"summary":"Area","operationId":"area_area_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"}],"title":"Feature"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"number","title":"Response Area Area Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssurgo":{"get":{"tags":["byod"],"summary":"Ssurgo","description":"Call the SSURGO api with extent or a multipolygon.\n:param extent: A tuple of (minx, miny, maxx, maxy) coordinates\n:param wkt: A WKT string\n:return: FeatureCollection","operationId":"ssurgo_ssurgo_get","parameters":[{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}},{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ssurgo Ssurgo Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"post":{"tags":["byod"],"summary":"Ssurgo Post","description":"Call the SSURGO api with a geometry object.\n:return:","operationId":"ssurgo_post_ssurgo_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"}],"title":"Feature"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ssurgo Post Ssurgo Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssurgo/{z}/{x}/{y}/tiles.pbf":{"get":{"tags":["byod"],"summary":"Ssurgo Tiles","description":"Convert SSURGO data to pbf tiles\n:param z: zoom level\n:param x: tile x\n:param y: tile y\n:return:\nExample for Champaign: 15/8354/12400","operationId":"ssurgo_tiles_ssurgo__z___x___y__tiles_pbf_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/ssurgo/yields":{"get":{"tags":["byod"],"summary":"Ssurgo Yield Post","description":"Call the SSURGO api with a geometry object.\n:return:","operationId":"ssurgo_yield_post_ssurgo_yields_get","parameters":[{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}},{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Ssurgo Yield Post Ssurgo Yields Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clu":{"get":{"tags":["byod"],"summary":"Clu","operationId":"clu_clu_get","parameters":[{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}},{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Clu Clu Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/crop_boundaries":{"get":{"tags":["byod"],"summary":"Crop Boundaries","operationId":"crop_boundaries_crop_boundaries_get","parameters":[{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}},{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Crop Boundaries Crop Boundaries Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/hud":{"get":{"tags":["byod"],"summary":"Get Opzones","operationId":"get_opzones_hud_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Opzones Hud Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/countysubs":{"get":{"tags":["esri"],"summary":"Get Townships","operationId":"get_townships_countysubs_get","parameters":[{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}},{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"$ref":"#/components/schemas/FeatureCollection"}],"title":"Response Get Townships Countysubs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/county":{"get":{"tags":["esri"],"summary":"Get County","operationId":"get_county_county_get","parameters":[{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}},{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"$ref":"#/components/schemas/FeatureCollection"}],"title":"Response Get County County Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/state":{"get":{"tags":["esri"],"summary":"Get State","operationId":"get_state_state_get","parameters":[{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"$ref":"#/components/schemas/FeatureCollection"}],"title":"Response Get State State Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/transmission_lines":{"get":{"tags":["byod"],"summary":"Transmission Lines","operationId":"transmission_lines_transmission_lines_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Transmission Lines Transmission Lines Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/substations":{"get":{"tags":["byod"],"summary":"Substations","operationId":"substations_substations_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Substations Substations Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/windfarms":{"get":{"tags":["byod"],"summary":"Windfarms","operationId":"windfarms_windfarms_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Windfarms Windfarms Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/windturbines":{"get":{"tags":["byod"],"summary":"Windturbines","operationId":"windturbines_windturbines_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Windturbines Windturbines Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/wetlands":{"get":{"tags":["byod"],"summary":"Get Wetlands","operationId":"get_wetlands_wetlands_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Get Wetlands Wetlands Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fema":{"get":{"tags":["alt"],"summary":"Fema","operationId":"fema_fema_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Fema Fema Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fema/{z}/{x}/{y}/tiles.pbf":{"get":{"tags":["byod"],"summary":"Fema Tiles","description":"Convert FEMA data to pbf tiles\n:param z: zoom level\n:param x: tile x\n:param y: tile y\n:return:\nExample for Champaign: 15/8354/12400","operationId":"fema_tiles_fema__z___x___y__tiles_pbf_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fema/hazards":{"get":{"tags":["esri"],"summary":"Fema Hazards","operationId":"fema_hazards_fema_hazards_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureCollection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fema/nfhl":{"get":{"tags":["esri"],"summary":"Fema Nfhl","operationId":"fema_nfhl_fema_nfhl_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}},{"name":"imgsize","in":"query","required":true,"schema":{"type":"string","title":"Imgsize"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}},"image/png":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fema/firm_panels":{"get":{"tags":["esri"],"summary":"Fema Firm Panels","operationId":"fema_firm_panels_fema_firm_panels_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureCollection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/watersheds/huc12":{"get":{"tags":["esri"],"summary":"Huc12","description":"USGS Watershed Boundary Dataset HUC-12 subwatersheds.\n\nPass either ``extent=xmin,ymin,xmax,ymax`` to fetch all HUC-12 polygons\nintersecting an envelope, or ``wkt=POINT(lon lat)`` to fetch the single\nsubwatershed containing a point. Source: USGS WBD, served by USDA-NRCS\nvia ArcGIS Online (cached, 1000-feature page cap).","operationId":"huc12_watersheds_huc12_get","parameters":[{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}},{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureCollection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plss/trs":{"get":{"tags":["alt"],"summary":"Plss Search By Trs","operationId":"plss_search_by_trs_plss_trs_get","parameters":[{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}},{"name":"township","in":"query","required":true,"schema":{"type":"string","title":"Township"}},{"name":"range","in":"query","required":true,"schema":{"type":"string","title":"Range"}},{"name":"section","in":"query","required":true,"schema":{"type":"string","title":"Section"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Plss Search By Trs Plss Trs Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plss/bbox":{"get":{"tags":["alt"],"summary":"Plss Records In Bbox","operationId":"plss_records_in_bbox_plss_bbox_get","parameters":[{"name":"extent","in":"query","required":true,"schema":{"type":"string","title":"Extent"}},{"name":"db","in":"query","required":true,"schema":{"type":"string","title":"Db"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Plss Records In Bbox Plss Bbox Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plss/nearby":{"get":{"tags":["alt"],"summary":"Plss Near Points","operationId":"plss_near_points_plss_nearby_get","parameters":[{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}},{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"title":"Response Plss Near Points Plss Nearby Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/survey/intersected":{"get":{"tags":["esri"],"summary":"Get Survey Intersected","operationId":"get_survey_intersected_survey_intersected_get","parameters":[{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}},{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"$ref":"#/components/schemas/FeatureCollection"}],"title":"Response Get Survey Intersected Survey Intersected Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/survey/find":{"get":{"tags":["esri"],"summary":"Get Survey Find","operationId":"get_survey_find_survey_find_get","parameters":[{"name":"state","in":"query","required":true,"schema":{"type":"string","title":"State"}},{"name":"section","in":"query","required":true,"schema":{"type":"string","title":"Section"}},{"name":"township","in":"query","required":true,"schema":{"type":"string","title":"Township"}},{"name":"range","in":"query","required":true,"schema":{"type":"string","title":"Range"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureCollection"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/survey/section":{"get":{"tags":["esri"],"summary":"Get Survey Section","operationId":"get_survey_section_survey_section_get","parameters":[{"name":"wkt","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Wkt"}},{"name":"extent","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Extent"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"anyOf":[{"type":"object","additionalProperties":true},{"$ref":"#/components/schemas/FeatureCollection"}],"title":"Response Get Survey Section Survey Section Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weather/gridpoint":{"get":{"tags":["weather"],"summary":"Get Gridpoint","operationId":"get_gridpoint_weather_gridpoint_get","parameters":[{"name":"wkt","in":"query","required":true,"schema":{"type":"string","title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weather/forecast/{station}/{coords}":{"get":{"tags":["weather"],"summary":"Get Forecast","operationId":"get_forecast_weather_forecast__station___coords__get","parameters":[{"name":"station","in":"path","required":true,"schema":{"type":"string","title":"Station"}},{"name":"coords","in":"path","required":true,"schema":{"type":"string","title":"Coords"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/weather/forecast/at":{"get":{"tags":["weather"],"summary":"Get Forecast At","operationId":"get_forecast_at_weather_forecast_at_get","parameters":[{"name":"wkt","in":"query","required":true,"schema":{"type":"string","title":"Wkt"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cdlstats":{"post":{"tags":["byod"],"summary":"Cdlstats","description":"Pixel counts per CDL crop class within the geometry, by year.","operationId":"cdlstats_cdlstats_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdlStatsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Cdlstats Cdlstats Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/cdlpredict":{"post":{"tags":["byod"],"summary":"Cdlpredict","description":"Predict the next-year crop for the CSB field at (lat, lon).\n\nSnaps the pin to the nearest CSB field within 100 m; beyond that the pin\nis considered non-cropland and the response carries a `message` instead\nof a prediction. CPU-only two-XGBoost probability blend (no CUDA dep) —\nsee `app/cdl/predict.py` for the full feature recipe.","operationId":"cdlpredict_cdlpredict_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdlPredictRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Cdlpredict Cdlpredict Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/overlaps/bbox/":{"get":{"tags":["legacy-ssurgo"],"summary":"Overlaps Bbox","operationId":"overlaps_bbox_overlaps_bbox__get","parameters":[{"name":"sw","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sw"}},{"name":"ne","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ne"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clu/in/":{"get":{"tags":["legacy-ssurgo"],"summary":"Clus In","operationId":"clus_in_clu_in__get","parameters":[{"name":"feature","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Feature"}},{"name":"area_gte","in":"query","required":false,"schema":{"type":"number","default":0,"title":"Area Gte"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/clu/near/":{"get":{"tags":["legacy-ssurgo"],"summary":"Clus Near","operationId":"clus_near_clu_near__get","parameters":[{"name":"point","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Point"}},{"name":"dist","in":"query","required":false,"schema":{"type":"number","default":0,"title":"Dist"}},{"name":"area","in":"query","required":false,"schema":{"type":"number","default":0,"title":"Area"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/intersection/aoi":{"get":{"tags":["legacy-ssurgo"],"summary":"Intersection Aoi","operationId":"intersection_aoi_intersection_aoi_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["legacy-ssurgo"],"summary":"Intersection Aoi","operationId":"intersection_aoi_intersection_aoi_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/intersection/feature":{"get":{"tags":["legacy-ssurgo"],"summary":"Intersection Feature","operationId":"intersection_feature_intersection_feature_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["legacy-ssurgo"],"summary":"Intersection Feature","operationId":"intersection_feature_intersection_feature_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/intersects/aoi":{"get":{"tags":["legacy-ssurgo"],"summary":"Intersects Aoi","operationId":"intersects_aoi_intersects_aoi_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["legacy-ssurgo"],"summary":"Intersects Aoi","operationId":"intersects_aoi_intersects_aoi_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/intersects/feature":{"get":{"tags":["legacy-ssurgo"],"summary":"Intersects Feature","operationId":"intersects_feature_intersects_feature_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["legacy-ssurgo"],"summary":"Intersects Feature","operationId":"intersects_feature_intersects_feature_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/point":{"get":{"tags":["legacy-ssurgo"],"summary":"At Point","operationId":"at_point_point_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["legacy-ssurgo"],"summary":"At Point","operationId":"at_point_point_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/nearby/point":{"get":{"tags":["legacy-ssurgo"],"summary":"Nearby Point","operationId":"nearby_point_nearby_point_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["legacy-ssurgo"],"summary":"Nearby Point","operationId":"nearby_point_nearby_point_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cropyields":{"post":{"tags":["legacy-ssurgo"],"summary":"Crop Yields","operationId":"crop_yields_cropyields_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/cotext/":{"post":{"tags":["legacy-ssurgo"],"summary":"Cotext","operationId":"cotext_cotext__post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/component/horizons":{"post":{"tags":["legacy-ssurgo"],"summary":"Component Horizons","operationId":"component_horizons_component_horizons_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/field-summary":{"post":{"tags":["legacy-ssurgo"],"summary":"Field Summary Route","operationId":"field_summary_route_field_summary_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/om-depletion":{"post":{"tags":["legacy-ssurgo"],"summary":"Om Depletion Route","operationId":"om_depletion_route_om_depletion_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/fema/bbox/":{"get":{"tags":["legacy-ssurgo"],"summary":"Fema Bbox","operationId":"fema_bbox_fema_bbox__get","parameters":[{"name":"sw","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sw"}},{"name":"ne","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ne"}},{"name":"include_x","in":"query","required":false,"schema":{"type":"string","default":"0","title":"Include X"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/fema/panels/":{"get":{"tags":["legacy-ssurgo"],"summary":"Firm Panels","operationId":"firm_panels_fema_panels__get","parameters":[{"name":"sw","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sw"}},{"name":"ne","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ne"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plss/bbox/":{"get":{"tags":["legacy-ssurgo"],"summary":"Plss Bbox","operationId":"plss_bbox_plss_bbox__get","parameters":[{"name":"sw","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sw"}},{"name":"ne","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ne"}},{"name":"db","in":"query","required":false,"schema":{"type":"string","default":"township","title":"Db"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plss/trs/":{"get":{"tags":["legacy-ssurgo"],"summary":"Plss Trs","operationId":"plss_trs_plss_trs__get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"township","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Township"}},{"name":"section","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Section"}},{"name":"range","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Range"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/plss/at/":{"get":{"tags":["legacy-ssurgo"],"summary":"Plss At","operationId":"plss_at_plss_at__get","parameters":[{"name":"point","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Point"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/paytest/ping":{"get":{"tags":["x402"],"summary":"Paytest Ping","operationId":"paytest_ping_paytest_ping_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response Paytest Ping Paytest Ping Get"}}}}}}},"/about":{"get":{"summary":"About","operationId":"about_about_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Response About About Get"}}}}}}}},"components":{"schemas":{"BaseModel":{"properties":{},"type":"object","title":"BaseModel"},"CdlPredictRequest":{"properties":{"lat":{"type":"number","maximum":90.0,"minimum":-90.0,"title":"Lat","description":"Latitude (WGS84) of the field pin."},"lon":{"type":"number","maximum":180.0,"minimum":-180.0,"title":"Lon","description":"Longitude (WGS84) of the field pin."},"target_year":{"type":"integer","maximum":2030.0,"minimum":2019.0,"title":"Target Year","description":"Year to predict. Needs at least 3 years of CSB history before it (CSB currently covers 2018-2025).","default":2026},"top_k":{"type":"integer","maximum":20.0,"minimum":1.0,"title":"Top K","description":"How many candidate crops to return.","default":5},"explain":{"type":"boolean","title":"Explain","description":"If true, include per-feature occlusion attributions for the top-1 class — handy for the 'why this crop?' UI.","default":false}},"type":"object","required":["lat","lon"],"title":"CdlPredictRequest"},"CdlStatsRequest":{"properties":{"geojson":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"string"}],"title":"Geojson","description":"GeoJSON geometry (Polygon/MultiPolygon) or Feature, in EPSG:4326 — as an object or a JSON string."},"years":{"items":{"type":"integer"},"type":"array","title":"Years","description":"CDL years to summarise, e.g. [2022, 2023]."},"rasters":{"type":"boolean","title":"Rasters","description":"If true, include a base64 GeoTIFF and PNG of the clipped raster for each year.","default":false}},"type":"object","required":["geojson","years"],"title":"CdlStatsRequest"},"Discriminator":{"properties":{"propertyName":{"type":"string","title":"Propertyname"},"mapping":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Mapping"}},"type":"object","required":["propertyName"],"title":"Discriminator"},"Encoding":{"properties":{"contentType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contenttype"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Header"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"explode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Explode"},"allowReserved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allowreserved"}},"additionalProperties":true,"type":"object","title":"Encoding"},"Example":{"properties":{"summary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Summary"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"value":{"anyOf":[{},{"type":"null"}],"title":"Value"},"externalValue":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"null"}],"title":"Externalvalue"}},"additionalProperties":true,"type":"object","title":"Example"},"ExternalDocumentation":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"url":{"type":"string","minLength":1,"format":"uri","title":"Url"}},"additionalProperties":true,"type":"object","required":["url"],"title":"ExternalDocumentation"},"Feature":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Feature","title":"Type"},"geometry":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/Point"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/Point","Polygon":"#/components/schemas/Polygon"}}},{"type":"null"}],"title":"Geometry"},"properties":{"anyOf":[{"additionalProperties":true,"type":"object"},{"$ref":"#/components/schemas/BaseModel"},{"type":"null"}],"title":"Properties"},"id":{"anyOf":[{"type":"integer"},{"type":"string"},{"type":"null"}],"title":"Id"}},"type":"object","required":["type","geometry","properties"],"title":"Feature","description":"Feature Model"},"FeatureCollection":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"FeatureCollection","title":"Type"},"features":{"items":{"$ref":"#/components/schemas/Feature"},"type":"array","title":"Features"}},"type":"object","required":["type","features"],"title":"FeatureCollection","description":"FeatureCollection Model"},"GeometryCollection":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"GeometryCollection","title":"Type"},"geometries":{"items":{"oneOf":[{"$ref":"#/components/schemas/Point"},{"$ref":"#/components/schemas/MultiPoint"},{"$ref":"#/components/schemas/LineString"},{"$ref":"#/components/schemas/MultiLineString"},{"$ref":"#/components/schemas/Polygon"},{"$ref":"#/components/schemas/MultiPolygon"},{"$ref":"#/components/schemas/GeometryCollection"}],"discriminator":{"propertyName":"type","mapping":{"GeometryCollection":"#/components/schemas/GeometryCollection","LineString":"#/components/schemas/LineString","MultiLineString":"#/components/schemas/MultiLineString","MultiPoint":"#/components/schemas/MultiPoint","MultiPolygon":"#/components/schemas/MultiPolygon","Point":"#/components/schemas/Point","Polygon":"#/components/schemas/Polygon"}}},"type":"array","title":"Geometries"}},"type":"object","required":["type","geometries"],"title":"GeometryCollection","description":"GeometryCollection Model"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"Header":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"required":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Required"},"deprecated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Deprecated"},"style":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Style"},"explode":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Explode"},"allowReserved":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Allowreserved"},"schema":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"title":"Schema"},"example":{"anyOf":[{},{"type":"null"}],"title":"Example"},"examples":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Example"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Examples"},"content":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/MediaType"},"type":"object"},{"type":"null"}],"title":"Content"}},"additionalProperties":true,"type":"object","title":"Header"},"LineString":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"LineString","title":"Type"},"coordinates":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":2,"title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"LineString","description":"LineString Model"},"Link":{"properties":{"operationRef":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operationref"},"operationId":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Operationid"},"parameters":{"anyOf":[{"additionalProperties":{"anyOf":[{},{"type":"string"}]},"type":"object"},{"type":"null"}],"title":"Parameters"},"requestBody":{"anyOf":[{},{"type":"string"},{"type":"null"}],"title":"Requestbody"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"server":{"anyOf":[{"$ref":"#/components/schemas/Server"},{"type":"null"}]}},"additionalProperties":true,"type":"object","title":"Link"},"MediaType":{"properties":{"schema":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"$ref":"#/components/schemas/Reference"},{"type":"null"}],"title":"Schema"},"example":{"anyOf":[{},{"type":"null"}],"title":"Example"},"examples":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Example"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Examples"},"encoding":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/Encoding"},"type":"object"},{"type":"null"}],"title":"Encoding"}},"additionalProperties":true,"type":"object","title":"MediaType"},"MultiLineString":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"MultiLineString","title":"Type"},"coordinates":{"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":2},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"MultiLineString","description":"MultiLineString Model"},"MultiPoint":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"MultiPoint","title":"Type"},"coordinates":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"MultiPoint","description":"MultiPoint Model"},"MultiPolygon":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"MultiPolygon","title":"Type"},"coordinates":{"items":{"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":4},"type":"array"},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"MultiPolygon","description":"MultiPolygon Model"},"Point":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Point","title":"Type"},"coordinates":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}],"title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"Point","description":"Point Model"},"Polygon":{"properties":{"bbox":{"anyOf":[{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":4,"minItems":4},{"prefixItems":[{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"},{"type":"number"}],"type":"array","maxItems":6,"minItems":6},{"type":"null"}],"title":"Bbox"},"type":{"type":"string","const":"Polygon","title":"Type"},"coordinates":{"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/Position2D"},{"$ref":"#/components/schemas/Position3D"}]},"type":"array","minItems":4},"type":"array","title":"Coordinates"}},"type":"object","required":["type","coordinates"],"title":"Polygon","description":"Polygon Model"},"Position2D":{"prefixItems":[{"type":"number","title":"Longitude"},{"type":"number","title":"Latitude"}],"type":"array","maxItems":2,"minItems":2},"Position3D":{"prefixItems":[{"type":"number","title":"Longitude"},{"type":"number","title":"Latitude"},{"type":"number","title":"Altitude"}],"type":"array","maxItems":3,"minItems":3},"Reference":{"properties":{"$ref":{"type":"string","title":"$Ref"}},"type":"object","required":["$ref"],"title":"Reference"},"Response":{"properties":{"description":{"type":"string","title":"Description"},"headers":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Header"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Headers"},"content":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/MediaType"},"type":"object"},{"type":"null"}],"title":"Content"},"links":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Link"},{"$ref":"#/components/schemas/Reference"}]},"type":"object"},{"type":"null"}],"title":"Links"}},"additionalProperties":true,"type":"object","required":["description"],"title":"Response"},"Schema":{"properties":{"$schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Schema"},"$vocabulary":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Vocabulary"},"$id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Id"},"$anchor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Anchor"},"$dynamicAnchor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Dynamicanchor"},"$ref":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Ref"},"$dynamicRef":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Dynamicref"},"$defs":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"object"},{"type":"null"}],"title":"$Defs"},"$comment":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"$Comment"},"allOf":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Allof"},"anyOf":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Anyof"},"oneOf":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Oneof"},"not":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Not"},"if":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"If"},"then":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Then"},"else":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Else"},"dependentSchemas":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"object"},{"type":"null"}],"title":"Dependentschemas"},"prefixItems":{"anyOf":[{"items":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"array"},{"type":"null"}],"title":"Prefixitems"},"items":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Items"},"contains":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Contains"},"properties":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"object"},{"type":"null"}],"title":"Properties"},"patternProperties":{"anyOf":[{"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"}]},"type":"object"},{"type":"null"}],"title":"Patternproperties"},"additionalProperties":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Additionalproperties"},"propertyNames":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Propertynames"},"unevaluatedItems":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Unevaluateditems"},"unevaluatedProperties":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Unevaluatedproperties"},"type":{"anyOf":[{"type":"string","enum":["array","boolean","integer","null","number","object","string"]},{"items":{"type":"string","enum":["array","boolean","integer","null","number","object","string"]},"type":"array"},{"type":"null"}],"title":"Type"},"enum":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Enum"},"const":{"anyOf":[{},{"type":"null"}],"title":"Const"},"multipleOf":{"anyOf":[{"type":"number","exclusiveMinimum":0.0},{"type":"null"}],"title":"Multipleof"},"maximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Maximum"},"exclusiveMaximum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusivemaximum"},"minimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Minimum"},"exclusiveMinimum":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Exclusiveminimum"},"maxLength":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maxlength"},"minLength":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minlength"},"pattern":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Pattern"},"maxItems":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maxitems"},"minItems":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minitems"},"uniqueItems":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Uniqueitems"},"maxContains":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maxcontains"},"minContains":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Mincontains"},"maxProperties":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Maxproperties"},"minProperties":{"anyOf":[{"type":"integer","minimum":0.0},{"type":"null"}],"title":"Minproperties"},"required":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Required"},"dependentRequired":{"anyOf":[{"additionalProperties":{"items":{"type":"string"},"type":"array","uniqueItems":true},"type":"object"},{"type":"null"}],"title":"Dependentrequired"},"format":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Format"},"contentEncoding":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contentencoding"},"contentMediaType":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contentmediatype"},"contentSchema":{"anyOf":[{"$ref":"#/components/schemas/Schema"},{"type":"boolean"},{"type":"null"}],"title":"Contentschema"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"default":{"anyOf":[{},{"type":"null"}],"title":"Default"},"deprecated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Deprecated"},"readOnly":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Readonly"},"writeOnly":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Writeonly"},"examples":{"anyOf":[{"items":{},"type":"array"},{"type":"null"}],"title":"Examples"},"discriminator":{"anyOf":[{"$ref":"#/components/schemas/Discriminator"},{"type":"null"}]},"xml":{"anyOf":[{"$ref":"#/components/schemas/XML"},{"type":"null"}]},"externalDocs":{"anyOf":[{"$ref":"#/components/schemas/ExternalDocumentation"},{"type":"null"}]},"example":{"anyOf":[{},{"type":"null"}],"title":"Example","deprecated":true}},"additionalProperties":true,"type":"object","title":"Schema"},"Server":{"properties":{"url":{"anyOf":[{"type":"string","minLength":1,"format":"uri"},{"type":"string"}],"title":"Url"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"variables":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/ServerVariable"},"type":"object"},{"type":"null"}],"title":"Variables"}},"additionalProperties":true,"type":"object","required":["url"],"title":"Server"},"ServerVariable":{"properties":{"enum":{"anyOf":[{"items":{"type":"string"},"type":"array","minItems":1},{"type":"null"}],"title":"Enum"},"default":{"type":"string","title":"Default"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"}},"additionalProperties":true,"type":"object","required":["default"],"title":"ServerVariable"},"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"},"XML":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"namespace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Namespace"},"prefix":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Prefix"},"attribute":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Attribute"},"wrapped":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Wrapped"}},"additionalProperties":true,"type":"object","title":"XML"}}}}