Dexcom · JSON Structure

Dexcom Api Events Response Structure

EventsResponse schema from Dexcom Developer API

Type: object Properties: 4
Continuous Glucose MonitoringDiabetesDigital HealthGlucoseHealthcareMedical DevicesWearables

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

Properties

recordType recordVersion userId records

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-events-response-structure.json",
  "name": "EventsResponse",
  "description": "EventsResponse schema from Dexcom Developer API",
  "type": "object",
  "properties": {
    "recordType": {
      "type": "string",
      "example": "event"
    },
    "recordVersion": {
      "type": "string",
      "example": "3.0"
    },
    "userId": {
      "type": "string"
    },
    "records": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/EventRecord"
      }
    }
  },
  "definitions": {
    "EventRecord": {
      "name": "EventRecord",
      "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
        }
      }
    },
    "EventStatus": {
      "name": "EventStatus",
      "type": "string",
      "enum": [
        "created",
        "updated",
        "deleted"
      ]
    },
    "EventType": {
      "name": "EventType",
      "type": "string",
      "enum": [
        "unknown",
        "carbs",
        "insulin",
        "exercise",
        "health",
        "bloodGlucose",
        "notes"
      ]
    },
    "DateTime": {
      "name": "DateTime",
      "type": "datetime",
      "description": "ISO 8601 timestamp."
    },
    "TransmitterGeneration": {
      "name": "TransmitterGeneration",
      "type": "string",
      "enum": [
        "unknown",
        "g4",
        "g5",
        "g6",
        "g6+",
        "dexcomPro",
        "g7"
      ]
    }
  }
}