{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-health-dashboard/refs/heads/main/json-structure/health-date-time-range-structure.json", "name": "DateTimeRange", "description": "A range of dates and times that is used by the EventFilter and EntityFilter objects. If from is set and to is set: match items where the timestamp (startTime, endTime, or lastUpdatedTime) is between from and to inclusive. If from is set and to is not set: match items where the timestamp value is equal to or after from. If from is not set and to is set: match items where the timestamp value is equal to or before to.", "type": "object", "properties": { "from": { "allOf": [ { "$ref": "#/components/schemas/timestamp" }, { "description": "The starting date and time of a time range." } ] }, "to": { "allOf": [ { "$ref": "#/components/schemas/timestamp" }, { "description": "The ending date and time of a time range." } ] } } }