old_contents: import { expect } from 'chai';
  import fs from 'fs';
  import path from 'path';
  import { Validator } from 'jsonschema';
  
  import formConfig from '../../config/form';
  import fullSchema from '../../config/schema';
  
  describe('526 all claims schema tests', () => {
    const v = new Validator();
    const files = fs.readdirSync(__dirname);
    files.filter(file => file.endsWith('json')).forEach(file => {
      it(`should validate ${file}`, () => {
        const contents = JSON.parse(
          fs.readFileSync(path.join(__dirname, file), 'utf8'),
        );
        const submitData = JSON.parse(
          formConfig.transformForSubmit(formConfig, contents),
        );
        const result = v.validate(submitData, fullSchema);
  
        if (!result.valid) {
          console.log(`Validation errors found in ${file}`); // eslint-disable-line
          console.log(JSON.stringify(result.errors, null, 2)); // eslint-disable-line
        }
        expect(result.valid).to.be.true;
      });
    });
  });
  
new_contents: import { expect } from 'chai';
  import fs from 'fs';
  import path from 'path';
  import { Validator } from 'jsonschema';
  
  import formConfig from '../../config/form';
  import fullSchema from '../../config/schema';
  
  describe('526 all claims schema tests', () => {
    const v = new Validator();
    const files = fs.readdirSync(__dirname);
    files.filter(file => file.endsWith('json')).forEach(file => {
      it(`should validate ${file}`, () => {
        const contents = JSON.parse(
          fs.readFileSync(path.join(__dirname, file), 'utf8'),
        );
        const submitData = JSON.parse(
          formConfig.transformForSubmit(formConfig, contents),
        );
        const result = v.validate(submitData.form526, fullSchema);
  
        if (!result.valid) {
          console.log(`Validation errors found in ${file}`); // eslint-disable-line
          console.log(JSON.stringify(result.errors, null, 2)); // eslint-disable-line
        }
        expect(result.valid).to.be.true;
      });
    });
  });
  
subject: Use the form526 property (#9278)