{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/grubhub/main/json-schema/grubhub-datetimefield-schema.json", "title": "DateTimeField", "x-generated": "2026-09-17", "x-method": "derived", "x-source": "openapi/grubhub-merchant-schedules-openapi.yml#/components/schemas/DateTimeField", "type": "object", "properties": { "name": { "type": "string" }, "type": { "$ref": "#/$defs/DateTimeFieldType" }, "supported": { "type": "boolean" }, "lenient": { "type": "boolean" }, "duration_field": { "$ref": "#/$defs/DurationField" }, "range_duration_field": { "$ref": "#/$defs/DurationField" }, "leap_duration_field": { "$ref": "#/$defs/DurationField" }, "minimum_value": { "type": "integer", "format": "int32" }, "maximum_value": { "type": "integer", "format": "int32" } }, "$defs": { "DateTimeFieldType": { "type": "object", "properties": { "name": { "type": "string" }, "duration_type": { "$ref": "#/$defs/DurationFieldType" }, "range_duration_type": { "$ref": "#/$defs/DurationFieldType" } } }, "DurationField": { "type": "object", "properties": { "name": { "type": "string" }, "type": { "$ref": "#/$defs/DurationFieldType" }, "supported": { "type": "boolean" }, "unit_millis": { "type": "integer", "format": "int64" }, "precise": { "type": "boolean" } } }, "DurationFieldType": { "type": "object", "properties": { "name": { "type": "string" } } } } }