ServingTimeForSubcategory
- idType: stringFormat: uuidrequired
Unique identifier for the given serving time.
- typeType: integer
_id min:1max:2requiredID of the type of the serving time. 1 - special dates; 2 - week days
- daysType: array of integer 1…7 unique!min:0max:6
Array of a numeric representation of the days during which the given Subcategory is being served. 0 - Sunday, 6 - Saturday.
- timeType: string
_from Time (as a string) from which the given Subcategory is being served.
- timeType: string
_to Time (as a string) until the given Subcategory is being served.
Examples
{
"id": "ff9c1042-370b-47f1-a8e2-6d20a6aa412f",
"type_id": 2,
"time_from": "07:00",
"time_to": "22:00",
"days": [
1
]
}
