Dexcom · Schema

AlertSchedule

AlertSchedule schema from Dexcom Developer API

Continuous Glucose MonitoringDiabetesDigital HealthGlucoseHealthcareMedical DevicesWearables

Properties

Name Type Description
alertScheduleSettings object
alertSettings array
View JSON Schema on GitHub

JSON Schema

dexcom-api-alert-schedule-schema.json Raw ↑
{
  "$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-schedule-schema.json",
  "title": "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": "#/$defs/AlertSetting"
      }
    }
  },
  "$defs": {
    "AlertSetting": {
      "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"
        }
      }
    },
    "GlucoseUnit": {
      "type": "string",
      "enum": [
        "unknown",
        "mg/dL",
        "mmol/L"
      ]
    },
    "AlertName": {
      "type": "string",
      "enum": [
        "unknown",
        "high",
        "low",
        "rise",
        "fall",
        "outOfRange",
        "urgentLow",
        "urgentLowSoon",
        "noReadings",
        "fixedLow"
      ]
    }
  }
}