dataset repair COLLECTION_NAME
repair trys to repair a pairtree collection correcting as best it can the keymap.json file defining where things are to be found.
keymap.json
Our collection name is “MyCollectiond.ds”.
dataset repair MyCollection.ds