MethodHours

Contains the opening hours for a given takeout method, vending machine...

Field Type Description
name String Translated name of this takeout method or machine
description String? Nullable. A String value
type String String enumarion of 'open', 'takeout', 'delivery', 'latch'
hours [Hours] Array of Hours

Examples

Example 1

{
    "name": "...",
    "description": "...",
    "type": "open",
    "hours": [
        {
            "days": "5",
            "times": [
                "06:53 - 21:54",
                "06:53 - 21:54",
                "06:53 - 21:54"
            ]
        },
        {
            "days": "5",
            "times": [
                "07:30 - 18:38",
                "07:30 - 18:38",
                "07:30 - 18:38"
            ]
        },
        {
            "days": "5",
            "times": [
                "09:19 - 17:51",
                "09:19 - 17:51",
                "09:19 - 17:51"
            ]
        }
    ]
}
1.9.0 stable