feat: ESPI 4.0 Schema Compliance - Phase 12: ElectricPowerQualitySummary #79
+16
−15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Phase 12 of the ESPI 4.0 schema compliance effort. This PR aligns the
ElectricPowerQualitySummaryEntityfield order with the ESPI 4.0 XSD schema specification (espi.xsd).Changes
Entity Updates
summaryIntervalfield from end of field declarations to correct position betweenshortInterruptionsandsupplyVoltageDipsto match XSD element sequenceDatabase Migration Updates
electric_power_quality_summariestable column order to match XSD schema:summary_interval_startandsummary_interval_durationcolumns to position aftershort_interruptionsand beforesupply_voltage_dipsVerified Components (No Changes Needed)
@XmlType propOrderESPI 4.0 XSD Schema Element Sequence
Per
espi.xsdElectricPowerQualitySummary complexType:Testing
✅ All 533 tests passing
Unit Tests
Integration Tests (TestContainers)
Test Coverage
Related Work
Checklist
@XmlType propOrderverified correct🤖 Generated with Claude Code