{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-schema/cam-emissions-hour-unit-mats-data-view-schema.json",
  "title": "HourUnitMatsDataView",
  "description": "HourUnitMatsDataView schema from Emissions Management OpenAPI Specification",
  "type": "object",
  "properties": {
    "stateCode": {
      "type": "string",
      "example": "NC"
    },
    "facilityName": {
      "type": "string",
      "example": "EPA Facility"
    },
    "facilityId": {
      "type": "number",
      "example": 0.0
    },
    "unitId": {
      "type": "string",
      "example": "12345"
    },
    "date": {
      "format": "date-time",
      "type": "string",
      "example": "2024-01-15T12:00:00Z"
    },
    "hour": {
      "type": "number",
      "example": 0.0
    },
    "opTime": {
      "type": "number",
      "example": 0.0
    },
    "matsGrossLoad": {
      "type": "number",
      "example": 0.0
    },
    "matsHeatInput": {
      "type": "number",
      "example": 0.0
    },
    "hgOutputRate": {
      "type": "number",
      "example": 0.0
    },
    "hgInputRate": {
      "type": "number",
      "example": 0.0
    },
    "hgMass": {
      "type": "number",
      "example": 0.0
    },
    "hgMassMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "hclOutputRate": {
      "type": "number",
      "example": 0.0
    },
    "hclInputRate": {
      "type": "number",
      "example": 0.0
    },
    "hclMass": {
      "type": "number",
      "example": 0.0
    },
    "hclMassMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "hfOutputRate": {
      "type": "number",
      "example": 0.0
    },
    "hfInputRate": {
      "type": "number",
      "example": 0.0
    },
    "hfMass": {
      "type": "number",
      "example": 0.0
    },
    "hfMassMeasureFlg": {
      "type": "string",
      "example": "string"
    },
    "associatedStacks": {
      "type": "string",
      "example": "string"
    },
    "steamLoad": {
      "type": "number",
      "example": 0.0
    },
    "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"
    }
  },
  "required": [
    "stateCode",
    "facilityName",
    "facilityId",
    "unitId",
    "date",
    "hour",
    "opTime",
    "matsGrossLoad",
    "matsHeatInput",
    "hgOutputRate",
    "hgInputRate",
    "hgMass",
    "hgMassMeasureFlg",
    "hclOutputRate",
    "hclInputRate",
    "hclMass",
    "hclMassMeasureFlg",
    "hfOutputRate",
    "hfInputRate",
    "hfMass",
    "hfMassMeasureFlg",
    "associatedStacks",
    "steamLoad",
    "primaryFuelInfo",
    "secondaryFuelInfo",
    "unitType",
    "so2ControlInfo",
    "noxControlInfo",
    "pmControlInfo",
    "hgControlInfo"
  ]
}