Dexcom · Schema

EventRecord

EventRecord schema from Dexcom Developer API

Continuous Glucose MonitoringDiabetesDigital HealthGlucoseHealthcareMedical DevicesWearables

Properties

Name Type Description
recordId string
systemTime object
displayTime object
eventType object
eventSubType string For example `fastActing` or `longActing` for `insulin`, or `light` / `medium` / `heavy` for `exercise`.
value number
unit string Unit appropriate to `eventType` (e.g. `grams`, `units`, `minutes`).
eventStatus object
transmitterId string
transmitterGeneration object
displayDevice string
View JSON Schema on GitHub

JSON Schema

dexcom-api-event-record-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-event-record-schema.json",
  "title": "EventRecord",
  "description": "EventRecord schema from Dexcom Developer API",
  "type": "object",
  "properties": {
    "recordId": {
      "type": "string"
    },
    "systemTime": {
      "$ref": "#/$defs/DateTime"
    },
    "displayTime": {
      "$ref": "#/$defs/DateTime"
    },
    "eventType": {
      "$ref": "#/$defs/EventType"
    },
    "eventSubType": {
      "type": "string",
      "nullable": true,
      "description": "For example `fastActing` or `longActing` for `insulin`, or `light` / `medium` / `heavy` for `exercise`."
    },
    "value": {
      "type": "number",
      "nullable": true
    },
    "unit": {
      "type": "string",
      "nullable": true,
      "description": "Unit appropriate to `eventType` (e.g. `grams`, `units`, `minutes`)."
    },
    "eventStatus": {
      "$ref": "#/$defs/EventStatus"
    },
    "transmitterId": {
      "type": "string",
      "nullable": true
    },
    "transmitterGeneration": {
      "$ref": "#/$defs/TransmitterGeneration"
    },
    "displayDevice": {
      "type": "string",
      "nullable": true
    }
  },
  "$defs": {
    "EventType": {
      "type": "string",
      "enum": [
        "unknown",
        "carbs",
        "insulin",
        "exercise",
        "health",
        "bloodGlucose",
        "notes"
      ]
    },
    "EventStatus": {
      "type": "string",
      "enum": [
        "created",
        "updated",
        "deleted"
      ]
    },
    "DateTime": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp."
    },
    "TransmitterGeneration": {
      "type": "string",
      "enum": [
        "unknown",
        "g4",
        "g5",
        "g6",
        "g6+",
        "dexcomPro",
        "g7"
      ]
    }
  }
}