Dexcom · Schema
EgvsResponse
EgvsResponse schema from Dexcom Developer API
Continuous Glucose MonitoringDiabetesDigital HealthGlucoseHealthcareMedical DevicesWearables
Properties
| Name | Type | Description |
|---|---|---|
| recordType | string | |
| recordVersion | string | |
| userId | string | |
| records | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/dexcom/refs/heads/main/json-schema/dexcom-api-egvs-response-schema.json",
"title": "EgvsResponse",
"description": "EgvsResponse schema from Dexcom Developer API",
"type": "object",
"properties": {
"recordType": {
"type": "string",
"example": "egv"
},
"recordVersion": {
"type": "string",
"example": "3.0"
},
"userId": {
"type": "string"
},
"records": {
"type": "array",
"items": {
"$ref": "#/$defs/EGVRecord"
}
}
},
"$defs": {
"EGVRecord": {
"type": "object",
"properties": {
"recordId": {
"type": "string"
},
"systemTime": {
"$ref": "#/$defs/DateTime"
},
"displayTime": {
"$ref": "#/$defs/DateTime"
},
"transmitterId": {
"type": "string",
"nullable": true
},
"transmitterTicks": {
"type": "integer",
"format": "int64"
},
"value": {
"type": "integer",
"format": "int32",
"description": "Estimated glucose value, in `unit`."
},
"status": {
"$ref": "#/$defs/EgvStatus"
},
"trend": {
"$ref": "#/$defs/TrendType"
},
"trendRate": {
"type": "number",
"format": "double",
"nullable": true
},
"unit": {
"$ref": "#/$defs/GlucoseUnit"
},
"rateUnit": {
"$ref": "#/$defs/RateUnit"
},
"displayDevice": {
"type": "string",
"description": "One of `iOS`, `android`, or `receiver`."
},
"transmitterGeneration": {
"$ref": "#/$defs/TransmitterGeneration"
}
},
"description": "A single estimated glucose value record."
},
"DateTime": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp."
},
"TransmitterGeneration": {
"type": "string",
"enum": [
"unknown",
"g4",
"g5",
"g6",
"g6+",
"dexcomPro",
"g7"
]
},
"TrendType": {
"type": "string",
"enum": [
"none",
"unknown",
"doubleUp",
"singleUp",
"fortyFiveUp",
"flat",
"fortyFiveDown",
"singleDown",
"doubleDown",
"notComputable",
"rateOutOfRange"
]
},
"RateUnit": {
"type": "string",
"enum": [
"unknown",
"mg/dL/min",
"mmol/L/min"
]
},
"GlucoseUnit": {
"type": "string",
"enum": [
"unknown",
"mg/dL",
"mmol/L"
]
},
"EgvStatus": {
"type": "string",
"enum": [
"unknown",
"high",
"low",
"ok"
]
}
}
}