{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-structure/cam-emissions-hour-unit-data-view-structure.json",
  "name": "HourUnitDataView",
  "description": "HourUnitDataView schema from Emissions Management OpenAPI Specification",
  "type": "object",
  "properties": {
    "stateCode": {
      "type": "string",
      "example": "NC"
    },
    "facilityName": {
      "type": "string",
      "example": "EPA Facility"
    },
    "facilityId": {
      "type": "double",
      "example": 0.0
    },
    "unit_id": {
      "type": "string",
      "example": "12345"
    },
    "unitId": {
      "type": "string",
      "example": "12345"
    },
    "associatedStacks": {
      "type": "string",
      "example": "string"
    },
    "year": {
      "type": "double",
      "example": 2024
    },
    "date": {
      "type": "datetime",
      "example": "2024-01-15T12:00:00Z"
    },
    "hour": {
      "type": "double",
      "example": 0.0
    },
    "opTime": {
      "type": "double",
      "example": 0.0
    },
    "grossLoad": {
      "type": "double",
      "example": 0.0
    },
    "steamLoad": {
      "type": "double",
      "example": 0.0
    },
    "so2Mass": {
      "type": "double",
      "example": 0.0
    },
    "so2MassMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "so2Rate": {
      "type": "double",
      "example": 0.0
    },
    "so2RateMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "co2Mass": {
      "type": "double",
      "example": 0.0
    },
    "co2MassMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "co2Rate": {
      "type": "double",
      "example": 0.0
    },
    "co2RateMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "noxMass": {
      "type": "double",
      "example": 0.0
    },
    "noxMassMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "noxRate": {
      "type": "double",
      "example": 0.0
    },
    "noxRateMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "heatInput": {
      "type": "double",
      "example": 0.0
    },
    "heatInputMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "primaryFuelInfo": {
      "type": "string",
      "example": "string"
    },
    "secondaryFuelInfo": {
      "type": "string",
      "example": "string"
    },
    "unitType": {
      "type": "string",
      "example": "string"
    },
    "so2ControlInfo": {
      "type": "string",
      "example": "string"
    },
    "noxControlInfo": {
      "type": "string",
      "example": "string"
    },
    "pmControlInfo": {
      "type": "string",
      "example": "string"
    },
    "hgControlInfo": {
      "type": "string",
      "example": "string"
    },
    "programCodeInfo": {
      "type": "string",
      "example": "string"
    }
  },
  "required": [
    "stateCode",
    "facilityName",
    "facilityId",
    "unit_id",
    "unitId",
    "associatedStacks",
    "year",
    "date",
    "hour",
    "opTime",
    "grossLoad",
    "steamLoad",
    "so2Mass",
    "so2MassMeasureFlg",
    "so2Rate",
    "so2RateMeasureFlg",
    "co2Mass",
    "co2MassMeasureFlg",
    "co2Rate",
    "co2RateMeasureFlg",
    "noxMass",
    "noxMassMeasureFlg",
    "noxRate",
    "noxRateMeasureFlg",
    "heatInput",
    "heatInputMeasureFlg",
    "primaryFuelInfo",
    "secondaryFuelInfo",
    "unitType",
    "so2ControlInfo",
    "noxControlInfo",
    "pmControlInfo",
    "hgControlInfo",
    "programCodeInfo"
  ]
}