The Emissions Collection and Monitoring Plan Project Emissions XML Schema Version 1.4 Submitted to: ECMPS Stakeholders Submitted by: United States Environmental Protection Agency Office of Air and Radiation Clean Air Markets Division 1201 Constitution Ave, NW Washington, DC 20004 June 17,2015 ------- ------- Emissions XML Schema Version 1.4 June 17, 2015 List of Figures Page Figure 1 Emissions 2 Figure 2 Emissions Schema XML Elements 2 Figure 3 Complex Elements of the Root 3 Figure 4 DailyCalibrationData 4 Figure 5 DailyCalibrationData XML Elements 5 Figure 6 DailyEmissionData 6 Figure 7 DailyEmissionData XML Elements 6 Figure 8 DailyFuelData 7 Figure 9 DailyFuelData XML Elements 7 Figure 10 DailyTestSummaryData 8 Figure 11 Daily TestSummaryData XML Elements 8 Figure 12 DerivedHourlyValueData 9 Figure 13 DerivedHourlyValueData XML Elements 9 Figure 14 HourlyFuelFlowData 10 Figure 15 HourlyFuelFlowData XML Elements 11 Figure 16 HourlyGFMData 11 Figure 17 HourlyGFMData XML Elements 12 Figure 18 HourlyOperatingData 13 Figure 19 HourlyOperatingData XML Elements 14 Figure 20 HourlyParameterFuelFlowData 15 Figure 21 HourlyParameterFuelFlowData XML Elements 15 Figure 22 LongTermFuelFlowData 16 Figure 23 LongTermFuelFlowData XML Elements 16 Figure 24 MATSDerivedHourlyValueData 17 Figure 25 MATSDerivedHourlyValueData XML Elements 17 Figure 26 MATSMonitorHourlyValueData 17 Figure 27 MATSMonitorHourlyValueData XML Elements 18 Figure 28 MonitorHourlyValueData 18 Figure 29 MonitorHourlyValueData XML Elements 19 Figure 30 SamplingTrainData 20 Figure 31 SamplingTrainData XML Elements 20 Figure 32 SorbentTrapData 22 Figure 33 SorbentTrapData XML Elements 22 Figure 34 Summary ValueData 23 Figure 35 Summary ValueData XML Elements 23 Figure 36 WeeklySystemlntegrityData 24 Figure 37 WeeklySystemlntegrityData XML Elements 24 Figure 38 Weekly TestSummaryData 25 Figure 39 Weekly TestSummaryData XML Elements 25 Figure 40 Simple Types Used for Validation 26 Environmental Protection Agency Page i ------- June 17, 2015 Emissions XML Schema Version 1.4 [This page intentionally left blank.] Page ii Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Emissions XML Schema Version 1.4 1.0 Introduction This document is the third in a series that outlines the Extensible Mark-up Language (XML) schema and how data files must be formatted for the Emissions Collection and Monitoring Plan System (ECMPS). A schema was developed for each data type, i.e., monitoring plan, quality assurance and certification test data, emissions data, and each data type will generate its own XML file. The schema will be used for all data that are imported into the ECMPS client submission tool and exported from the client submission tool. The move to XML will allow users to submit only the necessary data for a given submission of data. It will also allow for more robust data validation through the XML schema, and will keep the file size as small as possible. The schema is included in a separate file. The schema may be viewed in any application that is able to display text files or an application specifically designed for viewing XML schema. 2.0 Emissions XML Schema Tables The following tables provide information about the data elements of the Emissions XML schema. The information includes a description of the data element, the type of the element, and a definition for the element. Figures 1 and 2 provide information on the root element of the Emissions XML schema. Figure 3 lists all of the complex data elements and information that indicates the parent-child relationship between the major data elements. Figures 4 through 25 include information on the complex data elements in the XML schema. Detailed information about the data types is included in Figure 26. The term "optional" is often used in the names of the various data types. The term "optional" in the name of these data validation data types only refers to the fact that the schema validation will accept a data element tag that does not include a value (an empty tag). Depending on the data being reported, these data elements might require data to be reported. Environmental Protection Agency Page 1 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 1 Emissions ~ --jr. C..x Figure 2 Emissions Schema XML Elements XML Tag Type Definition ORISCode ORISCodeType EIA-assigned identifier or Facility identifier assigned by CAMD (ifEIA number is not applicable). Year ReportingY earType Reporting Year. Quarter ReportingY earQuarter Reporting Quarter. SubmissionComment SubmissionCommentType Comment on an emissions submission. Version VersionType Identifies the XML schema version. Page 2 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 3 Complex Elements of the Root Complex Klcnienl Piirenl Klcmcnl Minimum Occurrences M si xi in ii in Occurrences DailyCalibrationData DailyTestSummaryData 0 unbounded DailyEmissionData Emissions 0 unbounded DailyFuelData DailyEmissionData 0 unbounded DailyTestSummaryData Emissions 0 unbounded DerivedHourlyValueData HourlyOperatingData 0 unbounded Emissions 1 1 HourlyFuelFlowData HourlyOperatingData 0 unbounded HourlyGFMData HourlyOperatingData 0 unbounded HourlyOperatingData Emissions 1 unbounded HourlyParameterFuelFlow Data HourlyFuelFlowData 0 unbounded LongT ermFuelFlowData Emissions 0 unbounded MATSDerivedHourly Value Data HourlyOperatingData 0 unbounded MATSMonitorHourly Value Data HourlyOperatingData 0 unbounded MonitorHourlyValueData HourlyOperatingData 0 unbounded SamplingTrainData SorbentTrapData 2 2 SorbentTrapData Emissions 0 unbounded Summary ValueData Emissions 0 unbounded WeeklySystemlntegrityData WeeklyTestSummaryData 1 1 WeeklyTestSummaryData Emissions 0 unbounded Environmental Protection Agency Page 3 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 4 DailyCalibrationData Page 4 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 5 DailyCalibrationData XML Elements XML Tag Type Definition OnLineOffLinelndicator IndicatorType Indicates whether the unit or stack is operating at the time of the test. UpscaleGasCode UpscaleGasCodeType Code used to identify upscale gas level. Zerolnj ectionDate OptionalDateType Date of zero level injection. Zerolnj ectionHour OptionalHourType Hour of zero level injection. Zerolnj ectionMinute OptionalMinuteType Zero Injection Minute. UpscalelnjectionDate OptionalDateType Date of upscale injection. UpscalelnjectionHour OptionalHourType Hour of upscale injection. UpscalelnjectionMinute OptionalMinuteType Upscale Injection Minute ZeroMeasuredValue CalibrationValueType Zero level measured value. UpscaleMeasuredValue CalibrationValueType Upscale measured value. Zero AP SIndicator IndicatorType Used to indicate if the alternative performance specification (APS) is used. UpscaleAPSIndicator IndicatorType Used to indicate if the alternative performance specification (APS) is used. ZeroCalibrationError CalibrationErrorType Reported zero level calibration error. UpscaleCalibrationError CalibrationErrorType Reported upscale level calibration error. ZeroReferenceValue CalibrationValueType Zero level reference value. UpscaleReference Value CalibrationValueType Upscale reference value. UpscaleGasTypeCode GasTypeCodeType Code used to identify the type of upscale gas. Cylinderldentilier CylinderldentifierType Vendor-assigned identification or serial number found on the cylinder. Vendorldentifier VendorlndentifierType The EPA-assigned PGVP Vendor ID of the production site that supplied the cylinder. ExpirationDate OptionalDateType Date on which the cylinder's gas expires. Inj ectionProtocolCode Inj ectionProtocolCode Type Code used to identify the type of injection protocol. Environmental Protection Agency Page 5 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 6 DailyEmissionData L - -I DailyfuelData [+] O..00 Figure 7 DailyEmissionData XML Elements XML Tag Type Definition StackPipelD RequiredStackPipe Type Three to six alphanumeric character code which is assigned by the source to identify a stack or pipe. UnitID RequiredUnitType One to six alphanumeric character code assigned by the source to identify a unit. Date RequiredDateType Date corresponding to the daily emissions. ParameterCode DailyEmissionParameter CodeType Code used to identify the parameter. TotalDailyEmissions DailyEmissionsType Total daily C02 mass emissions. TotalCarbonBurned T otalCarbonBurnedType The total amount of carbon burned (in lbs) during the day. AdjustedDailyEmissions DailyEmissionsType C02 mass emissions adjusted for C02 retained in fly ash. UnadjustedDailyEmissions DailyEmissionsType C02 mass emissions SorbentRelatedMass Emissions DailyEmissionsType Total daily sorbent-related C02 mass emissions. Page 6 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 8 DailyFuelData Figure 9 DailyFuelData XML Elements XML Tag Type Definition FuelCode HourlyOperatingFuelCode Type The fuel code of a specific fuel used during the day. DailyFuelFeed DailyFuelFeedType The feed rate of a specific fuel (in lbs) used during the day. CarbonContentU sed CarbonContentU sedType The amount of carbon burned as a percentage of the daily feed rate for a specific fuel. FuelCarbonBurned FuelCarbonBurnedType The amount of carbon burned (in lbs) during the day for a specific fuel. Environmental Protection Agency Page 7 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 10 DailyTestSummaryData L - -I^D.iil.vC.ililn ,rtkuiP,it,i |+] Figure 11 DailyTestSummaryData XML Elements XML Tag Type Definition StackPipelD RequiredStackPipeType Three to six alphanumeric character code which is assigned by the source to identify a stack or pipe. UnitID RequiredUnitType One to six alphanumeric character code assigned by the source to identify a unit. Date RequiredDateType Date of the daily test. Hour RequiredHourType Hour of the daily test. Minute OptionalMinuteType Minute of the daily test. MonitoringSystemID OptionalldentifierType The three digit code used by the source to identify the monitoring system. ComponentID OptionalldentifierType The three digit code assigned by the source to identify the component. TestTypeCode TestTypeCodeType Code used to identify test type. TestResultCode T estResultCodeType Code used to identify reported test result. SpanScaleCode SpanScaleCodeType Code used to identify the span scale. Page 8 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 12 DerivedHourlyValueData PararneterCode Unadji.istedHourly'Value | AdjustedH ourlyValue MODCCode ] Moriitori ngSystem IP | Formula Id entitier"]* PercentAvailable I; v J'i Operati n gC onditionCode SegmentNumber | Fuel-Code [i Figure 13 DerivedHourlyValueData XML Elements XML Tag Type Definition PararneterCode DerivedHourly ParameterCodeType Code used to identify the parameter. UnadjustedHourlyValue Hourly ValueType Unadjusted value calculated from measured values for the hour. AdjustedHourly Value Hourly ValueType Adjusted parameter value for the hour, as calculated from measured values and then adjusted for bias, or the substitute value for missing data hours. MODCCode MODCCodeType Code used to identify the method of determination. MonitoringSystemID OptionalldentifierType The three digit code used by the source to identify the monitoring system. Formulaldentifier OptionalFormula IdentifierType The three character formula ID assigned by the source. PercentAvailable PercentType Percent monitor data availability. (cont.). Derived H ou rlyVal ueData Environmental Protection Agency Page 9 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 13 DerivedHourlyValueData XML Elements (cont.) XML Tag Type Definition OperatingCondition Code OperatingCondition CodeType Code used to identify the operating condition. SegmentNumber SegmentNumberType Segment number of correlation curve. Rather than a user-assigned identifier, this is just an integer that indicates the segment number (assuming the first segment is number 1). FuelCode DerivedHourlyFuel CodeType Code used to identify the type of fuel. Figure 14 HourlyF uelFlowData L - J,m HourlyParameterFuelFlowData [+] 0..x Page 10 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 15 HourlyFuelFlowData XML Elements XML T:i» Type Definition FuelCode HourlyFuelFlowFuel CodeType Code used to identify the type of fuel. FuelUsageTime FuelUsageTimeType Fuel usage time. VolumetricFlowRate VolumetricFlowRateType Volumetric flow rate during combustion. VolumetricUnitsOf Measure Code VolumetricUnitsOf MeasureType Code used to identify the units of measure for volumetric fuel flow. SourceOfData VolumetricCode SOD VolumetricCode Type Code used to identify the source of volumetric flow rate. MassFlowRate MassFlowRateType Mass flow rate during combustion. SourceOfDataMassCode SODMassCodeType Code used to identify the source of mass flow rate. MonitoringSystemID OptionalldentifierType The three digit code used by the source to identify the monitoring system. Figure 16 HourlyGFMData Environmental Protection Agency Page 11 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 17 HourlyGFMData XML Elements XML Tag Type Definition ComponentID RequiredldentifierType The three digit code assigned by the source to identify the component. BeginEndHourFlag BeginEndHourFlagType Flag marking the beginning and ending of the sample collection period. HourlyGFMReading HourlyGFMReadingType Hourly sample flow meter volume reading. AvgHourly SamplingRate Hourly SamplingRateType Average sample flow rate for the hour. SamplingRateUOM SamplingRateUOMCode Type Units of measure for the average hourly sampling rate. HourlySFSRRatio HourlySFSRRatioType Ratio of the unadjusted hourly average stack gas flow rate to the average hourly sample flow rate. Page 12 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 18 HourlyOperatingData Environmental Protection Agency Page 13 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 19 HourlyOperatingData XML Elements XML Tag Type Definition StackPipelD RequiredStackPipeType Three to six alphanumeric character code which is assigned by the source to identify a stack or pipe. UnitID RequiredU nitType One to six alphanumeric character code assigned by the source to identify a unit. Date RequiredDateType Date of the hourly operating data. Hour RequiredHourType Hour of the hourly operating data. OperatingTime OperatingT imeType The fraction of the clock hour during which the unit (or any unit venting through the stack) combusted any fuel. HourLoad HourLoadType Gross unit load or steam load value during unit operation. LoadUnitsOfMeasure Code LoadUnitsOfMeasure CodeType Code used to identify the load units of measure. MATSHourLoad HourLoadType Gross MATS unit load value during unit operation. LoadRange LoadRangeType Operating load range or load bin number (1 to 10). CommonS tackLoad Range CommonStackLoad RangeType Load range for stack flow at a common stack (between 1 and 20). Optional alternative to standard load range. FcFactor FFactorType Carbon based F-factor corresponding to fuel(s) burned during the hour. FdFactor FFactorType Dry basis F-factor corresponding to fuel(s) burned during the hour. FwFactor FFactorType Wet basis F-factor corresponding to fuel(s) burned during the hour. FuelCode HourlyOperatingFuel CodeType Code used to identify the type of fuel. MATSStartupShutdown Flag MATS StartupShutdown FlagType Flag used to identify a MATS unit startup or shutdown hour. Page 14 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 20 HourlyParameterF uelFlowData Figure 21 HourlyParameterFuelFlowData XML Elements XML Tag Type Definition ParameterCode HourlyParameterFuel FlowParameterCodeType Code used to identify the parameter. ParameterValueForFuel ParameterValueForFuel Type Hourly parameter value for fuel. (Currently S02 mass rate, C02 mass rate, or heat input rate.) Formulaldentifier OptionalFormulaldentifier Type The three character formula ID assigned by the source. SampleTypeCode SulfurSampleTypeCode Type Code used to identify the sample type. MonitoringSystemID OptionalldentifierType The three digit code used by the source to identify the monitoring system. OperatingConditionCode OperatingCondition CodeType Code used to identify the operating condition. SegmentNumber SegmentNumberType Segment number of correlation curve. Rather than a user-assigned identifier, this is just an integer that indicates the segment number (assuming the first segment is number 1). ParameterUOMCode HourlyParameterFuel FlowUnitsOfMeasure CodeType Code used to identify the parameter units of measure. Environmental Protection Agency Page 15 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 22 LongTermFuelFlowData LoriflT errnFuelFlowData 1>- ' StackPipelD " UnitID ' Monitoring SystemID ' Fuel FlowPeriodC ode J = LongTermFuelFlowValue ' L ongTe rm Fu el Fl owUOMC ode " G ros sCal orif icVa 1 u e "GCVUnits Of M eas u re-Code Figure 23 LongTermFuelFlowData XML Elements XML Tag Type Definition StackPipelD RequiredStackPipeType Three to six alphanumeric character code which is assigned by the source to identify a stack or pipe. UnitID RequiredU nitType One to six alphanumeric character code assigned by the source to identify a unit. MonitoringSystemID RequiredldentifierType The three digit code used by the source to identify the monitoring system. FuelFlowPeriodCode FuelPeriodCodeType Code used to identify the long term fuel flow period. LongTermFuelFlow Value LongTermFuelFlow ValueType Long term fuel flow value LongTermFuelFlow UOMCode LongTermFuelFlowUOM CodeType Code used to identify the units of measure for the long term fuel flow value. GrossCalorificValue GrossCalorificValueType Gross Calorific Value. GCVUnitsOfMeasure Code GCVUnitsOfMeasure CodeType Code used to identify the units of measure for the GCV. TotalHeatlnput TotalHeatlnputType Total heat input from this long term fuel flow value. Page 16 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 24 MATSDer ivedHourlyV al ue Data Figure 25 MATSDerivedHourlyValueData XML Elements XML Tag Type Definition ParameterCode MATSDerivedHourly ParameterCodeType Code used to identify the parameter for MATS. UnadjustedHourlyValue ScientificNotationType Unadjusted value calculated from measured values for the hour, in scientific notation. MODCCode MODCCodeType Code used to identify the method of determination. Formulaldentifier OptionalFormulaldentifier Type The three character formula ID assigned by the source. Figure 26 MATSMonitorHourlyV alueData Environmental Protection Agency Page 17 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 27 MATSMonitorHourlyValueData XML Elements XMI. Tag Type Deli nil ion ParameterCode MATSMonitorHourly ParameterCodeType Code used to identify the parameter for MATS. UnadjustedHourly Value ScientificNotationType Unadjusted measured value in scientific notation. MODCCode MODCCodeType Code used to identify the method of determination. MonitoringSystemID OptionalldentifierType The three digit code used by the source to identify the monitoring system. ComponentID OptionalldentifierType The three digit code assigned by the source to identify the component. PercentAvailable PercentType Percent monitor data availability. Figure 28 MonitorHourlyV al ue Data Page 18 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 29 MonitorHourlyValueData XML Elements XML Tag Type Definition ParameterCode MonitorHourly ParameterCodeType Code used to identify the parameter. UnadjustedHourly Value Hourly ValueType Unadjusted measured value. AdjustedHourly Value Hourly ValueType Adjusted average concentration or flow for the hour. MODCCode MODCCodeType Code used to identify the method of determination. MonitoringSystemID OptionalldentifierType The three digit code used by the source to identify the monitoring system. ComponentID OptionalldentifierType The three digit code assigned by the source to identify the component. PercentAvailable PercentType Percent monitor data availability. MoistureBasis MoistureBasisType Moisture basis for measured value. Environmental Protection Agency Page 19 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 30 SamplingTrainData Figure 31 SamplingTrainData XML Elements XML Tag Type Definition ComponentID RequiredldentifierType The three digit code assigned by the source to identify the component. SorbentTrapSN SorbentTrapSNType Sorbent trap serial number. MainTrapHg ScientificNotationType Mass of Hg from the main collection section in scientific notation. BTTrapHg ScientificNotationType Mass of Hg from the breakthrough section in scientific notation. SpikeTrapHg ScientificNotationType Mass of Hg from the spike section in scientific notation. (cont.) Page 20 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 31 SamplingTrainData XML Elements (cont.) XML Tag Type Definition SpikeReference Value ScientificNotationType Mass of the pre-sampling Hg spike in scientific notation. T otalSample VolumeD S CM T otalSample Volume DSCMType Total volume of dry gas metered. ReferenceSFSRRatio ReferenceSFSRRatio Type Reference ratio of the unadjusted hourly stack gas volumetric flow rate to the average sample flow rate. SamplingRatioCheckResult Code T estResultCodeType Code indicating if the ratio was maintained within the required percentage. HgConcentration ScientificNotationType Hg concentration determined from total Hg catch and total volume of dry gas metered. PostLeakCheckResultCode T estResultCodeType Results of the post-test leak check. PercentBreakthrough PercentType Calculated percent breakthrough. PercentSpikeRecovery PercentType Calculated percent spike recovery. T rainQ AStatusCode TrainQAStatusCodeType Code indicating the QA status of the sampling train. SampleDamageExplanation ExplanationType Explanation of why the sample could not be analyzed. Environmental Protection Agency Page 21 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 32 SorbentT rapData Figure 33 SorbentTrapData XML Elements XML T:i» Type Definition StackPipelD RequiredStackPipeType Three to six alphanumeric character code which is assigned by the source to identify a stack or pipe. UnitID RequiredUnitType One to six alphanumeric character code assigned by the source to identify a unit. MonitoringSystemID RequiredldentifierType The three digit code used by the source to identify the monitoring system. BeginDate RequiredDateType Date the sample collection period began. BeginHour RequiredHourType Hour the sample collection period began. EndDate RequiredDateType Date the sample collection period ended. EndHour RequiredHourType Hour the sample collection period ended. (cont.) Page 22 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 33 SorbentTrapData XML Elements (cont.) XML Tag Type Definition HgSystemConcentration ScientificNotationType Hg concentration for the monitoring system reported in scientific notation. PairedTrapAgreement PairedAgreementType Relative deviation between two traps. AbsoluteDifference Indicator IndicatorType Flag used to indicate how the paired trap difference was determined. MODCCode MODCCodeType Code used to identify the method of determination. Figure 34 SummaryValueData Figure 35 SummaryValueData XML Elements XML T:i« Type Del i n it ion StackPipelD RequiredStackPipeType Three to six alphanumeric character code which is assigned by the source to identify a stack or pipe. UnitID RequiredU nitType One to six alphanumeric character code assigned by the source to identify a unit. ParameterCode SummaryValue ParameterCodeType Code used to identify the parameter. CurrentReportingPeriodTotal Summary ValueT otalType Total value for current reporting period. OzoneSeasonToDateTotal Summary ValueT otalType Ozone season year to date total. YearToDateTotal Summary ValueT otalType Year to date total. Environmental Protection Agency Page 23 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 36 Weekly SystemlntegrityData GasLevelCode WeetdySystemintegrityData 'MeasurecfWalue 'APSIndicator — SystemlntegrityError Figure 37 Weekly SystemlntegrityData XML Elements XML Tag Type Definition GasLevelCode UpscaleGasCodeType Code used to indicate the level of the gas used. ReferenceValue CalibrationValueType Value of the calibration standard used for the injection. MeasuredValue CalibrationValueType Value measured for the injection. APSIndicator IndicatorType Used to indicate if the alternative performance specification (APS) is used. SystemlntegrityError SystemlntegrityError Type Results of the system integrity check. Page 24 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 38 WeeklyTestSummaryData Figure 39 WeeklyTestSummaryData XML Elements XML Tag Type Definition StackPipelD RequiredStackPipeType Three to six alphanumeric character code which is assigned by the source to identify a stack or pipe. UnitID RequiredU nitType One to six alphanumeric character code assigned by the source to identify a unit. Date RequiredDateType Date test was completed. Hour RequiredHourType Hour test was completed. Minute RequiredMinuteType Minute test was completed. ComponentID RequiredldentifierType The three digit code assigned by the source to identify the component. TestTypeCode TestTypeCodeType Code used to identify test type. TestResultCode TestResultCodeType Code used to identify reported test result. SpanScaleCode SpanScaleCodeType Code used to identify the span scale. Environmental Protection Agency Page 25 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation SimpleType Name Used By Base Allow Null Values Validation Patterns, Restrictions, and Values Notes BeginEndHourFlag Type HourlyGFMData/ BeginEndHourFlag String Yes F I T CalibrationError Type DailyCalibrationData/ UpscaleCalibrationError DailyCalibrationData/ ZeroCalibrationError Decimal Yes Total Digits = 6, Decimal Places = 2 CalibrationValue Type DailyCalibrationData/ UpscaleMeasuredValue DailyCalibrationData/ UpscaleReferenceValue DailyCalibrationData/ ZeroMeasuredValue DailyCalibrationData/ ZeroReferenceValue WeeklySystemlntegrity Data/ MeasuredValue WeeklySystemlntegrity Data/ Reference Value Decimal Yes Total Digits =13, Decimal Places = 3 CarbonContentU sed Type DailyFuelData/ CarbonContentU sed Decimal Yes Total Digits = 6, Decimal Places = 1 CommonStack LoadRangeType HourlyOperatingData/ CommonStackLoad Range Integer Yes Minimum Value (inclusive) = 1, Maximum Value (inclusive) = 20 Cylinderldentifier Type DailyCalibrationData/ Cylinderldentifier String No Maximum Length = 25 characters DailyEmission ParameterCode Type DailyEmissionData/ ParameterCode String No C02M (cont.) Page 26 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) \ iilidiilion Allow PiiUorns, SimploTvpo Null koslriclions, mill Nil mo I sod By IJilSO \ illIIOS \ 11 III OS Not os DailyEmissions DailyEmissionData/ Decimal Yes Total Digits = 10, Type AdjustedDailyEmissions Decimal Places = 1 DailyEmissionData/ SorbentRelatedMass Emissions DailyEmissionData/ T otalDaily Emissions DailyEmissionData/ UnadjustedDailyEmissions DailyFuelFeedType DailyFuelData/ Decimal Yes Total Digits = 14, DailyFuelFeed Decimal Places = 1 DerivedHourlyFuel DerivedHourly ValueData/ String Yes BFG CodeType FuelCode BUT CDG COG DGG DSL LFG LPG MIX NNG OGS OIL OOL PDG PNG PRG PRP RFG SRG DerivedHourly DerivedHourly ValueData/ String No C02 ParameterCode ParameterCode C02C Type C02M H20 HI HIT NOX NOXM NOXR S02 S02M (cont.) Environmental Protection Agency Page 27 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS Not os ExplanationType SamplingTrainData/ SampleDamage Explanation String No Minimum Length = 0 characters Maximum Length = 1000 characters FFactorType HourlyOperatingData/ FcFactor HourlyOperatingData/ FdFactor HourlyOperatingData/ FwFactor Decimal Yes Total Digits = 8, Decimal Places = 1 FuelCarbonBurned Type DailyFuelData/ FuelCarbonBurned Decimal Yes Total Digits = 14, Decimal Places = 1 FuelPeriodCode Type LongT ermFuelFlowData/ FuelFlowPeriodCode String Yes A MJ FuelUsageTime Type HourlyFuelFlowData/ FuelUsageTime Decimal No Total Digits = 3, Decimal Places = 2 GasTypeCodeType DailyCalibrationData/ UpscaleGasTypeCode String No Maximum Length = 255 characters GCVUnitsOf Measure CodeType LongT ermFuelFlowData/ GCVUnitsOfMeasureCode String Yes BTUGAL BTULB BTUSCF GrossCalorificValue Type LongT ermFuelFlowData/ GrossCalorificValue Decimal Yes Total Digits = 10, Decimal Places = 1 HourLoadType HourlyOperatingData/ HourLoad HourlyOperatingData/ MATSHourLoad Integer Yes Total Digits = 6, Decimal Places = 0 HourlyFuelFlow FuelCodeType HourlyFuelFlowData/ FuelCode String No BFG BUT CDG COG DGG DSL LFG LPG (cont.) Page 28 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) \ iilidiilion Allow PiiUorns, SimploTvpo Null koslriclions, mill Nil mo I sod By IJilSO \ illIIOS \ 11 III OS Not os HourlyFuelFlow String No NNG FuelCodeType (cont.) (cont.) OGS (cont.) OIL OOL PDG PNG PRG PRP RFG SRG HourlyGFM HourlyGFMData/ Decimal No Total Digits = 12, ReadingType HourlyGFMReading Decimal Places = 2 HourlyOperating DailyFuelData/FuelCode String Yes BFG FuelCodeType HourlyOperatingData/ FuelCode BUT C CDG COG CRF DGG DSL LFG LPG MIX NNG OGS OIL OOL OSF PDG PNG PRG PRP PRS PTC R RFG SRG TDF W WL (cont.) Environmental Protection Agency Page 29 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation (cont.) SimpleType Name Used By Base Allow Null Values Validation Patterns, Restrictions, and Values Notes HourlyParameter FuelFlowParameter CodeType HourlyParameterFuel FlowData/ParameterCode String No C02 DENSOIL FC GCV HI NOXR S02 S02R SULFUR HourlyParameter FuelFlowUnitsOf Measure CodeType HourlyParameterFuelFlow Data/UnitsOfMeasureCode String Yes BTUBBL BTUGAL BTUHSCF BTUKWH BTULB BTUM3 BTUSCF GRHSCF LBBBL LB GAL LBHR LBM3 LBMMBTU LBSCF MMBTUHR PCT SCFCBTU TNHR HourlySampling RateType HourlyGFMData/ AvgHourly SamplingRate Decimal No Total Digits = 12, Decimal Places = 2 HourlySFSRRatio Type HourlyGFMData/ HourlySFSRRatio Decimal No Total Digits = 4, Decimal Places = 1 (cont.) Page 30 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS Not os Hourly ValueType DerivedHourly Value Data/AdjustedHourly Value DerivedHourly Value Data/UnadjustedHourly Value MonitorHourly Value Data/AdjustedHourly Value MonitorHourly Value Data/UnadjustedHourly Value Decimal Yes Total Digits = 14, Decimal Places = 4 IndicatorType DailyCalibrationData/ OnLineOffLinelndicator DailyCalibrationData/ Upscale AP SIndicator DailyCalibrationData/ ZeroAPSIndicator SorbentTrapData/Absolute Differencelndicator WeeklySystemlntegrity DataI APSIndicator String Yes 0 1 InjectionProtocol CodeType DailyCalibrationData/ InjectionProtocolCode String Yes HE HGO LoadRangeType HourlyOperatingData/ LoadRange Integer Yes Minimum Value (inclusive) = 0, Maximum Value (inclusive) = 20 LoadUnitsOf Measure CodeType HourlyOperatingData/ LoadUnitsOfMeasureCode String Yes KLBHR MMBTUHR MW LongT ermFuelFlow UOMCodeType LongT ermFuelFlowData/ LongT ermFuelFlow UOMCode String Yes GAL LB SCF LongT ermFuelFlow ValueType LongT ermFuelFlowData/ LongT ermFuelFlow Value Decimal No Total Digits = 10, Decimal Places = 0 (cont.) Environmental Protection Agency Page 31 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation (cont.) \ iilidiilion Allow PiiUorns, SimploTvpo Null koslriclions, mill Nil mo I sod By IJilSO \ illIIOS \ 11 III OS Not os MassFlowRateType HourlyFuelFlowData/ Decimal Yes Total Digits =11, MassFlowRate Decimal Places = 1 MATSDerived MATSDerivedHourly String No HCLRE HourlyParameter ValueData/ ParameterCode HCLRH CodeType HFRE HFRH HGRE HGRH S02RE S02RH MATSMonitor MATSMonitorHourly String No HCLC HourlyParameter ValueData/ ParameterCode HFC CodeType HGC MATSStartup HourlyOperatingData/ String Yes D ShutdownFlagType MATSStartupShutdown U Flag MODCCodeType DerivedHourly ValueData/ String Yes 01 MODCCode 02 03 MATSDerivedHourly 04 ValueData/ MODCCode 05 06 MATSMonitorHourly 07 ValueData/ MODCCode 08 09 MonitorHourly ValueData/ 10 MODCCode 11 12 SorbentTrapData/ 13 MODCCode 14 15 16 17 18 19 20 21 22 23 24 25 26 (cont.) Page 32 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) \ iilidiilion Allow PiiUorns, SimploTvpo Null koslriclions, mill Nil mo I sod By IJilSO \ illIIOS \ 11 III OS Not os MODCCodeType String Yes 32 (cont.) (cont.) (cont.) 33 34 35 36 37 38 39 40 41 42 45 53 54 55 MoistureBasisType MonitorHourly ValueData/ String Yes D MoistureBasis W MonitorHourly MonitorHourly ValueData/ String No C02C ParameterCodeType ParameterCode FLOW H20 NOXC 02C S02C OperatingCondition DerivedHourlyValueData/ String Yes A CodeType OperatingConditionCode B C HourlyParameterFuelFlow E Data/ M OperatingConditionCode N P r u w X Y Z OperatingTime HourlyOperatingData/ Decimal No Total Digits = 3, Type OperatingTime Decimal Places = 2 (cont.) Environmental Protection Agency Page 33 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS Not os OptionalDateType DailyCalibrationData/ ExpirationDate DailyCalibrationData/ Upscalelnj ectionDate DailyCalibrationData/ Zerolnj ectionDate Date Yes Must be a date OptionalFormula IdentifierType DerivedHourlyValueData/ Formulaldentilier HourlyParameterFuelFlow Data/ Formulaldentifier String Yes [A-Z0-9\-]{l,3} One to three character alphanumeric string; also allows hyphen (-) MATSDerivedHourlyValu eData/ Formulaldentifier OptionalHourType DailyCalibrationData/ Upscalelnj ectionHour DailyCalibrationData/ Zerolnj ectionHour Integer Yes Minimum Value (inclusive) = 0, Maximum Value (inclusive) = 23 Optionalldentifier Type DailyTestSummaryData/ ComponentID DailyTestSummaryData/ MonitoringSystemID DerivedHourlyValueData/ MonitoringSystemID HourlyFuelFlowData/ MonitoringSystemID HourlyParameterFuelFlow Data/MonitoringSystemID MATSMonitorHourly ValueData/ ComponentID MATSMonitorHourly ValueData/ MonitoringSystemID String Yes [A-Z0-9]{1,3} One to three character alphanumeric string (cont.) Page 34 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS \olos Optionalldentifier Type (cont.) MonitorHourlyValueData/ ComponentID MonitorHourlyValueData/ MonitoringSystemID String (cont.) Yes (cont.) [A-Z0-9]{1,3} (cont.) One to three character alphanumeric string (cont.) OptionalMinute Type DailyCalibrationData/ Upscalelnj ectionMinute DailyCalibrationData/ Zerolnj ectionMinute DailyTestSummaryData/ Minute Integer Yes Minimum Value (inclusive) = 0, Maximum Value (inclusive) = 59 ORISCodeType Emissions/ ORISCode Integer No Minimum Value (inclusive) = 1, Maximum Value (inclusive) = 999999 PairedAgreement Type SorbentTrapData/ PairedTrapAgreement Decimal Yes Total Digits = 5, Decimal Places = 2 ParameterValue ForFuelType HourlyParameterFuelFlow Data/ParameterValueFor Fuel Decimal No Total Digits =13, Decimal Places = 5 PercentType DerivedHourlyValueData/ PercentAvailable MATSMonitorHourly ValueData/ PercentAvailable MonitorHourlyValueData/ PercentAvailable SamplingTrainData/ PercentBreakthrough SamplingTrainData/ PercentSpikeRecovery Decimal Yes Total Digits = 4, Decimal Places = 1 QuarterType Emissions/ Quarter String No 1 2 3 4 (cont.) Environmental Protection Agency Page 35 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS Not os ReferenceSFSR RatioType SamplingTrainData/ ReferenceSFSRRatio Decimal Yes Total Digits = 4, Decimal Places = 1 ReportingY earType Emissions/ Year String No (20)\d\d Year between 2000-2099 (inclusive) RequiredDateType DailyEmissionData/Date DailyTestSummaryData/ Date HourlyOperatingData/Date SorbentTrapData/ BeginDate SorbentTrapData/ EndDate WeeklyTestSummaryData/ Date Date No Must be a date RequiredHourType DailyTestSummaryData/ Hour HourlyOperatingData/ Hour SorbentTrapData/ BeginHour SorbentTrapData/ EndHour WeeklyTestSummaryData/ Hour Integer No Minimum Value (inclusive) = 0, Maximum Value (inclusive) =23 (cont.) Page 36 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS \olos Requiredldentifier Type HourlyGFMData/ Component® LongT ermFuelFlowData/ MonitoringSystemID SamplingTrainData/ ComponentID SorbentTrapData/ MonitoringSystemID WeeklyTestSummaryData/ ComponentID String No [A-Z0-9]{1,3} One to three character alphanumeric string RequiredMinute Type WeeklyTestSummaryData/ Minute String No [A-Z0-9]{1,3} One to three character alphanumeric string RequiredStackPipe Type DailyEmissionData/ StackPipelD DailyTestSummaryData/ StackPipelD HourlyOperatingData/ StackPipelD LongT ermFuelFlowData/ StackPipelD Summary ValueData/ StackPipelD SorbentTrapData/ StackPipelD WeeklyTestSummaryData/ StackPipelD String No (C|c|M|m)(S|s|P|p)[A- zO-9 \-]{l,4} Three to six character string beginning with "CS," "CP," "MS," or "MP"; also allows hyphen (-) (cont.) Environmental Protection Agency Page 37 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS \olos RequiredUnitType DailyEmissionData/ UnitID DailyTestSummaryData/ UnitID HourlyOperatingData/ UnitID LongT ermFuelFlowData/ UnitID SorbentTrapData/ UnitID Summary ValueData/ UnitID WeeklyTestSummaryData/ UnitID String No [A-ZO-9 \-\*]{l,6} One to six character alphanumeric string; also allows asterisk (*) and hyphen (-) SamplingRateUOM CodeType HourlyGFMData/ SamplingRateUOM String No CCHR CCMIN DSCMHR DSCMMIN LHR LMIN ScientificNotation Type MATSDerivedHourly ValueData/ UnadjustedHourly Value MATSMonitorHourly ValueData/ UnadjustedHourly Value SamplingTrainData/ BTTrapHg SamplingTrainData/ HgConcentration SamplingTrainData/ MainTrapHg SamplingTrainData/ SpikeReference Value String No Minimum Length = 0 characters Maximum Length = 30 characters (cont.) Page 38 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) SimploTvpo Nil mo I sod By IJilSO Allow Null \ illIIOS \ iilidiilion PiiUorns, koslriclions, mill \ 11 III OS Not os ScientificNotation Type (cont.) SamplingTrainData/ SpikeTrapHg SorbentTrapData/ HgSystemConcentration String (cont.) No (cont.) Minimum Length = 0 characters Maximum Length = 30 characters (cont.) SegmentNumber Type DerivedHourlyValueData/ SegmentNumber HourlyParameterFuelFlow Data/ SegmentNumber Integer Yes Must be an integer SODMassCode Type HourlyFuelFlowData/ SourceOfDataMassCode String Yes 0 1 2 3 4 5 6 9 SODVolumetric CodeType HourlyFuelFlowData/ SourceOfDataVolumetric Code String Yes 0 1 3 4 5 6 9 SorbentTrapSN Type SamplingTrainData/ SorbentTrapSN String No Minimum Length = 1 character, Maximum Length = 20 characters SpanScaleCode Type DailyTestSummaryData/ SpanScaleCode WeeklyTestSummaryData/ SpanScaleCode String Yes H L Submission CommentType Emissions/ Submission Comment String No Maximum Length = 3,500 characters (cont.) Environmental Protection Agency Page 39 ------- June 17, 2015 Emissions XML Schema Version 1.4 Figure 40 Simple Types Used for Validation (cont.) SimpleType Name Used By Base Allow Null Values Validation Patterns, Restrictions, and Values Notes SulfurSampleType CodeType HourlyParameterFuelFlow Data/ SampleTypeCode String Yes 0 1 2 3 4 5 6 7 8 10 SummaryValue ParameterCode Type Summary ValueData/ ParameterCode String No BC02 C02M HIT NOXM NOXR OPHOURS OPTIME S02M SummaryValue TotalType Summary ValueData/ CurrentReportingPeriod Total Summary ValueData/ OzoneSeasonToDate Total Summary ValueData/ YearToDateTotal Decimal Yes Total Digits =13, Decimal Places = 3 Systemlntegrity ErrorType WeeklySystemlntegrity Data/ SystemlntegrityError Decimal Yes Total Digits = 5, Decimal Places = 1 TestResultCode Type DailyTestSummaryData/ TestResultCode SamplingTrainData/ PostLeakCheckResultCode SamplingTrainData/ SamplingRatioCheck ResultCode WeeklyTestSummaryData/ TestResultCode String Yes ABORTED FAILED INC PASSAPS PASSED (cont.) Page 40 Environmental Protection Agency ------- Emissions XML Schema Version 1.4 June 17, 2015 Figure 40 Simple Types Used for Validation (cont.) SimpleType Name Used By Base Allow Null Values Validation Patterns, Restrictions, and Values Notes T estTypeCodeType DailyTestSummaryData/ TestTypeCode WeeklyTestSummaryData/ TestTypeCode String No DAYCAL HGSI1 INTCHK PEMSCAL T otalCarbonBurned Type DailyEmissionData/ T otalCarbonBurned Decimal Yes Total Digits = 14, Decimal Places = 1 TotalHeatlnput Type LongT ermFuelFlowData/ TotalHeatlnput Decimal Yes Total Digits = 10, Decimal Places = 0 TotalSample VolumeDSCMType SamplingTrainData/ T otalSample Volume DSCM Decimal Yes Total Digits =13, Decimal Places = 3 TrainQAStatusCode Type SamplingTrainData/ TrainQAStatusCode String No EXPIRED FAILED INC LOST PASSED UNCERTAIN UpscaleGasCode Type DailyCalibrationData/ UpscaleGasCode WeeklySystemlntegrity Data/ GasLevelCode String Yes HIGH MID Vendorldentifier Type DailyCalibrationData/ Vendorldentifier String No ([A-Z0-9]{1,8})*7 One to eight character alphanumeric string VersionType Emissions/ Version String Yes Maximum Length = 10 characters VolumetricFlow RateType HourlyFuelFlowData/ VolumetricFlowRate Decimal Yes Total Digits =11, Decimal Places = 1 VolumetricUnits OfMeasureType HourlyFuelFlowData/ VolumetricUnitsOf Measure Code String Yes BBLHR GALHR HSCF M3HR SCFH Environmental Protection Agency Page 41 ------- |