in scripts/dashboard/validate_dashboards_format.py [0:0]
def check_json_file_name(path, file_name_parts):
'''Checks if json file name is in the proper format'''
if len(file_name_parts) != 2:
raise JsonFormattingError("{} file name not in <name>.json format".format(path))