{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/dexcom/refs/heads/main/json-structure/dexcom-api-alert-schedule-structure.json", "name": "AlertSchedule", "description": "AlertSchedule schema from Dexcom Developer API", "type": "object", "properties": { "alertScheduleSettings": { "type": "object", "properties": { "alertScheduleName": { "type": "string" }, "isEnabled": { "type": "boolean" }, "isDefaultSchedule": { "type": "boolean" }, "startTime": { "type": "string", "description": "Local time of day in `HH:mm` format." }, "endTime": { "type": "string", "description": "Local time of day in `HH:mm` format." }, "daysOfWeek": { "type": "array", "items": { "type": "string", "enum": [ "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" ] } } } }, "alertSettings": { "type": "array", "items": { "$ref": "#/definitions/AlertSetting" } } }, "definitions": { "AlertSetting": { "name": "AlertSetting", "type": "object", "properties": { "alertName": { "$ref": "#/definitions/AlertName" }, "value": { "type": "double" }, "unit": { "$ref": "#/definitions/GlucoseUnit" }, "snooze": { "type": "int32", "description": "Snooze interval in minutes." }, "enabled": { "type": "boolean" } } }, "GlucoseUnit": { "name": "GlucoseUnit", "type": "string", "enum": [ "unknown", "mg/dL", "mmol/L" ] }, "AlertName": { "name": "AlertName", "type": "string", "enum": [ "unknown", "high", "low", "rise", "fall", "outOfRange", "urgentLow", "urgentLowSoon", "noReadings", "fixedLow" ] } } }