Custom validation scripts like validate_data_integrity.rb are manual and hard to update. Using a declarative schema will make it easier to maintain and enforce rules.
dry-validation or JSON Schema for validating _data/*.yml files.interviews.yml, video_assets.yml, and taxonomy.yml.Implemented a robust, declarative data validation system using the dry-validation gem.
src/validators/site_schema.rb containing schema contracts for Interviews, VideoAssets, Conferences, and Communities.bin/validate_data.rb to load YAML data, execute schema validation, and perform cross-collection referential integrity checks.bin/validate_data_integrity.rb with the new declarative system in the Rakefile._data/repo_hygiene.yml to reflect recent structural changes.rake ci pipeline.