def check_install_json(self) -> None:
    'Check all install.json files for valid schema.'
    if ('install.json' in self.invalid_json_files):
        return
    status = True
    try:
        self.ij.model
    except ValidationError as ex:
        self.invalid_json_files.append(self.ij.fqfn.name)
        status = False
        for error in json.loads(ex.json()):
            location = [str(location) for location in error.get('loc')]
            self.validation_data['errors'].append(f"Schema validation failed for install.json. {error.get('msg')}: {' -> '.join(location)}")
    except ValueError:
        return
    self.validation_data['schema'].append({'filename': self.ij.fqfn.name, 'status': status})
Check all install.json files for valid schema.
def check_install_json(self) -> None:
    
    if ('install.json' in self.invalid_json_files):
        return
    status = True
    try:
        self.ij.model
    except ValidationError as ex:
        self.invalid_json_files.append(self.ij.fqfn.name)
        status = False
        for error in json.loads(ex.json()):
            location = [str(location) for location in error.get('loc')]
            self.validation_data['errors'].append(f"Schema validation failed for install.json. {error.get('msg')}: {' -> '.join(location)}")
    except ValueError:
        return
    self.validation_data['schema'].append({'filename': self.ij.fqfn.name, 'status': status})