{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/epa/refs/heads/main/json-structure/cam-qa-cert-test-summary-dto-structure.json",
  "name": "TestSummaryDTO",
  "description": "TestSummaryDTO schema from QA Certification Management OpenAPI Specification",
  "type": "object",
  "properties": {
    "stackPipeId": {
      "type": "string",
      "description": "Stack Pipe Identifier. ADD TO PROPERTY METADATA",
      "example": "12345"
    },
    "unitId": {
      "type": "string",
      "description": "Unique identifier for each unit at a facility.",
      "example": "12345"
    },
    "testTypeCode": {
      "type": "string",
      "description": "Test Type Code. ADD TO PROPERTY METADATA",
      "example": "string"
    },
    "monitoringSystemId": {
      "type": "string",
      "description": "Unique identifier of a monitoring system record.",
      "example": "12345"
    },
    "componentId": {
      "type": "string",
      "description": "The three digit code assigned by the source to identify the component.",
      "example": "12345"
    },
    "spanScaleCode": {
      "type": "string",
      "description": "Code used to identify the span scale.",
      "example": "string"
    },
    "testNumber": {
      "type": "string",
      "description": "Test Number. ADD TO PROPERTY METADATA",
      "maxLength": 18,
      "example": "string"
    },
    "testReasonCode": {
      "type": "string",
      "description": "Test Reason Code. ADD TO PROPERTY METADATA",
      "example": "string"
    },
    "testDescription": {
      "type": "string",
      "description": "Test Description. ADD TO PROPERTY METADATA",
      "maxLength": 100,
      "example": "string"
    },
    "testResultCode": {
      "type": "string",
      "description": "Test Result Code. ADD TO PROPERTY METADATA",
      "example": "string"
    },
    "beginDate": {
      "type": "datetime",
      "description": "Date in which information became effective or activity started.",
      "example": "2020-07-25"
    },
    "beginHour": {
      "type": "double",
      "description": "Begin Hour. ADD TO PROPERTY METADATA",
      "example": 0.0
    },
    "beginMinute": {
      "type": "double",
      "description": "Begin Minute. ADD TO PROPERTY METADATA",
      "example": 0.0
    },
    "endDate": {
      "type": "datetime",
      "description": "End date for a given period of a unit's emissions.",
      "example": "2024-01-15T12:00:00Z"
    },
    "endHour": {
      "type": "double",
      "description": "End Hour. ADD TO PROPERTY METADATA",
      "example": 0.0
    },
    "endMinute": {
      "type": "double",
      "description": "End Minute. ADD TO PROPERTY METADATA",
      "example": 0.0
    },
    "gracePeriodIndicator": {
      "type": "double",
      "description": "Grace Period Indicator. ADD TO PROPERTY METADATA",
      "example": 0.0
    },
    "year": {
      "type": "double",
      "description": "The calendar year during which activity occurred.",
      "example": 2024
    },
    "quarter": {
      "type": "double",
      "description": "Calendar quarter in which activity occurred.",
      "example": 0.0
    },
    "testComment": {
      "type": "string",
      "description": "Test Comment. ADD TO PROPERTY METADATA",
      "maxLength": 1000,
      "example": "string"
    },
    "injectionProtocolCode": {
      "type": "string",
      "description": "Injection Protocol Code. ADD TO PROPERTY METADATA",
      "example": "string"
    },
    "calibrationInjectionData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CalibrationInjectionDTO"
      },
      "example": [
        "string"
      ]
    },
    "linearitySummaryData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/LinearitySummaryDTO"
      },
      "example": [
        "string"
      ]
    },
    "rataData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/RataDTO"
      },
      "example": [
        "string"
      ]
    },
    "flowToLoadReferenceData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/FlowToLoadReferenceDTO"
      },
      "example": [
        "string"
      ]
    },
    "flowToLoadCheckData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/FlowToLoadCheckDTO"
      },
      "example": [
        "string"
      ]
    },
    "cycleTimeSummaryData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/CycleTimeSummaryDTO"
      },
      "example": [
        "string"
      ]
    },
    "onlineOfflineCalibrationData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OnlineOfflineCalibrationDTO"
      },
      "example": [
        "string"
      ]
    },
    "fuelFlowmeterAccuracyData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/FuelFlowmeterAccuracyDTO"
      },
      "example": [
        "string"
      ]
    },
    "transmitterTransducerData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TransmitterTransducerAccuracyDTO"
      },
      "example": [
        "string"
      ]
    },
    "fuelFlowToLoadBaselineData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/FuelFlowToLoadBaselineDTO"
      },
      "example": [
        "string"
      ]
    },
    "fuelFlowToLoadTestData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/FuelFlowToLoadTestDTO"
      },
      "example": [
        "string"
      ]
    },
    "appendixECorrelationTestSummaryData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AppECorrelationTestSummaryDTO"
      },
      "example": [
        "string"
      ]
    },
    "unitDefaultTestData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UnitDefaultTestDTO"
      },
      "example": [
        "string"
      ]
    },
    "hgSummaryData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/HgSummaryDTO"
      },
      "example": [
        "string"
      ]
    },
    "testQualificationData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/TestQualificationDTO"
      },
      "example": [
        "string"
      ]
    },
    "protocolGasData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ProtocolGasDTO"
      },
      "example": [
        "string"
      ]
    },
    "airEmissionTestingData": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/AirEmissionTestingDTO"
      },
      "example": [
        "string"
      ]
    },
    "id": {
      "type": "string",
      "example": "12345"
    },
    "locationId": {
      "type": "string",
      "example": "12345"
    },
    "calculatedGracePeriodIndicator": {
      "type": "double",
      "example": 35.5
    },
    "calculatedTestResultCode": {
      "type": "string",
      "example": "string"
    },
    "reportPeriodId": {
      "type": "double",
      "example": 0.0
    },
    "calculatedSpanValue": {
      "type": "double",
      "example": 35.5
    },
    "userId": {
      "type": "string",
      "example": "12345"
    },
    "addDate": {
      "type": "string",
      "example": "string"
    },
    "updateDate": {
      "type": "string",
      "example": "string"
    },
    "evalStatusCode": {
      "type": "string",
      "example": "active"
    },
    "evalStatusCodeDescription": {
      "type": "string",
      "example": "active"
    },
    "submissionAvailabilityCode": {
      "type": "string",
      "example": "string"
    },
    "submissionAvailabilityCodeDescription": {
      "type": "string",
      "example": "string"
    }
  },
  "required": [
    "stackPipeId",
    "unitId",
    "testTypeCode",
    "componentId",
    "testNumber",
    "calibrationInjectionData",
    "linearitySummaryData",
    "rataData",
    "flowToLoadReferenceData",
    "flowToLoadCheckData",
    "cycleTimeSummaryData",
    "onlineOfflineCalibrationData",
    "fuelFlowmeterAccuracyData",
    "transmitterTransducerData",
    "fuelFlowToLoadBaselineData",
    "fuelFlowToLoadTestData",
    "appendixECorrelationTestSummaryData",
    "unitDefaultTestData",
    "hgSummaryData",
    "testQualificationData",
    "protocolGasData",
    "airEmissionTestingData",
    "id",
    "locationId",
    "calculatedGracePeriodIndicator",
    "calculatedTestResultCode",
    "reportPeriodId",
    "calculatedSpanValue",
    "userId",
    "addDate",
    "updateDate",
    "evalStatusCode",
    "evalStatusCodeDescription",
    "submissionAvailabilityCode",
    "submissionAvailabilityCodeDescription"
  ]
}