UnitProgramDTO is a JSON Structure definition published by EPA — U.S. Environmental Protection Agency, describing 13 properties, of which 13 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/cam-monitor-plan-unit-program-dto-structure.json",
"name": "UnitProgramDTO",
"description": "UnitProgramDTO schema from Monitor Plan Management OpenAPI Specification",
"type": "object",
"properties": {
"programId": {
"type": "double",
"description": "The identifier for the program associated with the unit.",
"example": 67890
},
"programCode": {
"type": "string",
"description": "The code representing the specific program.",
"example": "ARP"
},
"classCode": {
"type": "string",
"description": "The code representing the class associated with the program.",
"example": "A"
},
"unitMonitorCertBeginDate": {
"type": "datetime",
"description": "The date when unit monitoring certification began for the program.",
"example": "2024-01-01"
},
"unitMonitorCertDeadline": {
"type": "datetime",
"description": "The deadline date for completing unit monitoring certification.",
"example": "2024-12-31"
},
"emissionsRecordingBeginDate": {
"type": "datetime",
"description": "The date when emissions recording began under the program.",
"example": "2024-01-01"
},
"endDate": {
"type": "datetime",
"description": "The end date for the program's association with the unit.",
"example": "2025-12-31"
},
"id": {
"type": "string",
"description": "The unique identifier for the unit program record.",
"example": "1234567890"
},
"unitId": {
"type": "double",
"description": "The identifier for the unit associated with the program.",
"example": 12345
},
"userId": {
"type": "string",
"description": "The identifier for the user who last modified the record.",
"example": "jdoe"
},
"addDate": {
"type": "string",
"description": "The timestamp when the unit program record was created.",
"example": "2024-08-01T00:00:00.000Z"
},
"updateDate": {
"type": "string",
"description": "The timestamp when the unit program record was last updated.",
"example": "2024-08-15T00:00:00.000Z"
},
"active": {
"type": "boolean",
"description": "Indicates whether the unit program is currently active.",
"example": true
}
},
"required": [
"programId",
"programCode",
"classCode",
"unitMonitorCertBeginDate",
"unitMonitorCertDeadline",
"emissionsRecordingBeginDate",
"endDate",
"id",
"unitId",
"userId",
"addDate",
"updateDate",
"active"
]
}