def METHOD_NAME(json_path: str, yaml_path: str) -> None:
    with open(json_path, "r") as f:
        loaded_json = json.load(f)
    deserialized_schedule = RestSchedule.deserialize(loaded_json)
    monitor_schedule = load_schedule(yaml_path)
    assert monitor_schedule._to_rest_object().as_dict() == deserialized_schedule.as_dict()
    with open(yaml_path, "r") as f:
        yaml_dict = yaml.safe_load(f)
    yaml_dict.pop("name", None)
    assert json.loads(json.dumps(yaml_dict)) == json.loads(
        json.dumps(Schedule._from_rest_object(deserialized_schedule)._to_dict())
    )