{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-schema/cam-monitor-plan-unit-control-schema.json",
  "title": "UnitControl",
  "description": "UnitControl schema from Monitor Plan Management OpenAPI Specification",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "example": "12345"
    },
    "unitId": {
      "type": "number",
      "example": 0.0
    },
    "controlCode": {
      "type": "string",
      "example": "string"
    },
    "parameterCode": {
      "type": "string",
      "example": "string"
    },
    "installDate": {
      "format": "date-time",
      "type": "string",
      "example": "2024-01-15T12:00:00Z"
    },
    "optimizationDate": {
      "format": "date-time",
      "type": "string",
      "example": "2024-01-15T12:00:00Z"
    },
    "originalCode": {
      "type": "string",
      "example": "string"
    },
    "retireDate": {
      "format": "date-time",
      "type": "string",
      "example": "2024-01-15T12:00:00Z"
    },
    "seasonalControlsIndicator": {
      "type": "string",
      "example": "string"
    },
    "userId": {
      "type": "string",
      "example": "12345"
    },
    "addDate": {
      "format": "date-time",
      "type": "string",
      "example": "2024-01-15T12:00:00Z"
    },
    "updateDate": {
      "format": "date-time",
      "type": "string",
      "example": "2024-01-15T12:00:00Z"
    },
    "fuelIndicatorCode": {
      "type": "string",
      "example": "string"
    },
    "unit": {
      "$ref": "#/components/schemas/Unit"
    }
  },
  "required": [
    "id",
    "unitId",
    "controlCode",
    "parameterCode",
    "installDate",
    "optimizationDate",
    "originalCode",
    "retireDate",
    "seasonalControlsIndicator",
    "userId",
    "addDate",
    "updateDate",
    "unit"
  ]
}