UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 310 kB
{"openapi":"3.0.0","info":{"contact":{"name":"US EPA, OECA Integration, Targeting and Access Branch"},"description":"Enforcement and Compliance History Online (ECHO) is a tool developed and maintained by EPA's Office of Enforcement and Compliance Assurance for public use. ECHO provides integrated compliance and enforcement information for about 800,000 regulated facilities nationwide.\n<BR><BR>CWA Rest Services provides multiple service endpoints, each with specific capabilities, to search and retrieve data on facilities regulated under the Clean Water Act (CWA) and managed under the National Pollutant Discharge Elimination System (NPDES) program. The returned results reflect data drawn from EPA's ICIS-NPDES database.\n<BR><BR>\nThe get_facilities, get_map, get_qid, and get_download end points are meant to be used together, while the enhanced get_facility_info end point is self contained.\n The get_facility_info end point returns either an array of state, county or zip clusters with summary statistics per cluster or an array of facilities.\n<br><br>\nThe recommended use scenario for get_facilities, get_qid, get_map, and get_downoad is:\n<br>\n<br><b>1)</b> Use get_facilities to validate passed query parameters, obtain summary statistics and to obtain a query_id (QID). QIDs are time sensitive and will be valid for approximately 30 minutes.\n<br><b>2)</b> Use get_qid, with the returned QID, to paginate through arrays of facility results.\n<br><b>3)</b> Use get_map, with the returned QID, to zoom in/out and pan on the clustered and individual facility coordinates that meet the QID query criteria.\n<br><b>4)</b> Use get_download, with the returned QID, to generate a Comma Separated Value (CSV) file of facility information that meets the QID query criteria.\n<br>\n<br>\nUse the qcolumns parameter to customize your search results. Use the Metdata service endpoint for a list of available output objects, their Column Ids, and their definitions to help you build your customized output. \n<br><br>\nAdditional ECHO Resources: <a href=\"https://echo.epa.gov/tools/web-services\">Web Services</a>, <a href=\"https://echo.epa.gov/resources/echo-data/about-the-data\">About ECHO's Data</a>, <a href=\"https://echo.epa.gov/tools/data-downloads\">Data Downloads</a>\n<br>","license":{"name":"This page was built with the Swagger API.","url":"https://swagger.io"},"title":"U.S. EPA Enforcement and Compliance History Online (ECHO) - Clean Water Act (CWA) Rest Services","version":"0.0.0","x-apisguru-categories":["open_data"],"x-logo":{"backgroundColor":"#FFFFFF","url":"https://pbs.twimg.com/profile_images/632233890594299904/DgRDU6dx_400x400.png"},"x-origin":[{"format":"swagger","url":"https://ofmpub.epa.gov/echo/swaggerx.swagger_json?p_prefix=CWA","version":"2.0"}],"x-providerName":"epa.gov","x-serviceName":"cwa"},"paths":{"/cwa_rest_services.get_download":{"get":{"description":"Based on the QID obtained from a get_facilities or get_facility_info query, return a comma separated value (CSV) file of the facilities found.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- CSV = Facility results formatted as comma delimited file download (default).","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/qid"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results are a comma separated value (CSV) file or a file containing a GeoJSON feature collection.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Clean Water Act (CWA) Download Data Service","tags":["Facility Information"]},"post":{"description":"Based on the QID obtained from a get_facilities or get_facility_info query, return a comma separated value (CSV) file of the facilities found.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- CSV = Facility results formatted as comma delimited file download (default).","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/qid"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results are a comma separated value (CSV) file or a file containing a GeoJSON feature collection.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Clean Water Act (CWA) Download Data Service","tags":["Facility Information"]}},"/cwa_rest_services.get_facilities":{"get":{"description":"Validates query search parameters and returns query identifier. Use the responseset parameter to set the page size","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language.","in":"query","name":"output","required":false,"schema":{"type":"string","enum":["JSONP","JSON","XML"]}},{"$ref":"#/components/parameters/p_fn"},{"$ref":"#/components/parameters/p_sa"},{"$ref":"#/components/parameters/p_sa1"},{"$ref":"#/components/parameters/p_ct"},{"$ref":"#/components/parameters/p_co"},{"$ref":"#/components/parameters/p_fips"},{"$ref":"#/components/parameters/p_st"},{"$ref":"#/components/parameters/p_zip"},{"$ref":"#/components/parameters/p_frs"},{"$ref":"#/components/parameters/p_reg"},{"$ref":"#/components/parameters/p_sic"},{"$ref":"#/components/parameters/p_ncs"},{"$ref":"#/components/parameters/p_pen"},{"$ref":"#/components/parameters/p_c1lat"},{"$ref":"#/components/parameters/p_c1lon"},{"$ref":"#/components/parameters/p_c2lat"},{"$ref":"#/components/parameters/p_c2lon"},{"$ref":"#/components/parameters/p_usmex"},{"$ref":"#/components/parameters/p_sic2"},{"$ref":"#/components/parameters/p_sic4"},{"$ref":"#/components/parameters/p_fa"},{"$ref":"#/components/parameters/p_ff"},{"$ref":"#/components/parameters/p_act"},{"$ref":"#/components/parameters/p_maj"},{"$ref":"#/components/parameters/p_mact"},{"$ref":"#/components/parameters/p_fea"},{"$ref":"#/components/parameters/p_feay"},{"$ref":"#/components/parameters/p_feaa"},{"$ref":"#/components/parameters/p_iea"},{"$ref":"#/components/parameters/p_ieay"},{"$ref":"#/components/parameters/p_ieaa"},{"$ref":"#/components/parameters/p_qiv"},{"$ref":"#/components/parameters/p_iv"},{"$ref":"#/components/parameters/p_impw"},{"$ref":"#/components/parameters/p_imp_cau_grp"},{"$ref":"#/components/parameters/p_imp_pol"},{"$ref":"#/components/parameters/p_trep"},{"$ref":"#/components/parameters/p_pm"},{"$ref":"#/components/parameters/p_pd"},{"$ref":"#/components/parameters/p_ico"},{"$ref":"#/components/parameters/p_huc"},{"$ref":"#/components/parameters/p_pid"},{"$ref":"#/components/parameters/p_med"},{"$ref":"#/components/parameters/p_ysl"},{"$ref":"#/components/parameters/p_ysly"},{"$ref":"#/components/parameters/p_ysla"},{"$ref":"#/components/parameters/p_qs"},{"$ref":"#/components/parameters/p_sfs"},{"$ref":"#/components/parameters/p_tribeid"},{"$ref":"#/components/parameters/p_tribename"},{"$ref":"#/components/parameters/p_tribedist"},{"$ref":"#/components/parameters/p_pstat"},{"$ref":"#/components/parameters/p_ptype"},{"$ref":"#/components/parameters/p_pcomp"},{"$ref":"#/components/parameters/p_plimits"},{"$ref":"#/components/parameters/p_pcss"},{"$ref":"#/components/parameters/p_pexp"},{"$ref":"#/components/parameters/p_owop"},{"$ref":"#/components/parameters/p_agoo"},{"$ref":"#/components/parameters/p_idt1"},{"$ref":"#/components/parameters/p_idt2"},{"$ref":"#/components/parameters/p_pityp"},{"$ref":"#/components/parameters/p_pfead1"},{"$ref":"#/components/parameters/p_pfead2"},{"$ref":"#/components/parameters/p_pfeat"},{"$ref":"#/components/parameters/p_pccs"},{"$ref":"#/components/parameters/p_pexcd"},{"$ref":"#/components/parameters/p_psncq"},{"$ref":"#/components/parameters/p_pctrack"},{"$ref":"#/components/parameters/p_dwd"},{"$ref":"#/components/parameters/p_pt"},{"$ref":"#/components/parameters/p_pdwdist"},{"$ref":"#/components/parameters/p_pswdpc"},{"$ref":"#/components/parameters/p_pswdmp"},{"$ref":"#/components/parameters/p_pswpol"},{"$ref":"#/components/parameters/p_pswcas"},{"$ref":"#/components/parameters/p_pswparam"},{"$ref":"#/components/parameters/p_pswvio"},{"$ref":"#/components/parameters/p_wbd"},{"$ref":"#/components/parameters/p_radwbd"},{"$ref":"#/components/parameters/p_frswbd"},{"$ref":"#/components/parameters/p_fntype"},{"$ref":"#/components/parameters/p_pidall"},{"$ref":"#/components/parameters/p_months_last_dmr"},{"$ref":"#/components/parameters/p_last_dmr_within"},{"$ref":"#/components/parameters/p_indsw"},{"$ref":"#/components/parameters/p_msgp_ptype"},{"$ref":"#/components/parameters/p_mon_type"},{"$ref":"#/components/parameters/p_iagency"},{"$ref":"#/components/parameters/p_isws"},{"$ref":"#/components/parameters/p_iswss"},{"$ref":"#/components/parameters/p_iswssID"},{"$ref":"#/components/parameters/p_ds1"},{"$ref":"#/components/parameters/p_ds2"},{"$ref":"#/components/parameters/p_da1"},{"$ref":"#/components/parameters/p_da2"},{"$ref":"#/components/parameters/p_MS4"},{"$ref":"#/components/parameters/p_ooFN"},{"$ref":"#/components/parameters/p_ooFNtype"},{"$ref":"#/components/parameters/p_ooSA"},{"$ref":"#/components/parameters/p_ooSA1"},{"$ref":"#/components/parameters/p_ooCt"},{"$ref":"#/components/parameters/p_ooSt"},{"$ref":"#/components/parameters/p_ooZip"},{"$ref":"#/components/parameters/p_fac_ico"},{"$ref":"#/components/parameters/p_icoo"},{"$ref":"#/components/parameters/p_fac_icos"},{"$ref":"#/components/parameters/p_ejscreen"},{"$ref":"#/components/parameters/p_alrexceed"},{"$ref":"#/components/parameters/p_limit_addr"},{"$ref":"#/components/parameters/p_lat"},{"$ref":"#/components/parameters/p_long"},{"$ref":"#/components/parameters/p_radius"},{"$ref":"#/components/parameters/p_decouple"},{"$ref":"#/components/parameters/p_ejscreen_over80cnt"},{"$ref":"#/components/parameters/p_bio_flag"},{"$ref":"#/components/parameters/p_bio_fac_type"},{"$ref":"#/components/parameters/p_bio_trtmnt_procs"},{"$ref":"#/components/parameters/p_bio_analy_method_catgry"},{"$ref":"#/components/parameters/p_bio_total_volume_amt"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_type"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_stype"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_handler"},{"$ref":"#/components/parameters/p_bio_mgmt_container"},{"$ref":"#/components/parameters/p_bio_mgmt_pathogen"},{"$ref":"#/components/parameters/p_bio_mgmt_pathred"},{"$ref":"#/components/parameters/p_bio_mgmt_vector"},{"$ref":"#/components/parameters/p_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_mgmt_def_category"},{"$ref":"#/components/parameters/p_bio_mgmt_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_code"},{"$ref":"#/components/parameters/p_bio_current_vio"},{"$ref":"#/components/parameters/p_bio_qtrs_in_vio"},{"$ref":"#/components/parameters/p_bio_rpt_year"},{"$ref":"#/components/parameters/p_bio_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_last_year"},{"$ref":"#/components/parameters/p_msgp_rpt_year"},{"$ref":"#/components/parameters/p_vio_last_year"},{"$ref":"#/components/parameters/queryset"},{"$ref":"#/components/parameters/responseset"},{"$ref":"#/components/parameters/tablelist"},{"$ref":"#/components/parameters/maplist"},{"$ref":"#/components/parameters/summarylist"},{"$ref":"#/components/parameters/callback"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Results are summary statistics for the query and a query identifier (QID).","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa1_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa1_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Clean Water Act (CWA) Facility Search Service","tags":["Facility Information"]},"post":{"description":"Validates query search parameters and returns query identifier. Use the responseset parameter to set the page size","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language.","in":"query","name":"output","required":false,"schema":{"type":"string","enum":["JSONP","JSON","XML"]}},{"$ref":"#/components/parameters/p_fn"},{"$ref":"#/components/parameters/p_sa"},{"$ref":"#/components/parameters/p_sa1"},{"$ref":"#/components/parameters/p_ct"},{"$ref":"#/components/parameters/p_co"},{"$ref":"#/components/parameters/p_fips"},{"$ref":"#/components/parameters/p_st"},{"$ref":"#/components/parameters/p_zip"},{"$ref":"#/components/parameters/p_frs"},{"$ref":"#/components/parameters/p_reg"},{"$ref":"#/components/parameters/p_sic"},{"$ref":"#/components/parameters/p_ncs"},{"$ref":"#/components/parameters/p_pen"},{"$ref":"#/components/parameters/p_c1lat"},{"$ref":"#/components/parameters/p_c1lon"},{"$ref":"#/components/parameters/p_c2lat"},{"$ref":"#/components/parameters/p_c2lon"},{"$ref":"#/components/parameters/p_usmex"},{"$ref":"#/components/parameters/p_sic2"},{"$ref":"#/components/parameters/p_sic4"},{"$ref":"#/components/parameters/p_fa"},{"$ref":"#/components/parameters/p_ff"},{"$ref":"#/components/parameters/p_act"},{"$ref":"#/components/parameters/p_maj"},{"$ref":"#/components/parameters/p_mact"},{"$ref":"#/components/parameters/p_fea"},{"$ref":"#/components/parameters/p_feay"},{"$ref":"#/components/parameters/p_feaa"},{"$ref":"#/components/parameters/p_iea"},{"$ref":"#/components/parameters/p_ieay"},{"$ref":"#/components/parameters/p_ieaa"},{"$ref":"#/components/parameters/p_qiv"},{"$ref":"#/components/parameters/p_iv"},{"$ref":"#/components/parameters/p_impw"},{"$ref":"#/components/parameters/p_imp_cau_grp"},{"$ref":"#/components/parameters/p_imp_pol"},{"$ref":"#/components/parameters/p_trep"},{"$ref":"#/components/parameters/p_pm"},{"$ref":"#/components/parameters/p_pd"},{"$ref":"#/components/parameters/p_ico"},{"$ref":"#/components/parameters/p_huc"},{"$ref":"#/components/parameters/p_pid"},{"$ref":"#/components/parameters/p_med"},{"$ref":"#/components/parameters/p_ysl"},{"$ref":"#/components/parameters/p_ysly"},{"$ref":"#/components/parameters/p_ysla"},{"$ref":"#/components/parameters/p_qs"},{"$ref":"#/components/parameters/p_sfs"},{"$ref":"#/components/parameters/p_tribeid"},{"$ref":"#/components/parameters/p_tribename"},{"$ref":"#/components/parameters/p_tribedist"},{"$ref":"#/components/parameters/p_pstat"},{"$ref":"#/components/parameters/p_ptype"},{"$ref":"#/components/parameters/p_pcomp"},{"$ref":"#/components/parameters/p_plimits"},{"$ref":"#/components/parameters/p_pcss"},{"$ref":"#/components/parameters/p_pexp"},{"$ref":"#/components/parameters/p_owop"},{"$ref":"#/components/parameters/p_agoo"},{"$ref":"#/components/parameters/p_idt1"},{"$ref":"#/components/parameters/p_idt2"},{"$ref":"#/components/parameters/p_pityp"},{"$ref":"#/components/parameters/p_pfead1"},{"$ref":"#/components/parameters/p_pfead2"},{"$ref":"#/components/parameters/p_pfeat"},{"$ref":"#/components/parameters/p_pccs"},{"$ref":"#/components/parameters/p_pexcd"},{"$ref":"#/components/parameters/p_psncq"},{"$ref":"#/components/parameters/p_pctrack"},{"$ref":"#/components/parameters/p_dwd"},{"$ref":"#/components/parameters/p_pt"},{"$ref":"#/components/parameters/p_pdwdist"},{"$ref":"#/components/parameters/p_pswdpc"},{"$ref":"#/components/parameters/p_pswdmp"},{"$ref":"#/components/parameters/p_pswpol"},{"$ref":"#/components/parameters/p_pswcas"},{"$ref":"#/components/parameters/p_pswparam"},{"$ref":"#/components/parameters/p_pswvio"},{"$ref":"#/components/parameters/p_wbd"},{"$ref":"#/components/parameters/p_radwbd"},{"$ref":"#/components/parameters/p_frswbd"},{"$ref":"#/components/parameters/p_fntype"},{"$ref":"#/components/parameters/p_pidall"},{"$ref":"#/components/parameters/p_months_last_dmr"},{"$ref":"#/components/parameters/p_last_dmr_within"},{"$ref":"#/components/parameters/p_indsw"},{"$ref":"#/components/parameters/p_msgp_ptype"},{"$ref":"#/components/parameters/p_mon_type"},{"$ref":"#/components/parameters/p_iagency"},{"$ref":"#/components/parameters/p_isws"},{"$ref":"#/components/parameters/p_iswss"},{"$ref":"#/components/parameters/p_iswssID"},{"$ref":"#/components/parameters/p_ds1"},{"$ref":"#/components/parameters/p_ds2"},{"$ref":"#/components/parameters/p_da1"},{"$ref":"#/components/parameters/p_da2"},{"$ref":"#/components/parameters/p_MS4"},{"$ref":"#/components/parameters/p_ooFN"},{"$ref":"#/components/parameters/p_ooFNtype"},{"$ref":"#/components/parameters/p_ooSA"},{"$ref":"#/components/parameters/p_ooSA1"},{"$ref":"#/components/parameters/p_ooCt"},{"$ref":"#/components/parameters/p_ooSt"},{"$ref":"#/components/parameters/p_ooZip"},{"$ref":"#/components/parameters/p_fac_ico"},{"$ref":"#/components/parameters/p_icoo"},{"$ref":"#/components/parameters/p_fac_icos"},{"$ref":"#/components/parameters/p_ejscreen"},{"$ref":"#/components/parameters/p_alrexceed"},{"$ref":"#/components/parameters/p_limit_addr"},{"$ref":"#/components/parameters/p_lat"},{"$ref":"#/components/parameters/p_long"},{"$ref":"#/components/parameters/p_radius"},{"$ref":"#/components/parameters/p_decouple"},{"$ref":"#/components/parameters/p_ejscreen_over80cnt"},{"$ref":"#/components/parameters/p_bio_flag"},{"$ref":"#/components/parameters/p_bio_fac_type"},{"$ref":"#/components/parameters/p_bio_trtmnt_procs"},{"$ref":"#/components/parameters/p_bio_analy_method_catgry"},{"$ref":"#/components/parameters/p_bio_total_volume_amt"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_type"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_stype"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_handler"},{"$ref":"#/components/parameters/p_bio_mgmt_container"},{"$ref":"#/components/parameters/p_bio_mgmt_pathogen"},{"$ref":"#/components/parameters/p_bio_mgmt_pathred"},{"$ref":"#/components/parameters/p_bio_mgmt_vector"},{"$ref":"#/components/parameters/p_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_mgmt_def_category"},{"$ref":"#/components/parameters/p_bio_mgmt_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_code"},{"$ref":"#/components/parameters/p_bio_current_vio"},{"$ref":"#/components/parameters/p_bio_qtrs_in_vio"},{"$ref":"#/components/parameters/p_bio_rpt_year"},{"$ref":"#/components/parameters/p_bio_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_last_year"},{"$ref":"#/components/parameters/p_msgp_rpt_year"},{"$ref":"#/components/parameters/p_vio_last_year"},{"$ref":"#/components/parameters/queryset"},{"$ref":"#/components/parameters/responseset"},{"$ref":"#/components/parameters/tablelist"},{"$ref":"#/components/parameters/maplist"},{"$ref":"#/components/parameters/summarylist"},{"$ref":"#/components/parameters/callback"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Results are summary statistics for the query and a query identifier (QID).","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa1_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa1_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Clean Water Act (CWA) Facility Search Service","tags":["Facility Information"]}},"/cwa_rest_services.get_facility_info":{"get":{"description":"Returns either an array of Facilities or an array of Clusters that meet the specified search criteria.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language.\n- CSV = Facility results formatted as comma delimited file download.\n- GEOJSON = Facility results formatted as GeoJSON feature collection.\n- GEOJSONP = Facility results formatted as GeoJSON feature collection with Padding.\n- GEOJSOND = Facility results formatted as GeoJSON feature collection download.","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_fn"},{"$ref":"#/components/parameters/p_sa"},{"$ref":"#/components/parameters/p_sa1"},{"$ref":"#/components/parameters/p_ct"},{"$ref":"#/components/parameters/p_co"},{"$ref":"#/components/parameters/p_fips"},{"$ref":"#/components/parameters/p_st"},{"$ref":"#/components/parameters/p_zip"},{"$ref":"#/components/parameters/p_frs"},{"$ref":"#/components/parameters/p_reg"},{"$ref":"#/components/parameters/p_sic"},{"$ref":"#/components/parameters/p_ncs"},{"$ref":"#/components/parameters/p_pen"},{"$ref":"#/components/parameters/xmin"},{"$ref":"#/components/parameters/ymin"},{"$ref":"#/components/parameters/xmax"},{"$ref":"#/components/parameters/ymax"},{"$ref":"#/components/parameters/p_usmex"},{"$ref":"#/components/parameters/p_sic2"},{"$ref":"#/components/parameters/p_sic4"},{"$ref":"#/components/parameters/p_fa"},{"$ref":"#/components/parameters/p_ff"},{"$ref":"#/components/parameters/p_act"},{"$ref":"#/components/parameters/p_maj"},{"$ref":"#/components/parameters/p_mact"},{"$ref":"#/components/parameters/p_fea"},{"$ref":"#/components/parameters/p_feay"},{"$ref":"#/components/parameters/p_feaa"},{"$ref":"#/components/parameters/p_iea"},{"$ref":"#/components/parameters/p_ieay"},{"$ref":"#/components/parameters/p_ieaa"},{"$ref":"#/components/parameters/p_qiv"},{"$ref":"#/components/parameters/p_iv"},{"$ref":"#/components/parameters/p_impw"},{"$ref":"#/components/parameters/p_imp_pol"},{"$ref":"#/components/parameters/p_imp_cau_grp"},{"$ref":"#/components/parameters/p_trep"},{"$ref":"#/components/parameters/p_pm"},{"$ref":"#/components/parameters/p_pd"},{"$ref":"#/components/parameters/p_ico"},{"$ref":"#/components/parameters/p_huc"},{"$ref":"#/components/parameters/p_pid"},{"$ref":"#/components/parameters/p_med"},{"$ref":"#/components/parameters/p_ysl"},{"$ref":"#/components/parameters/p_ysly"},{"$ref":"#/components/parameters/p_ysla"},{"$ref":"#/components/parameters/p_qs"},{"$ref":"#/components/parameters/p_sfs"},{"$ref":"#/components/parameters/p_tribeid"},{"$ref":"#/components/parameters/p_tribename"},{"$ref":"#/components/parameters/p_tribedist"},{"$ref":"#/components/parameters/p_pstat"},{"$ref":"#/components/parameters/p_ptype"},{"$ref":"#/components/parameters/p_pcomp"},{"$ref":"#/components/parameters/p_plimits"},{"$ref":"#/components/parameters/p_pcss"},{"$ref":"#/components/parameters/p_pexp"},{"$ref":"#/components/parameters/p_owop"},{"$ref":"#/components/parameters/p_agoo"},{"$ref":"#/components/parameters/p_idt1"},{"$ref":"#/components/parameters/p_idt2"},{"$ref":"#/components/parameters/p_pityp"},{"$ref":"#/components/parameters/p_pfead1"},{"$ref":"#/components/parameters/p_pfead2"},{"$ref":"#/components/parameters/p_pfeat"},{"$ref":"#/components/parameters/p_pccs"},{"$ref":"#/components/parameters/p_pexcd"},{"$ref":"#/components/parameters/p_psncq"},{"$ref":"#/components/parameters/p_pctrack"},{"$ref":"#/components/parameters/p_dwd"},{"$ref":"#/components/parameters/p_pt"},{"$ref":"#/components/parameters/p_pdwdist"},{"$ref":"#/components/parameters/p_pswdpc"},{"$ref":"#/components/parameters/p_pswdmp"},{"$ref":"#/components/parameters/p_pswpol"},{"$ref":"#/components/parameters/p_pswcas"},{"$ref":"#/components/parameters/p_pswparam"},{"$ref":"#/components/parameters/p_pswvio"},{"$ref":"#/components/parameters/p_wbd"},{"$ref":"#/components/parameters/p_radwbd"},{"$ref":"#/components/parameters/p_frswbd"},{"$ref":"#/components/parameters/p_fntype"},{"$ref":"#/components/parameters/p_pidall"},{"$ref":"#/components/parameters/p_months_last_dmr"},{"$ref":"#/components/parameters/p_last_dmr_within"},{"$ref":"#/components/parameters/p_indsw"},{"$ref":"#/components/parameters/p_msgp_ptype"},{"$ref":"#/components/parameters/p_mon_type"},{"$ref":"#/components/parameters/p_iagency"},{"$ref":"#/components/parameters/p_isws"},{"$ref":"#/components/parameters/p_iswss"},{"$ref":"#/components/parameters/p_iswssID"},{"$ref":"#/components/parameters/p_ds1"},{"$ref":"#/components/parameters/p_ds2"},{"$ref":"#/components/parameters/p_da1"},{"$ref":"#/components/parameters/p_da2"},{"$ref":"#/components/parameters/p_MS4"},{"$ref":"#/components/parameters/p_ooFN"},{"$ref":"#/components/parameters/p_ooFNtype"},{"$ref":"#/components/parameters/p_ooSA"},{"$ref":"#/components/parameters/p_ooSA1"},{"$ref":"#/components/parameters/p_ooCt"},{"$ref":"#/components/parameters/p_ooSt"},{"$ref":"#/components/parameters/p_ooZip"},{"$ref":"#/components/parameters/p_fac_ico"},{"$ref":"#/components/parameters/p_icoo"},{"$ref":"#/components/parameters/p_fac_icos"},{"$ref":"#/components/parameters/p_ejscreen"},{"$ref":"#/components/parameters/p_alrexceed"},{"$ref":"#/components/parameters/p_limit_addr"},{"$ref":"#/components/parameters/p_lat"},{"$ref":"#/components/parameters/p_long"},{"$ref":"#/components/parameters/p_radius"},{"$ref":"#/components/parameters/p_decouple"},{"$ref":"#/components/parameters/p_ejscreen_over80cnt"},{"$ref":"#/components/parameters/p_bio_flag"},{"$ref":"#/components/parameters/p_bio_fac_type"},{"$ref":"#/components/parameters/p_bio_trtmnt_procs"},{"$ref":"#/components/parameters/p_bio_analy_method_catgry"},{"$ref":"#/components/parameters/p_bio_total_volume_amt"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_type"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_stype"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_handler"},{"$ref":"#/components/parameters/p_bio_mgmt_container"},{"$ref":"#/components/parameters/p_bio_mgmt_pathogen"},{"$ref":"#/components/parameters/p_bio_mgmt_pathred"},{"$ref":"#/components/parameters/p_bio_mgmt_vector"},{"$ref":"#/components/parameters/p_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_mgmt_def_category"},{"$ref":"#/components/parameters/p_bio_mgmt_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_code"},{"$ref":"#/components/parameters/p_bio_current_vio"},{"$ref":"#/components/parameters/p_bio_qtrs_in_vio"},{"$ref":"#/components/parameters/p_bio_rpt_year"},{"$ref":"#/components/parameters/p_bio_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_last_year"},{"$ref":"#/components/parameters/p_msgp_rpt_year"},{"$ref":"#/components/parameters/p_vio_last_year"},{"$ref":"#/components/parameters/responseset"},{"$ref":"#/components/parameters/callback"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results will either be an array of Facilities or an array of Clusters. The search will return clusters if the number of facilities returned is greater than the resposeset size, otherwise individual facility records will be returned.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa2_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa2_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Clean Water Act (CWA) Facility Enhanced Search Service","tags":["Facility Information"]},"post":{"description":"Returns either an array of Facilities or an array of Clusters that meet the specified search criteria.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language.\n- CSV = Facility results formatted as comma delimited file download.\n- GEOJSON = Facility results formatted as GeoJSON feature collection.\n- GEOJSONP = Facility results formatted as GeoJSON feature collection with Padding.\n- GEOJSOND = Facility results formatted as GeoJSON feature collection download.","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_fn"},{"$ref":"#/components/parameters/p_sa"},{"$ref":"#/components/parameters/p_sa1"},{"$ref":"#/components/parameters/p_ct"},{"$ref":"#/components/parameters/p_co"},{"$ref":"#/components/parameters/p_fips"},{"$ref":"#/components/parameters/p_st"},{"$ref":"#/components/parameters/p_zip"},{"$ref":"#/components/parameters/p_frs"},{"$ref":"#/components/parameters/p_reg"},{"$ref":"#/components/parameters/p_sic"},{"$ref":"#/components/parameters/p_ncs"},{"$ref":"#/components/parameters/p_pen"},{"$ref":"#/components/parameters/xmin"},{"$ref":"#/components/parameters/ymin"},{"$ref":"#/components/parameters/xmax"},{"$ref":"#/components/parameters/ymax"},{"$ref":"#/components/parameters/p_usmex"},{"$ref":"#/components/parameters/p_sic2"},{"$ref":"#/components/parameters/p_sic4"},{"$ref":"#/components/parameters/p_fa"},{"$ref":"#/components/parameters/p_ff"},{"$ref":"#/components/parameters/p_act"},{"$ref":"#/components/parameters/p_maj"},{"$ref":"#/components/parameters/p_mact"},{"$ref":"#/components/parameters/p_fea"},{"$ref":"#/components/parameters/p_feay"},{"$ref":"#/components/parameters/p_feaa"},{"$ref":"#/components/parameters/p_iea"},{"$ref":"#/components/parameters/p_ieay"},{"$ref":"#/components/parameters/p_ieaa"},{"$ref":"#/components/parameters/p_qiv"},{"$ref":"#/components/parameters/p_iv"},{"$ref":"#/components/parameters/p_impw"},{"$ref":"#/components/parameters/p_imp_pol"},{"$ref":"#/components/parameters/p_imp_cau_grp"},{"$ref":"#/components/parameters/p_trep"},{"$ref":"#/components/parameters/p_pm"},{"$ref":"#/components/parameters/p_pd"},{"$ref":"#/components/parameters/p_ico"},{"$ref":"#/components/parameters/p_huc"},{"$ref":"#/components/parameters/p_pid"},{"$ref":"#/components/parameters/p_med"},{"$ref":"#/components/parameters/p_ysl"},{"$ref":"#/components/parameters/p_ysly"},{"$ref":"#/components/parameters/p_ysla"},{"$ref":"#/components/parameters/p_qs"},{"$ref":"#/components/parameters/p_sfs"},{"$ref":"#/components/parameters/p_tribeid"},{"$ref":"#/components/parameters/p_tribename"},{"$ref":"#/components/parameters/p_tribedist"},{"$ref":"#/components/parameters/p_pstat"},{"$ref":"#/components/parameters/p_ptype"},{"$ref":"#/components/parameters/p_pcomp"},{"$ref":"#/components/parameters/p_plimits"},{"$ref":"#/components/parameters/p_pcss"},{"$ref":"#/components/parameters/p_pexp"},{"$ref":"#/components/parameters/p_owop"},{"$ref":"#/components/parameters/p_agoo"},{"$ref":"#/components/parameters/p_idt1"},{"$ref":"#/components/parameters/p_idt2"},{"$ref":"#/components/parameters/p_pityp"},{"$ref":"#/components/parameters/p_pfead1"},{"$ref":"#/components/parameters/p_pfead2"},{"$ref":"#/components/parameters/p_pfeat"},{"$ref":"#/components/parameters/p_pccs"},{"$ref":"#/components/parameters/p_pexcd"},{"$ref":"#/components/parameters/p_psncq"},{"$ref":"#/components/parameters/p_pctrack"},{"$ref":"#/components/parameters/p_dwd"},{"$ref":"#/components/parameters/p_pt"},{"$ref":"#/components/parameters/p_pdwdist"},{"$ref":"#/components/parameters/p_pswdpc"},{"$ref":"#/components/parameters/p_pswdmp"},{"$ref":"#/components/parameters/p_pswpol"},{"$ref":"#/components/parameters/p_pswcas"},{"$ref":"#/components/parameters/p_pswparam"},{"$ref":"#/components/parameters/p_pswvio"},{"$ref":"#/components/parameters/p_wbd"},{"$ref":"#/components/parameters/p_radwbd"},{"$ref":"#/components/parameters/p_frswbd"},{"$ref":"#/components/parameters/p_fntype"},{"$ref":"#/components/parameters/p_pidall"},{"$ref":"#/components/parameters/p_months_last_dmr"},{"$ref":"#/components/parameters/p_last_dmr_within"},{"$ref":"#/components/parameters/p_indsw"},{"$ref":"#/components/parameters/p_msgp_ptype"},{"$ref":"#/components/parameters/p_mon_type"},{"$ref":"#/components/parameters/p_iagency"},{"$ref":"#/components/parameters/p_isws"},{"$ref":"#/components/parameters/p_iswss"},{"$ref":"#/components/parameters/p_iswssID"},{"$ref":"#/components/parameters/p_ds1"},{"$ref":"#/components/parameters/p_ds2"},{"$ref":"#/components/parameters/p_da1"},{"$ref":"#/components/parameters/p_da2"},{"$ref":"#/components/parameters/p_MS4"},{"$ref":"#/components/parameters/p_ooFN"},{"$ref":"#/components/parameters/p_ooFNtype"},{"$ref":"#/components/parameters/p_ooSA"},{"$ref":"#/components/parameters/p_ooSA1"},{"$ref":"#/components/parameters/p_ooCt"},{"$ref":"#/components/parameters/p_ooSt"},{"$ref":"#/components/parameters/p_ooZip"},{"$ref":"#/components/parameters/p_fac_ico"},{"$ref":"#/components/parameters/p_icoo"},{"$ref":"#/components/parameters/p_fac_icos"},{"$ref":"#/components/parameters/p_ejscreen"},{"$ref":"#/components/parameters/p_alrexceed"},{"$ref":"#/components/parameters/p_limit_addr"},{"$ref":"#/components/parameters/p_lat"},{"$ref":"#/components/parameters/p_long"},{"$ref":"#/components/parameters/p_radius"},{"$ref":"#/components/parameters/p_decouple"},{"$ref":"#/components/parameters/p_ejscreen_over80cnt"},{"$ref":"#/components/parameters/p_bio_flag"},{"$ref":"#/components/parameters/p_bio_fac_type"},{"$ref":"#/components/parameters/p_bio_trtmnt_procs"},{"$ref":"#/components/parameters/p_bio_analy_method_catgry"},{"$ref":"#/components/parameters/p_bio_total_volume_amt"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_type"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_stype"},{"$ref":"#/components/parameters/p_bio_mgmt_prctce_handler"},{"$ref":"#/components/parameters/p_bio_mgmt_container"},{"$ref":"#/components/parameters/p_bio_mgmt_pathogen"},{"$ref":"#/components/parameters/p_bio_mgmt_pathred"},{"$ref":"#/components/parameters/p_bio_mgmt_vector"},{"$ref":"#/components/parameters/p_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_mgmt_def_category"},{"$ref":"#/components/parameters/p_bio_mgmt_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_code"},{"$ref":"#/components/parameters/p_bio_current_vio"},{"$ref":"#/components/parameters/p_bio_qtrs_in_vio"},{"$ref":"#/components/parameters/p_bio_rpt_year"},{"$ref":"#/components/parameters/p_bio_insp_deficiencies"},{"$ref":"#/components/parameters/p_bio_vio_last_year"},{"$ref":"#/components/parameters/p_msgp_rpt_year"},{"$ref":"#/components/parameters/p_vio_last_year"},{"$ref":"#/components/parameters/responseset"},{"$ref":"#/components/parameters/callback"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results will either be an array of Facilities or an array of Clusters. The search will return clusters if the number of facilities returned is greater than the resposeset size, otherwise individual facility records will be returned.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa2_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa2_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Clean Water Act (CWA) Facility Enhanced Search Service","tags":["Facility Information"]}},"/cwa_rest_services.get_geojson":{"get":{"description":"Based on the QID obtained from a get_facilities or get_facility_info query, return GeoJSON of the facilities found.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- GEOJSON = Facility results formatted as GeoJSON feature collection (default).\n- GEOJSONP = Facility results formatted as GeoJSON feature collection with Padding.\n- GEOJSOND = Facility results formatted as GeoJSON feature collection download.","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/qid"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/newsort"},{"$ref":"#/components/parameters/descending"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results are formatted as a GeoJSON feature collection.","content":{"application/json":{"schema":{"description":"GeoJSON Feature Collection Object","properties":{"features":{"description":"Array of GeoJSON feature objects.","items":{"$ref":"#/components/schemas/cwa5_Feature"},"title":"Features Array","type":"array"},"type":{"description":"Static marker indicating object is a GeoJSON Feature Collection.","example":"FeatureCollection","title":"Feature Collection","type":"string"}},"required":["type","features"],"type":"object"}},"application/xml":{"schema":{"description":"GeoJSON Feature Collection Object","properties":{"features":{"description":"Array of GeoJSON feature objects.","items":{"$ref":"#/components/schemas/cwa5_Feature"},"title":"Features Array","type":"array"},"type":{"description":"Static marker indicating object is a GeoJSON Feature Collection.","example":"FeatureCollection","title":"Feature Collection","type":"string"}},"required":["type","features"],"type":"object"}}}}},"summary":"Clean Water Act (CWA) GeoJSON Service","tags":["Facility Information"]},"post":{"description":"Based on the QID obtained from a get_facilities or get_facility_info query, return GeoJSON of the facilities found.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- GEOJSON = Facility results formatted as GeoJSON feature collection (default).\n- GEOJSONP = Facility results formatted as GeoJSON feature collection with Padding.\n- GEOJSOND = Facility results formatted as GeoJSON feature collection download.","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/qid"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/newsort"},{"$ref":"#/components/parameters/descending"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results are formatted as a GeoJSON feature collection.","content":{"application/json":{"schema":{"description":"GeoJSON Feature Collection Object","properties":{"features":{"description":"Array of GeoJSON feature objects.","items":{"$ref":"#/components/schemas/cwa5_Feature"},"title":"Features Array","type":"array"},"type":{"description":"Static marker indicating object is a GeoJSON Feature Collection.","example":"FeatureCollection","title":"Feature Collection","type":"string"}},"required":["type","features"],"type":"object"}},"application/xml":{"schema":{"description":"GeoJSON Feature Collection Object","properties":{"features":{"description":"Array of GeoJSON feature objects.","items":{"$ref":"#/components/schemas/cwa5_Feature"},"title":"Features Array","type":"array"},"type":{"description":"Static marker indicating object is a GeoJSON Feature Collection.","example":"FeatureCollection","title":"Feature Collection","type":"string"}},"required":["type","features"],"type":"object"}}}}},"summary":"Clean Water Act (CWA) GeoJSON Service","tags":["Facility Information"]}},"/cwa_rest_services.get_info_clusters":{"get":{"description":"Based on the QID obtained from a clustered get_facility_info query, download cluster facility information as either a CSV or GEOJSON file.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- CSV = Facility results formatted as comma delimited file download (default).\n- GEOJSOND = Facility results formatted as GeoJSON feature collection download.","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_qid"},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results are a comma separated value (CSV) file or a file containing a GeoJSON feature collection.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Clean Water Act (CWA) Info Clusters Service","tags":["Facility Information"]},"post":{"description":"Based on the QID obtained from a clustered get_facility_info query, download cluster facility information as either a CSV or GEOJSON file.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- CSV = Facility results formatted as comma delimited file download (default).\n- GEOJSOND = Facility results formatted as GeoJSON feature collection download.","in":"query","name":"output","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/p_qid"},{"$ref":"#/components/parameters/p_pretty_print"}],"responses":{"200":{"description":"Results are a comma separated value (CSV) file or a file containing a GeoJSON feature collection.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Clean Water Act (CWA) Info Clusters Service","tags":["Facility Information"]}},"/cwa_rest_services.get_map":{"get":{"description":"The purpose of the GET_MAP service is to display facility coordinates and facility clusters related to a get_facilities facility query. Currently, the maximum number of coordinates returned is 500. GET_MAP performs automatic clustering at the state, county, and zip code levels to maximize the number of coordinates returned.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language.","in":"query","name":"output","required":false,"schema":{"type":"string","enum":["JSONP","JSON","XML"]}},{"$ref":"#/components/parameters/qid"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/tablelist"},{"$ref":"#/components/parameters/c1_lat"},{"$ref":"#/components/parameters/c1_long"},{"$ref":"#/components/parameters/c2_lat"},{"$ref":"#/components/parameters/c2_long"},{"$ref":"#/components/parameters/p_id"}],"responses":{"200":{"description":"Results are either an array of State, County, Zip Code facility cluster map coordinates or individual facility coordinates. Coordinates provided are in WGS84.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"MapOutput":{"$ref":"#/components/schemas/cwa3_MapOutput"}},"required":["MapOutput"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"MapOutput":{"$ref":"#/components/schemas/cwa3_MapOutput"}},"required":["MapOutput"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Clean Water Act (CWA) Map Service","tags":["Facility Information"]},"post":{"description":"The purpose of the GET_MAP service is to display facility coordinates and facility clusters related to a get_facilities facility query. Currently, the maximum number of coordinates returned is 500. GET_MAP performs automatic clustering at the state, county, and zip code levels to maximize the number of coordinates returned.","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language.","in":"query","name":"output","required":false,"schema":{"type":"string","enum":["JSONP","JSON","XML"]}},{"$ref":"#/components/parameters/qid"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/tablelist"},{"$ref":"#/components/parameters/c1_lat"},{"$ref":"#/components/parameters/c1_long"},{"$ref":"#/components/parameters/c2_lat"},{"$ref":"#/components/parameters/c2_long"},{"$ref":"#/components/parameters/p_id"}],"responses":{"200":{"description":"Results are either an array of State, County, Zip Code facility cluster map coordinates or individual facility coordinates. Coordinates provided are in WGS84.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"MapOutput":{"$ref":"#/components/schemas/cwa3_MapOutput"}},"required":["MapOutput"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"MapOutput":{"$ref":"#/components/schemas/cwa3_MapOutput"}},"required":["MapOutput"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Clean Water Act (CWA) Map Service","tags":["Facility Information"]}},"/cwa_rest_services.get_qid":{"get":{"description":"GET_QID is passed with a query ID corresponding to a previously run get_facilities query. It then returns a Facility object containing all matching facilities. The main purpose of GET_QID is for large querysets that contain multiple pages (responsesets) of output. GET_QID allows for pagination and for the selection and sorting of columns. ","parameters":[{"description":"Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Padding. \n- XML = Data model formatted as Extensible Markup Language.","in":"query","name":"output","required":false,"schema":{"type":"string","enum":["JSONP","JSON","XML"]}},{"$ref":"#/components/parameters/qid"},{"$ref":"#/components/parameters/pageno"},{"$ref":"#/components/parameters/callback"},{"$ref":"#/components/parameters/newsort"},{"$ref":"#/components/parameters/descending"},{"description":"Used to cutomize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object or download. Use the metadata service endpoint for a complete list of Ids and definitions.","in":"query","name":"qcolumns","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"Results are an array (page) of CWA (ICIS NPDES) Facilities with the number of facilities equal to the responseset (page size).","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa4_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/cwa4_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Clean Water Act (CWA) Paginated Results Service","tags":["Facility Information"]},"post":{"description":"GET_QID is passed with a query ID corresponding to a previously run get_facilities query. It then returns a Facility object containing all matching facilities. The main purpose of GET_QID is for large querysets that contain multiple pages (responsesets) of output. GET_QID allows for pagination and for the selection and sorting of columns. "