UNPKG

openapi-directory

Version:

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

1 lines 526 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 over 1 million regulated facilities nationwide.\n\nDFR Rest Services provide multiple service endpoints, to retrieve detailed facility location, enforcement, compliance monitoring, and pollutant information for any single facility. See the Detailed Facility Report (DFR) Help Page (https://echo.epa.gov/help/reports/detailed-facility-report-help) for additional information on the DFR. Additionally, a Data Dictionary (https://echo.epa.gov/help/reports/dfr-data-dictionary) is also available. \nThere is one primary service end point, get_dfr, that provides all available DFR data. All other service end points that are exposed, will return data on a single section of the DFR. \n\\\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 ","license":{"name":"This page was built with the Swagger API.","url":"https://swagger.io"},"title":"U.S. EPA Enforcement and Compliance History Online (ECHO) - Detailed Facility Report (DFR)","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=DFR","version":"2.0"}],"x-providerName":"epa.gov","x-serviceName":"dfr"},"paths":{"/dfr_rest_services.air_3_yr_download":{"get":{"description":"For the provided system identifier, dowloads all displayed Air quaterly/monthly Facility Level Status, High Priority Violation (HPV) History, HPV Detailed Violations and Federal Reportable Violation information in a Comma Seperated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads the complete Air Compliance History Section of the DFR","tags":["Detailed Facility Report"]},"post":{"description":"For the provided system identifier, dowloads all displayed Air quaterly/monthly Facility Level Status, High Priority Violation (HPV) History, HPV Detailed Violations and Federal Reportable Violation information in a Comma Seperated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads the complete Air Compliance History Section of the DFR","tags":["Detailed Facility Report"]}},"/dfr_rest_services.cwa_3_yr_effluent_download":{"get":{"description":"For the provided system identifier, dowloads all displayed NPDES quaterly/monthly effluent violation information in a Comma Seperated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads NPDES Effluent Violation Information by month and quarter.","tags":["Detailed Facility Report"]},"post":{"description":"For the provided system identifier, dowloads all displayed NPDES quaterly/monthly effluent violation information in a Comma Seperated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads NPDES Effluent Violation Information by month and quarter.","tags":["Detailed Facility Report"]}},"/dfr_rest_services.cwa_3_yr_sepscs_download":{"get":{"description":"For the provided system identifier, dowloads all displayed NPDES quaterly/monthly Compliance Schedule, Permit Schedule, and Single Event Violation information in a Comma Seperated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads NPDES Compliance Schedule, Permit Schedule and Single Event Violation Information by month and quarter.","tags":["Detailed Facility Report"]},"post":{"description":"For the provided system identifier, dowloads all displayed NPDES quaterly/monthly Compliance Schedule, Permit Schedule, and Single Event Violation information in a Comma Seperated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads NPDES Compliance Schedule, Permit Schedule and Single Event Violation Information by month and quarter.","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_air_compliance":{"get":{"description":"This procedure obtains data for Air Compliance in the Environmental Conditions Section of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of compliance statuses for 12 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr001_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr001_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Air Compliance Report Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for Air Compliance in the Environmental Conditions Section of the DFR.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of compliance statuses for 12 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr001_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr001_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Air Compliance Report Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_air_quality":{"get":{"description":"This procedure obtains data for Air Quality in the Environmental Conditions Section of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes information on air quality","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr002_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr002_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Air Quality Report Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for Air Quality in the Environmental Conditions Section of the DFR.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes information on air quality","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr002_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr002_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Air Quality Report Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_aws_docs":{"get":{"parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_aws_docs.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_aws_docs.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Placeholder","tags":["Detailed Facility Report"]},"post":{"requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_aws_docs.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_aws_docs.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Placeholder","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_case_formal_actions":{"get":{"description":"Displays closed case information from EPA's Federal Enforcement & Compliance System that are related to the facility.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes information on cases.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr004"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr004"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays Cases related to the Facility","tags":["Detailed Facility Report"]},"post":{"description":"Displays closed case information from EPA's Federal Enforcement & Compliance System that are related to the facility.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes information on cases.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr004"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr004"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays Cases related to the Facility","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_compliance_history":{"get":{"description":"This procedure obtains data for the Compliance Monitoring History (5 years) in the Enforcement and Compliance Section of the Detailed Facility report.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of compliance histories","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr005_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr005_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report 5 Year Compliance Monitoring History Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the Compliance Monitoring History (5 years) in the Enforcement and Compliance Section of the Detailed Facility report.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of compliance histories","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr005_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr005_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report 5 Year Compliance Monitoring History Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_compliance_summary":{"get":{"description":"This procedure obtains data for Compliance Summary Data in the Enforcement and Compliance Section of the Detailed Facility report.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of compliance summaries","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr006_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr006_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Compliance Summary Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for Compliance Summary Data in the Enforcement and Compliance Section of the Detailed Facility report.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of compliance summaries","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr006_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr006_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Compliance Summary Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_csv":{"get":{"description":"For a supplied system id and DFR section name, the procedure will download that section in a Comma Separated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads a spectific section of the DFR in CSV Format","tags":["Detailed Facility Report"]},"post":{"description":"For a supplied system id and DFR section name, the procedure will download that section in a Comma Separated Value (CSV) format.","responses":{"200":{"description":"Results are a comma separated value (CSV) file.","content":{"application/json":{"schema":{"type":"string","format":"binary"}},"application/xml":{"schema":{"type":"string","format":"binary"}}}}},"summary":"Downloads a spectific section of the DFR in CSV Format","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_3yr_compliance":{"get":{"description":"This procedure obtains data for the CWA Facility-Level Status section located in the Three Year Compliance Status by Quarter portion of the DFR. Valid Compliance Statuses are as follows:\n> \"In Viol\" = Facility is in violation\n> \"No Viol\" = No violation found\n> \"Unk\" = Unknown status\n> \"SNC/Cat 1\" = SNC/Category I violation found","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of compliance statuses for 13 quarters","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr009_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr009_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report 3 Year CWA Facility-Level Status Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the CWA Facility-Level Status section located in the Three Year Compliance Status by Quarter portion of the DFR. Valid Compliance Statuses are as follows:\n> \"In Viol\" = Facility is in violation\n> \"No Viol\" = No violation found\n> \"Unk\" = Unknown status\n> \"SNC/Cat 1\" = SNC/Category I violation found","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of compliance statuses for 13 quarters","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr009_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr009_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report 3 Year CWA Facility-Level Status Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_3yr_d80d90_counts":{"get":{"description":"Displays monlthly and quarterly counts of D80 and D90 Effluent Non Reporting Violations Related to the Facility from EPA's ICIS NPDES System.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of D80/D90 counts for 13 quarters and 39 months.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr007_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr007_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays monlthly and quarterly counts of D80 and D90 Effluent Non Reporting Violations Related to the Facility","tags":["Detailed Facility Report"]},"post":{"description":"Displays monlthly and quarterly counts of D80 and D90 Effluent Non Reporting Violations Related to the Facility from EPA's ICIS NPDES System.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of D80/D90 counts for 13 quarters and 39 months.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr007_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr007_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays monlthly and quarterly counts of D80 and D90 Effluent Non Reporting Violations Related to the Facility","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_cs_compliance":{"get":{"description":"This procedure obtains data for the CWA Compliance Schedule Violations section of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of compliance statuses for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr010_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr010_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA CSV Compliance Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the CWA Compliance Schedule Violations section of the DFR.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of compliance statuses for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr010_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr010_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA CSV Compliance Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_eff_alr":{"get":{"description":"This procedure obtains data for the CWA Pollutant Discharge section located in the Three Year Compliance Status by Quarter portion of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of effluent ALR for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr011_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr011_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA Effluent ALR Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the CWA Pollutant Discharge section located in the Three Year Compliance Status by Quarter portion of the DFR.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of effluent ALR for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr011_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr011_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA Effluent ALR Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_eff_alr_exp":{"get":{"parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_alr_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_alr_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Placeholder","tags":["Detailed Facility Report"]},"post":{"requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_alr_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_alr_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Placeholder","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_eff_compliance":{"get":{"description":"This procedure obtains data for the CWA Effluent Compliance section on the DFR. ","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of effluent compliance statuses for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr012_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr012_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA Effluent Compliance Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the CWA Effluent Compliance section on the DFR. ","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of effluent compliance statuses for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr012_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr012_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA Effluent Compliance Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_eff_compliance_exp":{"get":{"parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_compliance_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_compliance_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Placeholder","tags":["Detailed Facility Report"]},"post":{"requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_compliance_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_cwa_eff_compliance_exp.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Placeholder","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_ps_compliance":{"get":{"description":"This procedure obtains data for the CWA Permit Schedule Violations section of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of permit schedule violations for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr013_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr013_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA PSV Compliance Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the CWA Permit Schedule Violations section of the DFR.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of permit schedule violations for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr013_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr013_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA PSV Compliance Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_rnc_compliance":{"get":{"description":"This procedure obtains data for the CWA SNC/RNC History section located in the Three Year ompliance Status by Quarter portion of the DFR. Valid Compliance Statuses are as follows.\n> S = SNC/Category I - an enforcement action has been issued, and the facility is not meeting its compliance schedule\n> E = SNC/Category I - effluent violations of monthly average limits (Technical Review Criteria and chronic)\n> X = SNC/Category I - effluent violations of non-monthly average limits (Technical Review Criteria and chronic)\n> T = SNC/Category I - compliance schedule reporting violation\n> D = SNC/Category I - reporting violation - nonreceipt of DMR\n> N = RNC/Category II - reportable non-compliance\n> P = Resolved Pending - an enforcement action has been issued, and facility compliance with the action is pending final completion\n> R = Resolved - the facility has returned to compliance with its permit conditions, either with or without issuance of an enforcement action\n> C = Not considered in RNC/SNC based on manual review of data by state or EPA region. This manual override status is also indicated by a superscripted \"m\".\n> Blank = Not considered in RNC/SNC\n> N/A = EPA's data system is not able to determine the facility-level compliance status based upon the information available. This information may be available from a state database.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of RNC compliance statuses for 12 quarters","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr014_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr014_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA RNC Compliance Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the CWA SNC/RNC History section located in the Three Year ompliance Status by Quarter portion of the DFR. Valid Compliance Statuses are as follows.\n> S = SNC/Category I - an enforcement action has been issued, and the facility is not meeting its compliance schedule\n> E = SNC/Category I - effluent violations of monthly average limits (Technical Review Criteria and chronic)\n> X = SNC/Category I - effluent violations of non-monthly average limits (Technical Review Criteria and chronic)\n> T = SNC/Category I - compliance schedule reporting violation\n> D = SNC/Category I - reporting violation - nonreceipt of DMR\n> N = RNC/Category II - reportable non-compliance\n> P = Resolved Pending - an enforcement action has been issued, and facility compliance with the action is pending final completion\n> R = Resolved - the facility has returned to compliance with its permit conditions, either with or without issuance of an enforcement action\n> C = Not considered in RNC/SNC based on manual review of data by state or EPA region. This manual override status is also indicated by a superscripted \"m\".\n> Blank = Not considered in RNC/SNC\n> N/A = EPA's data system is not able to determine the facility-level compliance status based upon the information available. This information may be available from a state database.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of RNC compliance statuses for 12 quarters","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr014_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr014_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA RNC Compliance Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_cwa_se_compliance":{"get":{"description":"This procedure obtains data for the CWA Single Event Violations section of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of single-event statuses for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr015_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr015_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA SEV Compliance Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the CWA Single Event Violations section of the DFR.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of single-event statuses for 13 quarters.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr015_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr015_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report CWA SEV Compliance Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_d80d90s_details":{"get":{"description":"Displays detailed D80/D90 Effluent Non Reporting information from EPA's ICIS NPDES system for the facility for a given quarter or month.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_npdes_id"},{"$ref":"#/components/parameters/q.p_missinglate"},{"$ref":"#/components/parameters/q.p_qmtype"},{"$ref":"#/components/parameters/q.p_qmvalue"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes information for D80/D90 violations.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_d80d90s_details.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_d80d90s_details.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Display detailed D80/D90 information for the facility for a given quarter or month","tags":["Detailed Facility Report"]},"post":{"description":"Displays detailed D80/D90 Effluent Non Reporting information from EPA's ICIS NPDES system for the facility for a given quarter or month.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_npdes_id"},{"$ref":"#/components/parameters/q.p_missinglate"},{"$ref":"#/components/parameters/q.p_qmtype"},{"$ref":"#/components/parameters/q.p_qmvalue"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes information for D80/D90 violations.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_d80d90s_details.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_d80d90s_details.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Display detailed D80/D90 information for the facility for a given quarter or month","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_demographics_by_id":{"get":{"description":"Displays precalculated 2010 Census and American Community Survey demographic information for a provided facility identifier.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes demographics","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr017_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr017_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays 2010 Census and ACS demographics by Facility ID","tags":["Detailed Facility Report"]},"post":{"description":"Displays precalculated 2010 Census and American Community Survey demographic information for a provided facility identifier.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes demographics","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr017_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr017_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays 2010 Census and ACS demographics by Facility ID","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_dfr":{"get":{"description":"This procedure is the overall service for the Detailed Facility Report. It returns all of the data displayed in the DFR web report by invoking individual procedures that each return a targeted portion of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.p_system"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns a complex object (Detailed Facility Report) composed of objects from all of the other procedures.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr018_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr018_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure is the overall service for the Detailed Facility Report. It returns all of the data displayed in the DFR web report by invoking individual procedures that each return a targeted portion of the DFR.","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"output":{"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.","type":"string","enum":["JSONP","JSON","XML"]},"p_id":{"description":"Either the EPA Facility Registry System's REGISTRY_ID for a facility or the facility identifier from the following EPA Systems: RCRAINFO (HANDLER_ID), AFS (SCSC), ICIS NPDES (NPDES_ID), or SDWIS (PWS_ID).","type":"string"},"p_system":{"description":"System Acronym Filter. Enter a single system acronym to filter results.","type":"string"},"callback":{"description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.","type":"string"}},"required":["p_id"]}}}},"responses":{"200":{"description":"Returns a complex object (Detailed Facility Report) composed of objects from all of the other procedures.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr018_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr018_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_ejscreen_indexes":{"get":{"parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_ejscreen_indexes.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_ejscreen_indexes.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report EJScreen Indexes Service","tags":["Detailed Facility Report"]},"post":{"requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Results","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_ejscreen_indexes.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr0_get_ejscreen_indexes.Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report EJScreen Indexes Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_enforcement_summary":{"get":{"description":"This procedure obtains data for the Enforcement and Compliance Summary in the Facility Summary section of the Detailed Facility Report.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of enforcement compliance summaries","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr114_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr114_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Enforcement Summary Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the Enforcement and Compliance Summary in the Facility Summary section of the Detailed Facility Report.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes an array of enforcement compliance summaries","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr114_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr114_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Enforcement Summary Service","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_extract_dates":{"get":{"description":"By EPA System, displays the extract dates that data was extracted for the DFR from multiple EPA computer systems.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes information on DFR system extract dates.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr115"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr115"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays the dates that data was extracted from native EPA systems for the DFR.","tags":["Detailed Facility Report"]},"post":{"description":"By EPA System, displays the extract dates that data was extracted for the DFR from multiple EPA computer systems.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns an object that includes information on DFR system extract dates.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr115"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr115"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Displays the dates that data was extracted from native EPA systems for the DFR.","tags":["Detailed Facility Report"]}},"/dfr_rest_services.get_formal_actions":{"get":{"description":"This procedure obtains data for the Formal Enforcement Actions section of the DFR.","parameters":[{"$ref":"#/components/parameters/q.output"},{"$ref":"#/components/parameters/q.p_id"},{"$ref":"#/components/parameters/q.callback"}],"responses":{"200":{"description":"Returns an object that includes an array of formal actions.","content":{"application/json":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr116_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}},"application/xml":{"schema":{"description":"Root Object","properties":{"Results":{"$ref":"#/components/schemas/dfr116_Results"}},"required":["Results"],"type":"object","xml":{"name":"Root"}}}}}},"summary":"Detailed Facility Report Formal Actions Service","tags":["Detailed Facility Report"]},"post":{"description":"This procedure obtains data for the Formal Enforcement Actions section of the DFR.","requestBody":{"$ref":"#/components/requestBodies/postDfrRestServicesGetAirCompliance"},"responses":{"200":{"description":"Returns a