š UniverseāClass Schema Validation Pipeline
Automated CI Ā· Deterministic Validation Ā· ReviewerāReady#
1. What the CI Pipeline Validates#
The pipeline automatically checks every JSON file under schemas/ and docs/ against the appropriate schema family:
| Schema Family | Purpose | Validated Against |
|---|---|---|
| RTTcode | Core resonanceātime packet format | schemas/rttcode.v1.json |
| Environment | Field, noise, coupling, chamber metadata | schemas/environment.v1.json |
| Entity | Entity state, resonance, kinematics | schemas/entity.v1.json |
| UniverseāClass Extensions | Orbital harmonics, SAR overlays, deepātime, GPR, ATC | schemas/universe.v1.json |
| Physics Ref Tables 2025 | RTT/vST substrate logic preserving constants and equations | schemas/Physics_RefTables_2025_RTTvST.json |
| Periodic Table RTT/vST | Reorganizes by substrate class, regime, resonance behavior, phase alignment | schemas/Periodic_Table_RTTvST.json |
| Standard Model RTT/vST | Reorganized RTT/vST view of the particle sectors | schemas/Standard_Model_RTTvST.json |
| BioScience RTT/vST | Domains (molecular ā ecological) with NIST-aligned measurement and engineering substrates | schemas/BioScience.json |
Every commit and pull request triggers validation.
2. How Validation Works#
The CI pipeline performs the following steps:
-
Detect modified JSON files
Any.jsonfile inschemas/ordocs/is automatically included. -
Match each file to its schema family
Based on filename patterns (e.g.,rttcode*.json,environment*.json, etc.). -
Validate using AJV (JSON Schema 2020ā12)
Strict mode is enabled to prevent drift:- No unknown fields
- No missing required fields
- No schema mismatches
-
Collect a summary of pass/fail results
This summary is used by the PR comment bot. -
Post a PR comment
Reviewers see:- Which files passed
- Which failed
- Why
-
Update the Schema Verified badge
Onmainbranch:- If all schemas validate ā README badge becomes ā Schema Verified
- If any fail ā badge becomes ā Not Verified
This gives reviewers immediate confidence in the integrity of the schema suite.
3. Schema Verified Badge#
The badge in this README is automatically updated by CI:
Schema status: <!--SCHEMA_STATUS-->ā Not Verified<!--/SCHEMA_STATUS-->
When all validations pass on main, CI rewrites it to:
Schema status: <!--SCHEMA_STATUS-->ā
Schema Verified<!--/SCHEMA_STATUS-->
This badge reflects the current health of the entire UniverseāClass schema ecosystem.
4. Why This Matters#
This pipeline ensures:
-
Deterministic reproducibility
Every RTT experiment packet is guaranteed to match the canonical schema. -
Reviewer clarity
PRs cannot introduce malformed examples or drift. -
Crossādomain consistency
Orbital harmonics, SAR overlays, deepātime resonance, GPR, ATC, and core RTTcode all remain aligned. -
Futureāproof extensibility
New schema families can be added without changing the pipeline structure.
5. Related Files#
.github/workflows/schema-validate.ymlā Multiāschema validator.github/workflows/rttcode-validate.ymlā RTTcodeāspecific validatorschemas/*.jsonā Canonical UniverseāClass schemasdocs/_snippets/*.jsonā Snippetāsynced examples validated by CI
