Dexcom · JSON Structure

Dexcom Api Event Record Structure

EventRecord schema from Dexcom Developer API

Type: object Properties: 11
Continuous Glucose MonitoringDiabetesDigital HealthGlucoseHealthcareMedical DevicesWearables

EventRecord is a JSON Structure definition published by Dexcom, describing 11 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

recordId systemTime displayTime eventType eventSubType value unit eventStatus transmitterId transmitterGeneration displayDevice

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/dexcom/refs/heads/main/json-structure/dexcom-api-event-record-structure.json",
  "name": "EventRecord",
  "description": "EventRecord schema from Dexcom Developer API",
  "type": "object",
  "properties": {
    "recordId": {
      "type": "string"
    },
    "systemTime": {
      "$ref": "#/definitions/DateTime"
    },
    "displayTime": {
      "$ref": "#/definitions/DateTime"
    },
    "eventType": {
      "$ref": "#/definitions/EventType"
    },
    "eventSubType": {
      "type": "string",
      "nullable": true,
      "description": "For example `fastActing` or `longActing` for `insulin`, or `light` / `medium` / `heavy` for `exercise`."
    },
    "value": {
      "type": "double",
      "nullable": true
    },
    "unit": {
      "type": "string",
      "nullable": true,
      "description": "Unit appropriate to `eventType` (e.g. `grams`, `units`, `minutes`)."
    },
    "eventStatus": {
      "$ref": "#/definitions/EventStatus"
    },
    "transmitterId": {
      "type": "string",
      "nullable": true
    },
    "transmitterGeneration": {
      "$ref": "#/definitions/TransmitterGeneration"
    },
    "displayDevice": {
      "type": "string",
      "nullable": true
    }
  },
  "definitions": {
    "EventType": {
      "name": "EventType",
      "type": "string",
      "enum": [
        "unknown",
        "carbs",
        "insulin",
        "exercise",
        "health",
        "bloodGlucose",
        "notes"
      ]
    },
    "EventStatus": {
      "name": "EventStatus",
      "type": "string",
      "enum": [
        "created",
        "updated",
        "deleted"
      ]
    },
    "DateTime": {
      "name": "DateTime",
      "type": "datetime",
      "description": "ISO 8601 timestamp."
    },
    "TransmitterGeneration": {
      "name": "TransmitterGeneration",
      "type": "string",
      "enum": [
        "unknown",
        "g4",
        "g5",
        "g6",
        "g6+",
        "dexcomPro",
        "g7"
      ]
    }
  }
}