Reg-Edge / CAT-Validator

0 stars 0 forks source link

Dev: Parse files - Attribute Validation Document #1

Closed regedgejrodriguez closed 6 months ago

regedgejrodriguez commented 7 months ago

CAT Validator should be able to parse either CAT supported format (JSON or CSV)

  1. Given that we have prepared 2 .JSON File
    1. CSV File
  2. Given that script can identify the file type passed
  3. Given that a JSON file can be parsed line-by-line by the tool
  4. Given that a CSV file can by parsed line-by-line by the tool using the schema available at https://catnmsplan.com/sites/default/files/2023-08/08.24.23-IM-4.0.0-r20.json
  5. Given that regardless of file passed in remainder of code should handle records in the exact same format