Echo Cwa Cwa08 Structure

Results Object

Type: object Properties: 22 Required: 19
GovernmentEnvironmentalOpenDataAirQualityWaterQualityHazardousWasteComplianceEmissions

cwa08 is a JSON Structure definition published by EPA — U.S. Environmental Protection Agency, describing 22 properties, of which 19 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

BadSystemIDs BioCVRows BioV3Rows CVRows ClusterOutput ClusterRecords FEARows Facilities INSPRows IconBaseURL IndianCountryRows InfFEARows Message PopUpBaseURL QueryID QueryParameters QueryRows SVRows ServiceBaseURL TotalPenalties V3Rows VioLast4QRows

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-structure/echo-cwa-cwa08-structure.json",
  "name": "cwa08",
  "description": "Results Object",
  "type": "object",
  "properties": {
    "BadSystemIDs": {
      "type": "string",
      "description": "Identifies which passed query system identifiers are invalid.",
      "example": "12345"
    },
    "BioCVRows": {
      "type": "string",
      "description": "Number of facilities with current biosolid-related violations.",
      "example": "string"
    },
    "BioV3Rows": {
      "type": "string",
      "description": "Number of facilities having one or more quarters of biosolid-related non-compliance in the last three years.",
      "example": "string"
    },
    "CVRows": {
      "type": "string",
      "description": "Summary count of the number of CWA facilities or SDWA public drinking water systems with current violations.",
      "example": "0"
    },
    "ClusterOutput": {
      "$ref": "#/definitions/cwa06"
    },
    "ClusterRecords": {
      "type": "string",
      "description": "Number of clusters returned.",
      "example": "199"
    },
    "FEARows": {
      "type": "string",
      "description": "Summary count of the number of facilities with a formal enforcement action in the past five years",
      "example": "1"
    },
    "Facilities": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/cwa07"
      },
      "description": "A complex array of facility information.",
      "example": [
        "string"
      ]
    },
    "INSPRows": {
      "type": "string",
      "description": "Number of facilities with insp_5yr_flag populated (CWP_DATE_LAST_INSPECTION)",
      "example": "1"
    },
    "IconBaseURL": {
      "type": "string",
      "description": "URL where all the icons are located",
      "example": "https://echo.epa.gov/app/map/icons/"
    },
    "IndianCountryRows": {
      "type": "string",
      "description": "Number of facilities with tribal_flag populated",
      "example": "0"
    },
    "InfFEARows": {
      "type": "string",
      "description": "Number of facilities with infea_5yr_flag populated (INFORMAL_ENF_ACT_COUNT > 0)",
      "example": "0"
    },
    "Message": {
      "type": "string",
      "description": "Field to record messages (typically performance-related) about packet processing",
      "example": "Success"
    },
    "PopUpBaseURL": {
      "type": "string",
      "description": "Combine this URL with the PUC to get popup info",
      "example": "https://echodata.epa.gov/echo/cwa_rest_services.pop_up?p_id="
    },
    "QueryID": {
      "type": "string",
      "description": "Sequential number assigned to entire search result",
      "example": "245"
    },
    "QueryParameters": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/qp0"
      },
      "description": "A list of submitted query parameters and their values.",
      "example": [
        "string"
      ]
    },
    "QueryRows": {
      "type": "string",
      "description": "Number of query results returned",
      "example": "5"
    },
    "SVRows": {
      "type": "string",
      "description": "Number of facilities with curr_sv_flag populated (CWP_STATUS = \"Significant Violation\")",
      "example": "0"
    },
    "ServiceBaseURL": {
      "type": "string",
      "description": "The base service URL.",
      "example": "https://echodata.epa.gov/echo/echo_rest_services.get_facility_info"
    },
    "TotalPenalties": {
      "type": "string",
      "description": "The total dollar amount of either assessed or final penalties within the five year time period",
      "example": "$963,531"
    },
    "V3Rows": {
      "type": "string",
      "description": "Number of facilities having one or more quarters in non-compliance (QNC) in the last three years",
      "example": "2"
    },
    "VioLast4QRows": {
      "type": "string",
      "description": "The number of facilities with a violation in the last year.",
      "example": "string"
    }
  },
  "required": [
    "Message",
    "QueryID",
    "QueryRows",
    "IndianCountryRows",
    "SVRows",
    "CVRows",
    "V3Rows",
    "FEARows",
    "InfFEARows",
    "INSPRows",
    "BioCVRows",
    "BioV3Rows",
    "VioLast4QRows",
    "TotalPenalties",
    "BadSystemIDs",
    "IconBaseURL",
    "PopUpBaseURL",
    "ServiceBaseURL",
    "QueryParameters"
  ]
}