echo04 is a JSON Structure definition published by EPA — U.S. Environmental Protection Agency, describing 20 properties, of which 18 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-structure/echo-all-echo04-structure.json",
"name": "echo04",
"description": "Results Object",
"type": "object",
"properties": {
"BadSystemIDs": {
"type": "string",
"description": "Identifies which passed query system identifiers are invalid.",
"example": "12345"
},
"CAARows": {
"type": "string",
"description": "The number of facilities or cases within the result set that have Clean Air Act (CAA) permits.",
"example": "50"
},
"CVRows": {
"type": "string",
"description": "Summary count of the number of CWA facilities or SDWA public drinking water systems with current violations.",
"example": "0"
},
"CWARows": {
"type": "string",
"description": "The number of facilities or cases within the results set that have Clean Water Act (CWA) permits.",
"example": "50"
},
"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/echo03"
},
"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/echo02"
},
"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"
},
"RCRRows": {
"type": "string",
"description": "The number of facilities or cases within the results set that have Resource Conservation and Recovery Action (RCRA) permits.",
"example": "50"
},
"SVRows": {
"type": "string",
"description": "Number of facilities with curr_sv_flag populated (CWP_STATUS = \"Significant Violation\")",
"example": "0"
},
"TRIRows": {
"type": "string",
"description": "The number of facilities within the results set that have Toxics Release Inventory (TRI) permits.",
"example": "50"
},
"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:"
}
},
"required": [
"Message",
"Version",
"QueryRows",
"IndianCountryRows",
"SVRows",
"CVRows",
"V3Rows",
"FEARows",
"InfFEARows",
"INSPRows",
"TotalPenalties",
"CAARows",
"CWARows",
"RCRRows",
"TRIRows",
"BadSystemIDs",
"QueryID",
"PageNo"
]
}