@pytest.mark.parametrize('filename', ['event', 'string_event', 'waveform'])
def test_json_matches_schema(filename):
    schema_string = utils.load_from_file('aa_schema.json')
    schema_obj = json.loads(schema_string)
    json_string = utils.load_from_file((filename + '.json'))
    json_obj = json.loads(json_string)
    jsonschema.validate(json_obj, schema_obj)
@pytest.mark.parametrize('filename', ['event', 'string_event', 'waveform'])
def test_json_matches_schema(filename):
    schema_string = utils.load_from_file('aa_schema.json')
    schema_obj = json.loads(schema_string)
    json_string = utils.load_from_file((filename + '.json'))
    json_obj = json.loads(json_string)
    jsonschema.validate(json_obj, schema_obj)