{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/open-data:epa-sdw/get-sdw-rest-services-get-download":{"get":{"operationId":"open_data_epa_sdw_get_sdw_rest_services_get_download","summary":"Safe Drinking Water Act (SDWA) Download Data Service","description":"GET /sdw_rest_services.get_download","tags":["open-data"],"parameters":[{"name":"output","in":"query","required":false,"description":"Output Format Flag. Enter one of the following keywords: - CSV = Facility results formatted as comma delimited file download (default).","schema":{"type":"string","description":"Output Format Flag. Enter one of the following keywords: - CSV = Facility results formatted as comma delimited file download (default)."}},{"name":"qid","in":"query","required":true,"description":"Query ID Selector. Enter the QueryID number from a previously run query.","schema":{"type":"string","description":"Query ID Selector. Enter the QueryID number from a previously run query."}},{"name":"qcolumns","in":"query","required":false,"description":"Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object…","schema":{"type":"string","description":"Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-sdw/post-sdw-rest-services-get-download":{"post":{"operationId":"open_data_epa_sdw_post_sdw_rest_services_get_download","summary":"Safe Drinking Water Act (SDWA) Download Data Service","description":"POST /sdw_rest_services.get_download","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/open-data:epa-sdw/get-sdw-rest-services-get-qid":{"get":{"operationId":"open_data_epa_sdw_get_sdw_rest_services_get_qid","summary":"Safe Drinking Water Act (SDWA) Paginated Results Service","description":"GET /sdw_rest_services.get_qid","tags":["open-data"],"parameters":[{"name":"output","in":"query","required":false,"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…","schema":{"type":"string","enum":["JSONP","JSON","XML"],"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…"}},{"name":"qid","in":"query","required":true,"description":"Query ID Selector. Enter the QueryID number from a previously run query.","schema":{"type":"string","description":"Query ID Selector. Enter the QueryID number from a previously run query."}},{"name":"pageno","in":"query","required":false,"description":"Indicates the number of the page to display. It is used only when the results are paginated.","schema":{"type":"number","default":1,"description":"Indicates the number of the page to display. It is used only when the results are paginated."}},{"name":"callback","in":"query","required":false,"description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.","schema":{"type":"string","description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response."}},{"name":"newsort","in":"query","required":false,"description":"Output Sort Column. Enter the number of the column on which the data will be sorted. If unpopulated results will sort on the first column.","schema":{"type":"number","description":"Output Sort Column. Enter the number of the column on which the data will be sorted. If unpopulated results will sort on the first column."}},{"name":"descending","in":"query","required":false,"description":"Output Sort Column Descending Flag. Enter Y to column identified in the newsort parameter descending. Enter N to use ascending sort order.…","schema":{"type":"string","enum":["Y","N"],"description":"Output Sort Column Descending Flag. Enter Y to column identified in the newsort parameter descending. Enter N to use ascending sort order.…"}},{"name":"qcolumns","in":"query","required":false,"description":"Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object…","schema":{"type":"string","description":"Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-sdw/post-sdw-rest-services-get-qid":{"post":{"operationId":"open_data_epa_sdw_post_sdw_rest_services_get_qid","summary":"Safe Drinking Water Act (SDWA) Paginated Results Service","description":"POST /sdw_rest_services.get_qid","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/open-data:epa-sdw/get-sdw-rest-services-get-systems":{"get":{"operationId":"open_data_epa_sdw_get_sdw_rest_services_get_systems","summary":"Safe Drinking Water Act (SDWA) Systems Search Service","description":"GET /sdw_rest_services.get_systems","tags":["open-data"],"parameters":[{"name":"output","in":"query","required":false,"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…","schema":{"type":"string","enum":["JSONP","JSON","XML"],"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…"}},{"name":"p_fn","in":"query","required":false,"description":"Facility Name Filter. Enter one or more case-insensitive facility names to filter results. Provide multiple values as a comma-delimited…","schema":{"type":"string","description":"Facility Name Filter. Enter one or more case-insensitive facility names to filter results. Provide multiple values as a comma-delimited…"}},{"name":"p_ct","in":"query","required":false,"description":"Facility City Filter. Enter a single case-insensitive city name to filter results.","schema":{"type":"string","description":"Facility City Filter. Enter a single case-insensitive city name to filter results."}},{"name":"p_co","in":"query","required":false,"description":"Facility County Filter. Provide a single county name in combination with a state value provided via p_st.","schema":{"type":"string","description":"Facility County Filter. Provide a single county name in combination with a state value provided via p_st."}},{"name":"p_fips","in":"query","required":false,"description":"FIPS Code Filter. Enter a single 5-character Federal Information Processing Standards (FIPS) state + county value to restrict results.…","schema":{"type":"string","description":"FIPS Code Filter. Enter a single 5-character Federal Information Processing Standards (FIPS) state + county value to restrict results.…"}},{"name":"p_st","in":"query","required":false,"description":"Facility State and State-Equivalent Filter. Provide one or more USPS postal abbreviations for states and state-equivalents to filter…","schema":{"type":"string","description":"Facility State and State-Equivalent Filter. Provide one or more USPS postal abbreviations for states and state-equivalents to filter…"}},{"name":"p_zip","in":"query","required":false,"description":"5-Digit ZIP Code Filter. Provide one or more 5-digit postal zip codes to filter results. May contain multiple comma-separated values.","schema":{"type":"string","description":"5-Digit ZIP Code Filter. Provide one or more 5-digit postal zip codes to filter results. May contain multiple comma-separated values."}},{"name":"p_reg","in":"query","required":false,"description":"EPA Region Filter. Provide a single value of 01 thru 10 to restrict results to a single EPA region.","schema":{"type":"string","enum":["01","02","03","04","05","06","07","08","09","10"],"description":"EPA Region Filter. Provide a single value of 01 thru 10 to restrict results to a single EPA region."}},{"name":"p_trb","in":"query","required":false,"description":"Tribe name","schema":{"type":"string","description":"Tribe name"}},{"name":"p_act","in":"query","required":false,"description":"Active Permits/Facilities Flag. Provide Y or N to filter results to facilities with active permits.","schema":{"type":"string","enum":["Y","N","A"],"description":"Active Permits/Facilities Flag. Provide Y or N to filter results to facilities with active permits."}},{"name":"p_qiv","in":"query","required":false,"description":"Quarters in Noncompliance Limiter. Enter a coded value to limit results to facilities with given quarter of noncompliance. - Z = Zero…","schema":{"type":"string","enum":["0","GT1","GT2","GT4","GT8","12"],"description":"Quarters in Noncompliance Limiter. Enter a coded value to limit results to facilities with given quarter of noncompliance. - Z = Zero…"}},{"name":"p_ico","in":"query","required":false,"description":"Indian Country Flag. Enter a \"Y\" or \"N\" to restrict searches to facilities inside or outside Indian Country.","schema":{"type":"string","enum":["Y","N"],"description":"Indian Country Flag. Enter a \"Y\" or \"N\" to restrict searches to facilities inside or outside Indian Country."}},{"name":"p_pid","in":"query","required":false,"description":"Nine-digit permit IDs. May contain up to 2000 comma-separated values.","schema":{"type":"string","description":"Nine-digit permit IDs. May contain up to 2000 comma-separated values."}},{"name":"p_owop","in":"query","required":false,"description":"Owner/Operator code filter. Enter one of the following codes to filter results: - F = Federal Government - S = State Government - L =…","schema":{"type":"string","enum":["F","S","L","M","N","P"],"description":"Owner/Operator code filter. Enter one of the following codes to filter results: - F = Federal Government - S = State Government - L =…"}},{"name":"p_systyp","in":"query","required":false,"description":"Type of public water system: - CWS=Community water system - NCWS=Non-community water system - NTCWS=Non-transient non-community water…","schema":{"type":"string","enum":["CWS","NCWS","NTCWS","TNCWS"],"description":"Type of public water system: - CWS=Community water system - NCWS=Non-community water system - NTCWS=Non-transient non-community water…"}},{"name":"p_swtyp","in":"query","required":false,"description":"Source Water Type: - SW = Surface water - GW= Ground water - GU = Ground water under direct influence of (UDI) surface water - SWP =…","schema":{"type":"string","enum":["SW","GW","GU","SWP","GWP","GUP"],"description":"Source Water Type: - SW = Surface water - GW= Ground water - GU = Ground water under direct influence of (UDI) surface water - SWP =…"}},{"name":"p_popsv","in":"query","required":false,"description":"Estimated average daily population served by a system: - LE500 = 500 or less - IN501_3K = 501-3,300 - IN3K_10K = 3,301-10,000 - IN10K_100K…","schema":{"type":"string","description":"Estimated average daily population served by a system: - LE500 = 500 or less - IN501_3K = 501-3,300 - IN3K_10K = 3,301-10,000 - IN10K_100K…"}},{"name":"p_cntysv","in":"query","required":false,"schema":{"type":"string"}},{"name":"p_cs","in":"query","required":false,"description":"Current violations: - M = Monitoring and Reporting Violations - H = Health-based Violations - O = Other Violations - P = Public Notice…","schema":{"type":"string","description":"Current violations: - M = Monitoring and Reporting Violations - H = Health-based Violations - O = Other Violations - P = Public Notice…"}},{"name":"p_mr","in":"query","required":false,"description":"Monitoring and Reporting Violations (failure to conduct regular monitoring of drinking water quality or submit monitoring results in a…","schema":{"type":"string","enum":["Y","N"],"description":"Monitoring and Reporting Violations (failure to conduct regular monitoring of drinking water quality or submit monitoring results in a…"}},{"name":"p_health","in":"query","required":false,"description":"Violations of health-based drinking water standards (maximum contaminant levels, maximum residual disinfectant levels, or treatment…","schema":{"type":"string","enum":["Y","N"],"description":"Violations of health-based drinking water standards (maximum contaminant levels, maximum residual disinfectant levels, or treatment…"}},{"name":"p_other","in":"query","required":false,"description":"Other violations, such as failing to issue annual consumer confidence reports or maintain required records.","schema":{"type":"string","enum":["Y","N"],"description":"Other violations, such as failing to issue annual consumer confidence reports or maintain required records."}},{"name":"p_pn","in":"query","required":false,"description":"Public Notice Violations (failure to immediately alert consumers of serious problem with drinking water).","schema":{"type":"string","enum":["Y","N"],"description":"Public Notice Violations (failure to immediately alert consumers of serious problem with drinking water)."}},{"name":"p_sv","in":"query","required":false,"description":"Serious Violator (unresolved serious, multiple, and/or continuing violations). A value of Y will return only SDWIS systems that are…","schema":{"type":"string","enum":["Y","N"],"description":"Serious Violator (unresolved serious, multiple, and/or continuing violations). A value of Y will return only SDWIS systems that are…"}},{"name":"p_qs","in":"query","required":false,"description":"Quick Search. Allows entry for city, state, and/or zip code.","schema":{"type":"string","description":"Quick Search. Allows entry for city, state, and/or zip code."}},{"name":"p_sfs","in":"query","required":false,"description":"Single Facility Search Filter. Provide a facility name or program system identifier to limit results. For the all data search, the FRS…","schema":{"type":"string","description":"Single Facility Search Filter. Provide a facility name or program system identifier to limit results. For the all data search, the FRS…"}},{"name":"p_pswpol","in":"query","required":false,"description":"For CWA, pollutant names for surface water discharges. for Drinking Water, SDWIS Violation contaminant codes for unaddressed violations…","schema":{"type":"string","description":"For CWA, pollutant names for surface water discharges. for Drinking Water, SDWIS Violation contaminant codes for unaddressed violations…"}},{"name":"p_pswvio","in":"query","required":false,"description":"Used in conjuction with parameters p_pswpol and p_pswparam, indicates whether search should only include pollutants with violations.","schema":{"type":"string","enum":["Y","N"],"description":"Used in conjuction with parameters p_pswpol and p_pswparam, indicates whether search should only include pollutants with violations."}},{"name":"p_pbale","in":"query","required":false,"description":"Lead Action Level Exceedance. A \"Y\" value will select water systems with at least 1 Lead Action Level Exceedance.","schema":{"type":"string","description":"Lead Action Level Exceedance. A \"Y\" value will select water systems with at least 1 Lead Action Level Exceedance."}},{"name":"p_cuale","in":"query","required":false,"description":"Copper Action Level Exceedance. A \"Y\" value will select water systems with at least 1 Copper Action Level Exceedance.","schema":{"type":"string","description":"Copper Action Level Exceedance. A \"Y\" value will select water systems with at least 1 Copper Action Level Exceedance."}},{"name":"p_rc350v","in":"query","required":false,"description":"Rule code 350 violation. A \"Y\" value will select water systems with at least one rule code 350 violation.","schema":{"type":"string","description":"Rule code 350 violation. A \"Y\" value will select water systems with at least one rule code 350 violation."}},{"name":"p_pbv","in":"query","required":false,"description":"Lead Violations. A \"Y\" value will select water systems with at least 1 Lead Violation.","schema":{"type":"string","description":"Lead Violations. A \"Y\" value will select water systems with at least 1 Lead Violation."}},{"name":"p_cuv","in":"query","required":false,"description":"Copper Violation. A \"Y\" value will select water systems with at least 1 Copper Violation.","schema":{"type":"string","description":"Copper Violation. A \"Y\" value will select water systems with at least 1 Copper Violation."}},{"name":"p_lcrv","in":"query","required":false,"description":"Lead or Copper rule violations. A \"Y\" value will select water systems with at least 1 Lead or Copper Rule Violation.","schema":{"type":"string","description":"Lead or Copper rule violations. A \"Y\" value will select water systems with at least 1 Lead or Copper Rule Violation."}},{"name":"p_fea","in":"query","required":false,"description":"Formal Enforcement Actions [within / not within] specified date range indicator. The date range is determined by parameters p_fead1 and…","schema":{"type":"string","enum":["W","N"],"description":"Formal Enforcement Actions [within / not within] specified date range indicator. The date range is determined by parameters p_fead1 and…"}},{"name":"p_feay","in":"query","required":false,"description":"Years (1 to 5) Range. This value is used to create a date range for Formal Enforcement Actions (FEA). Used along with p_fea (which…","schema":{"type":"number","enum":[1,2,3,4,5],"description":"Years (1 to 5) Range. This value is used to create a date range for Formal Enforcement Actions (FEA). Used along with p_fea (which…"}},{"name":"p_feaa","in":"query","required":false,"description":"Agency associated with Formal Enforcement Actions: - E = EPA - S = State - A = All","schema":{"type":"string","enum":["A","E","S"],"description":"Agency associated with Formal Enforcement Actions: - E = EPA - S = State - A = All"}},{"name":"p_iea","in":"query","required":false,"description":"Informal Enforcement Actions [within / not within] specified date range. The date range is determined by parameters p_iead1 and p_iead2 or…","schema":{"type":"string","enum":["W","N"],"description":"Informal Enforcement Actions [within / not within] specified date range. The date range is determined by parameters p_iead1 and p_iead2 or…"}},{"name":"p_ieay","in":"query","required":false,"description":"Years (1 to 5) Range. This value is used to create a date range for Informal Enforcement Actions (IEA). Used along with p_iea (which…","schema":{"type":"number","enum":[1,2,3,4,5],"description":"Years (1 to 5) Range. This value is used to create a date range for Informal Enforcement Actions (IEA). Used along with p_iea (which…"}},{"name":"p_ieaa","in":"query","required":false,"description":"Agency associated with Informal Enforcement Actions. If left blank, both agencies are included. - E = EPA - S = State","schema":{"type":"string","enum":["E","S"],"description":"Agency associated with Informal Enforcement Actions. If left blank, both agencies are included. - E = EPA - S = State"}},{"name":"p_qis","in":"query","required":false,"description":"Significant Quarters in Noncompliance Limiter. Enter one of the following codes to limit results to facilities having given quarters of…","schema":{"type":"string","enum":["Z","GE1","GT1","GE2","GT2","GE4","GT4","GE8","GT8","GE12","GT12","12"],"description":"Significant Quarters in Noncompliance Limiter. Enter one of the following codes to limit results to facilities having given quarters of…"}},{"name":"p_pfead1","in":"query","required":false,"description":"Formal Enforcement Action Date Range Start. Enter a date in MM/DD/YYYY format to set the start of the range for filtering by recent Formal…","schema":{"type":"string","description":"Formal Enforcement Action Date Range Start. Enter a date in MM/DD/YYYY format to set the start of the range for filtering by recent Formal…"}},{"name":"p_pfead2","in":"query","required":false,"description":"Formal Enforcement Action Date Range End. Enter a date in MM/DD/YYYY format to set the end of the date range for filtering by recent…","schema":{"type":"string","description":"Formal Enforcement Action Date Range End. Enter a date in MM/DD/YYYY format to set the end of the date range for filtering by recent…"}},{"name":"p_pfeat","in":"query","required":false,"description":"Formal Enforcement Action (FEA) Code Filter. Enter one or more three-letter FEA codes to restrict results to facilities with these…","schema":{"type":"string","description":"Formal Enforcement Action (FEA) Code Filter. Enter one or more three-letter FEA codes to restrict results to facilities with these…"}},{"name":"p_ss5yr","in":"query","required":false,"description":"Sanitary Surveys (in past 5 years) flag. Values of visit_reason_code are either \"SNSV\" or \"SNSP\" in the past 5 years indicate a Sanitary…","schema":{"type":"string","description":"Sanitary Surveys (in past 5 years) flag. Values of visit_reason_code are either \"SNSV\" or \"SNSP\" in the past 5 years indicate a Sanitary…"}},{"name":"p_sdc","in":"query","required":false,"description":"Significant Deficiency Count (in past 5 years) flag. Enter \"Y\" to select facilities with Sanitary Surveys within the past 5 years. Enter…","schema":{"type":"string","description":"Significant Deficiency Count (in past 5 years) flag. Enter \"Y\" to select facilities with Sanitary Surveys within the past 5 years. Enter…"}},{"name":"p_sdc_ils","in":"query","required":false,"schema":{"type":"string"}},{"name":"p_ysl","in":"query","required":false,"description":"Last Facility Inspection [within / not within] Specified Date Range Indicator. The date range is determined by parameters p_idt1 and…","schema":{"type":"string","enum":["W","N","NV"],"description":"Last Facility Inspection [within / not within] Specified Date Range Indicator. The date range is determined by parameters p_idt1 and…"}},{"name":"p_ysly","in":"query","required":false,"description":"Number of years (1 to 5) since last facility inspection. A value of 1 means that it has been inspected within the year.","schema":{"type":"string","enum":["1","2","3","4","5"],"description":"Number of years (1 to 5) since last facility inspection. A value of 1 means that it has been inspected within the year."}},{"name":"p_ysla","in":"query","required":false,"description":"Facility Last Inspection Code Filter. If left blank, both agencies are included. Enter a value to limit results: - E = EPA - S = State","schema":{"type":"string","enum":["E","S","A"],"description":"Facility Last Inspection Code Filter. If left blank, both agencies are included. Enter a value to limit results: - E = EPA - S = State"}},{"name":"p_idt1","in":"query","required":false,"description":"Beginning of date range of most recent facility inspection.","schema":{"type":"string","description":"Beginning of date range of most recent facility inspection."}},{"name":"p_idt2","in":"query","required":false,"description":"End of date range of most recent facility inspection.","schema":{"type":"string","description":"End of date range of most recent facility inspection."}},{"name":"p_cms_flag","in":"query","required":false,"schema":{"type":"string"}},{"name":"queryset","in":"query","required":false,"description":"Query Limiter. Enter a value to limit the number of records returned for each query. Value cannot exceed 70,000.","schema":{"type":"number","description":"Query Limiter. Enter a value to limit the number of records returned for each query. Value cannot exceed 70,000."}},{"name":"responseset","in":"query","required":false,"description":"Response Set Limiter. Enter a value to limit the number of records per page. Value cannot exceed 1,000.","schema":{"type":"number","description":"Response Set Limiter. Enter a value to limit the number of records per page. Value cannot exceed 1,000."}},{"name":"callback","in":"query","required":false,"description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.","schema":{"type":"string","description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response."}},{"name":"qcolumns","in":"query","required":false,"description":"Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object…","schema":{"type":"string","description":"Used to customize service output. A list of comma-separated column IDs of output objects that will be returned in the service query object…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-sdw/post-sdw-rest-services-get-systems":{"post":{"operationId":"open_data_epa_sdw_post_sdw_rest_services_get_systems","summary":"Safe Drinking Water Act (SDWA) Systems Search Service","description":"POST /sdw_rest_services.get_systems","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}},"/v1/open-data:epa-sdw/get-sdw-rest-services-metadata":{"get":{"operationId":"open_data_epa_sdw_get_sdw_rest_services_metadata","summary":"Safe Drinking Water Act (SDWA) Metadata Service","description":"GET /sdw_rest_services.metadata","tags":["open-data"],"parameters":[{"name":"output","in":"query","required":false,"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…","schema":{"type":"string","enum":["JSONP","JSON","XML"],"description":"Output Format Flag. Enter one of the following keywords: - JSON = Data model formatted as Javascript Object Notation (default). - JSONP =…"}},{"name":"callback","in":"query","required":false,"description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response.","schema":{"type":"string","description":"JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/open-data:epa-sdw/post-sdw-rest-services-metadata":{"post":{"operationId":"open_data_epa_sdw_post_sdw_rest_services_metadata","summary":"Safe Drinking Water Act (SDWA) Metadata Service","description":"POST /sdw_rest_services.metadata","tags":["open-data"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"body":{"type":"object","description":"Form fields as a JSON object"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}