{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/dexcom/refs/heads/main/json-schema/dexcom-api-alert-setting-schema.json", "title": "AlertSetting", "description": "AlertSetting schema from Dexcom Developer API", "type": "object", "properties": { "alertName": { "$ref": "#/$defs/AlertName" }, "value": { "type": "number" }, "unit": { "$ref": "#/$defs/GlucoseUnit" }, "snooze": { "type": "integer", "description": "Snooze interval in minutes." }, "enabled": { "type": "boolean" } }, "$defs": { "AlertName": { "type": "string", "enum": [ "unknown", "high", "low", "rise", "fall", "outOfRange", "urgentLow", "urgentLowSoon", "noReadings", "fixedLow" ] }, "GlucoseUnit": { "type": "string", "enum": [ "unknown", "mg/dL", "mmol/L" ] } } }