Skip to content

Operationschedule Format

RudiThoeni edited this page Oct 15, 2021 · 6 revisions

Opendatahub OperationSchedule explained

Openingtimes

OperationSchedule

Structure

{
   "Type": "3",
   "Stop": "2021-06-10T00:00:00",
   "Start": "2021-08-01T00:00:00",
   "OperationscheduleName": {
      "de": "name",
      "it": "nome",
      "en": "name"
   },
   "OperationScheduleTime": "see next point",
}
  • Type:
    1 = Standard
    2 = only day + month recurring (year not to consider)
    3 = only month recurring (season: year and day not to consider)

OperationScheduleTime

"OperationScheduleTime": 
[
  {
     "End": "21:00:00",
     "Start": "09:30:00",
     "State": 2,
     "Timecode": 1,
     "Monday": true,
     "Tuesday": true,
     "Wednesday": true,
     "Thursday": true,
     "Friday": true,
     "Saturday": true,
     "Sunday": false,        
  }
],
  • State:
    1 = closed
    2 = open
  • Timecode :
    1 = standard opening time
    2 = warm meals
    3 = time range for pizza
    4 = time range for snack’s
Clone this wiki locally