{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-health-dashboard/refs/heads/main/json-schema/health-date-time-range-schema.json",
"title": "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."
}
]
}
}
}