Echo Cwa Cwa04 Structure

Results Object

Type: object Properties: 19 Required: 17
GovernmentEnvironmentalOpenDataAirQualityWaterQualityHazardousWasteComplianceEmissions

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

Properties

BadSystemIDs BioCVRows BioV3Rows CVRows FEARows Facilities INSPRows IndianCountryRows InfFEARows MapOutput Message PageNo QueryID QueryRows SVRows TotalPenalties V3Rows Version 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-cwa04-structure.json",
  "name": "cwa04",
  "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"
    },
    "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/cwa01"
      },
      "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"
    },
    "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"
    },
    "MapOutput": {
      "$ref": "#/definitions/cwa03"
    },
    "Message": {
      "type": "string",
      "description": "Field to record messages (typically performance-related) about packet processing",
      "example": "Success"
    },
    "PageNo": {
      "type": "string",
      "description": "The number of pages of results returned",
      "example": "1"
    },
    "QueryID": {
      "type": "string",
      "description": "Sequential number assigned to entire search result",
      "example": "245"
    },
    "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"
    },
    "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"
    },
    "Version": {
      "type": "string",
      "description": "Version of the SDWA system service",
      "example": "v2016-02-02 14:"
    },
    "VioLast4QRows": {
      "type": "string",
      "description": "The number of facilities with a violation in the last year.",
      "example": "string"
    }
  },
  "required": [
    "Message",
    "Version",
    "QueryRows",
    "IndianCountryRows",
    "SVRows",
    "CVRows",
    "V3Rows",
    "FEARows",
    "InfFEARows",
    "INSPRows",
    "BioCVRows",
    "BioV3Rows",
    "VioLast4QRows",
    "TotalPenalties",
    "BadSystemIDs",
    "QueryID",
    "PageNo"
  ]
}