{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-schema/echo-dfr-dfr111-details.sources-schema.json",
  "title": "dfr111_Details.Sources",
  "description": "Sources Object",
  "type": "object",
  "properties": {
    "AssessedOr303dFlg": {
      "description": "Denotes facilities that discharge into an impaired water body for which a plan has not yet been developed (category 5 water body) and facilities that discharge to an impaired water body for which the state has developed a plan to return the water to its designated uses under the Total Maximum Daily Loads (TMDL) program (category 4 water body).",
      "example": "305(b)",
      "title": "Impaired Water Body (Section 303(d))",
      "type": "string"
    },
    "AssessmentUnitEPACategory": {
      "description": "The water quality category under which the water body\ufffdor water segment is classified.\ufffdAdditional information: https://www.epa.gov/wqs-tech/supplemental-module-listing-impaired-waters-and-developing-tmdls",
      "title": "Assessment Unit Category (ATTAINS)",
      "type": "string",
      "example": "string"
    },
    "AttainsAquaticLifeUseFlg": {
      "description": "Displays \"Y\" if the waterbody in which the facility resides is designated for aquatic life use. The data are from the ATTAINS database.",
      "example": "Y",
      "title": "ATTAINS Aquatic Life Use Flag",
      "type": "string"
    },
    "AttainsCauseGroups": {
      "description": "Lists all groups of pollutants or stressors that are causing impairment in the assessed waterbody. The data are from the ATTAINS database.",
      "example": "POLYCHLORINATED BIPHENYLS (PCBS) | TOXIC ORGANICS",
      "title": "ATTAINS Cause Groups",
      "type": "string"
    },
    "AttainsExceptnlUseFlg": {
      "description": "Displays \"Y\" if the waterbody in which the facility resides is designated for exceptional use. The data are from the ATTAINS database.",
      "example": "Y",
      "title": "ATTAINS Exceptional Use Flag",
      "type": "string"
    },
    "AttainsPossiblePollutants": {
      "description": "Lists all groups of pollutants or stressors that are causing impairment in the assessed waterbody, as indicated in ATTAINS.",
      "example": "Aluminum, total recoverable | Coliform, fecal general | Copper, total [as Cu] | Copper, total recoverable | Iron, total [as Fe] | Iron, total recoverable | Lead, total recoverable",
      "title": "Causes of Impairments(s) by Group(s)",
      "type": "string"
    },
    "AttainsRecreationUseFlg": {
      "description": "Displays \"Y\" if the waterbody in which the facility resides is designated for recreational use. The data are from the ATTAINS database.",
      "example": "Y",
      "title": "ATTAINS Recreational Use Flag",
      "type": "string"
    },
    "AttainsShelffishUseFlg": {
      "description": "Indicates if the waterbody in which the facility resides is designated for shellfish use.",
      "example": "Y",
      "title": "Shellfish Use",
      "type": "string"
    },
    "AttainsStateCauses": {
      "description": "Lists all pollutants or stressors that are causing impairment in the assessed waterbody. The data are from the ATTAINS database.",
      "example": "PH | POLYCHLORINATED BIPHENYLS (PCBS)",
      "title": "ATTAINS State Causes",
      "type": "string"
    },
    "CycleYear": {
      "description": "The Assessment, Total Maximum Daily Load (TMDL) Tracking and Implementation System (ATTAINS) reporting year.",
      "example": "2012",
      "title": "Cycle Year",
      "type": "string"
    },
    "GNISName": {
      "description": "The name of the waterbody in which the facility is located near or is permitted to discharge directly.",
      "example": "Sugarcamp Run",
      "title": "Waterbody Name",
      "type": "string"
    },
    "ImpairedWatersFlg": {
      "description": "Indicates if the facility is porentially discharging to impaired waters.",
      "example": "Y",
      "title": "Impaired Waters Flag",
      "type": "string"
    },
    "ReachCode": {
      "description": "A nationally unique and permanent 14-digit identifier for the waterbody, assigned by the U.S. Geological Survey.",
      "example": "\"05030201000270\"",
      "title": "Reach Code",
      "type": "string"
    },
    "SourceID": {
      "description": "Unique Identifier assigned by EPA.",
      "example": "ALR040033",
      "title": "EPA Source Identifier",
      "type": "string"
    },
    "WBD12": {
      "description": "The 12-digit Hydrologic Unit Code (HUC) of the watershed in which the facility resides, based on the USGS Watershed Boundary Dataset (WBD).",
      "example": "050302011006",
      "title": "Watershed Boundary Dataset Level 12 Code",
      "type": "string"
    },
    "WBD12Name": {
      "description": "The name of the watershed in which the facility resides.",
      "example": "Mill Creek-Ohio River",
      "title": "Watershed Boundary Dataset Level 12 Name",
      "type": "string"
    }
  },
  "required": [
    "SourceID",
    "CycleYear",
    "GNISName",
    "ReachCode",
    "WBD12",
    "WBD12Name",
    "AssessedOr303dFlg",
    "ImpairedWatersFlg",
    "AssessmentUnitEPACategory",
    "AttainsAquaticLifeUseFlg",
    "AttainsExceptnlUseFlg",
    "AttainsRecreationUseFlg",
    "AttainsShelffishUseFlg",
    "AttainsStateCauses",
    "AttainsCauseGroups",
    "AttainsPossiblePollutants"
  ]
}