rcra08 is a JSON Structure definition published by EPA — U.S. Environmental Protection Agency, describing 19 properties, of which 16 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-rcra-rcra08-structure.json",
"name": "rcra08",
"description": "Results Object",
"type": "object",
"properties": {
"BadSystemIDs": {
"type": "string",
"description": "Identifies which passed query system identifiers are invalid.",
"example": "12345"
},
"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/rcra06"
},
"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/rcra07"
},
"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"
}
},
"required": [
"Message",
"QueryID",
"QueryRows",
"IndianCountryRows",
"SVRows",
"CVRows",
"V3Rows",
"FEARows",
"InfFEARows",
"INSPRows",
"TotalPenalties",
"BadSystemIDs",
"IconBaseURL",
"PopUpBaseURL",
"ServiceBaseURL",
"QueryParameters"
]
}