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:26 - 13:48",
                "06:26 - 13:48",
                "06:26 - 13:48"
            ]
        },
        {
            "days": "5",
            "times": [
                "08:13 - 20:44",
                "08:13 - 20:44",
                "08:13 - 20:44"
            ]
        },
        {
            "days": "5",
            "times": [
                "06:12 - 20:50",
                "06:12 - 20:50",
                "06:12 - 20:50"
            ]
        }
    ]
}
This is a development version Do not use this version in production
1.10.0 development