NYPL / ami-preservation

Repo for NYPL's Audio and Moving Image Preservation Unit. Documentation Site:
https://nypl.github.io/ami-preservation/
16 stars 3 forks source link

Update json_validator.py #91

Closed cgmcnamara closed 1 year ago

cgmcnamara commented 1 year ago

exclude premis-events.json files from validation

cgmcnamara commented 1 year ago

@bturkus I noticed that json_validator.py wasn't working for me anymore on a project after I ran repair_ami_json_bag.py --badjson, I think because the repair script adds premis-events.json files to repaired bags and these were getting treated as metadata jsons. This update worked on my local copy of ami-preservation.