def validate_segmentation(segment):
    """Validate the segmentation before accepting the annotation's upload from users
    """
    required_key = {"start_time", "end_time", "transcription"}

    if set(required_key).issubset(segment.keys()):
        return True
    else:
        return False