A time window defining when a schedule or item is available.
Type: objectProperties: 3
Availability is a JSON Structure definition published by Grubhub, describing 3 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/refs/heads/main/json-structure/grubhub-availability-structure.json",
"name": "Availability",
"description": "A time window defining when a schedule or item is available.",
"type": "object",
"properties": {
"day_of_week": {
"type": "string",
"description": "The day of the week this availability applies to.",
"enum": [
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY"
]
},
"start_time": {
"type": "string",
"description": "The start time in HH:mm format.",
"pattern": "^\\d{2}:\\d{2}$"
},
"end_time": {
"type": "string",
"description": "The end time in HH:mm format.",
"pattern": "^\\d{2}:\\d{2}$"
}
}
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.