CMSgov / price-transparency-guide

The technical implementation guide for the tri-departmental price transparency rule.
354 stars 107 forks source link

Zipped files for CMS Validation #751

Closed Causink11 closed 3 weeks ago

Causink11 commented 3 weeks ago

These news files in the changed format for 2024 have been massive, over 4GB. Can the CMS validator tool accept a zipped file?

JR-CMS commented 3 weeks ago

You can use the validator for a ZIP archive that contains a JSON file. If multiple JSON files are found within the ZIP archive, you can choose which one you want to validate. You can read more here: https://github.com/CMSgov/price-transparency-guide-validator?tab=readme-ov-file#validate-a-file-at-a-url

shaselton-usds commented 3 weeks ago

I'll just follow up with @JR-CMS and recommend with gzip or zip compressions. While the validator can process both zip and gzip extensions, it is usually is less complex to process a gzip file due to there only be a single file to validate.