add ability to generate a schema based on 2 hours interval of 24-hour
recording (when start_hour = 10) or on the whole 24-hour recording (when
start_hour = None)