Google Fit REST · JSON-LD Context
Google Fitness Context
JSON-LD context defining the semantic vocabulary for Google Fitness from Google Fit REST.
23 Classes
62 Properties
4 Namespaces
Namespaces
schema:
https://schema.org/
xsd:
http://www.w3.org/2001/XMLSchema#
dcterms:
http://purl.org/dc/terms/
google:
https://google.com/schema#
Classes
AggregateBucket
AggregateBy
AggregateRequest
AggregateResponse
Application
BucketByActivity
BucketBySession
BucketByTime
BucketByTimePeriod
DataPoint
DataSource
DataType
DataTypeField
Dataset
Device
GoogleRpcError
ListDataPointChangesResponse
ListDataSourcesResponse
ListSessionsResponse
MapValue
Session
Value
ValueMapValEntry
Properties
| Property | Type | Container |
|---|---|---|
| endTimeMillis | string | |
| type | string | |
| dataset | list | |
| startTimeMillis | string | |
| session | reference | |
| activity | integer | |
| dataSourceId | string | |
| dataTypeName | string | |
| aggregateBy | list | |
| bucketBySession | reference | |
| bucketByTime | reference | |
| filteredDataQualityStandard | list | |
| bucketByActivityType | reference | |
| bucketByActivitySegment | reference | |
| bucket | list | |
| packageName | string | |
| detailsUrl | string | |
| name | string | |
| version | string | |
| minDurationMillis | string | |
| activityDataSourceId | string | |
| durationMillis | string | |
| period | reference | |
| timeZoneId | string | |
| value | integer | |
| endTimeNanos | string | |
| originDataSourceId | string | |
| rawTimestampNanos | string | |
| computationTimeMillis | string | |
| modifiedTimeMillis | string | |
| startTimeNanos | string | |
| application | reference | |
| dataStreamName | string | |
| device | reference | |
| dataType | reference | |
| dataStreamId | string | |
| dataQualityStandard | list | |
| field | list | |
| format | string | |
| optional | boolean | |
| minStartTimeNs | string | |
| point | list | |
| nextPageToken | string | |
| maxEndTimeNs | string | |
| manufacturer | string | |
| model | string | |
| uid | string | |
| error | ||
| deletedDataPoint | list | |
| insertedDataPoint | list | |
| dataSource | list | |
| deletedSession | list | |
| hasMoreData | boolean | |
| fpVal | decimal | |
| activeTimeMillis | string | |
| activityType | integer | |
| description | string | |
| id | string | |
| stringVal | string | |
| intVal | integer | |
| mapVal | list | |
| key | string |
JSON-LD Document
{
"@context": {
"@vocab": "https://google.com/schema#",
"schema": "https://schema.org/",
"xsd": "http://www.w3.org/2001/XMLSchema#",
"dcterms": "http://purl.org/dc/terms/",
"google": "https://google.com/schema#",
"AggregateBucket": "google:AggregateBucket",
"endTimeMillis": {
"@id": "google:endTimeMillis",
"@type": "xsd:string"
},
"type": {
"@id": "google:type",
"@type": "xsd:string"
},
"dataset": {
"@id": "google:dataset",
"@container": "@list"
},
"startTimeMillis": {
"@id": "google:startTimeMillis",
"@type": "xsd:string"
},
"session": {
"@id": "google:session",
"@type": "@id"
},
"activity": {
"@id": "google:activity",
"@type": "xsd:integer"
},
"AggregateBy": "google:AggregateBy",
"dataSourceId": {
"@id": "google:dataSourceId",
"@type": "xsd:string"
},
"dataTypeName": {
"@id": "google:dataTypeName",
"@type": "xsd:string"
},
"AggregateRequest": "google:AggregateRequest",
"aggregateBy": {
"@id": "google:aggregateBy",
"@container": "@list"
},
"bucketBySession": {
"@id": "google:bucketBySession",
"@type": "@id"
},
"bucketByTime": {
"@id": "google:bucketByTime",
"@type": "@id"
},
"filteredDataQualityStandard": {
"@id": "google:filteredDataQualityStandard",
"@container": "@list"
},
"bucketByActivityType": {
"@id": "google:bucketByActivityType",
"@type": "@id"
},
"bucketByActivitySegment": {
"@id": "google:bucketByActivitySegment",
"@type": "@id"
},
"AggregateResponse": "google:AggregateResponse",
"bucket": {
"@id": "google:bucket",
"@container": "@list"
},
"Application": "google:Application",
"packageName": {
"@id": "google:packageName",
"@type": "xsd:string"
},
"detailsUrl": {
"@id": "google:detailsUrl",
"@type": "xsd:string"
},
"name": {
"@id": "google:name",
"@type": "xsd:string"
},
"version": {
"@id": "google:version",
"@type": "xsd:string"
},
"BucketByActivity": "google:BucketByActivity",
"minDurationMillis": {
"@id": "google:minDurationMillis",
"@type": "xsd:string"
},
"activityDataSourceId": {
"@id": "google:activityDataSourceId",
"@type": "xsd:string"
},
"BucketBySession": "google:BucketBySession",
"BucketByTime": "google:BucketByTime",
"durationMillis": {
"@id": "google:durationMillis",
"@type": "xsd:string"
},
"period": {
"@id": "google:period",
"@type": "@id"
},
"BucketByTimePeriod": "google:BucketByTimePeriod",
"timeZoneId": {
"@id": "google:timeZoneId",
"@type": "xsd:string"
},
"value": {
"@id": "google:value",
"@type": "xsd:integer"
},
"DataPoint": "google:DataPoint",
"endTimeNanos": {
"@id": "google:endTimeNanos",
"@type": "xsd:string"
},
"originDataSourceId": {
"@id": "google:originDataSourceId",
"@type": "xsd:string"
},
"rawTimestampNanos": {
"@id": "google:rawTimestampNanos",
"@type": "xsd:string"
},
"computationTimeMillis": {
"@id": "google:computationTimeMillis",
"@type": "xsd:string"
},
"modifiedTimeMillis": {
"@id": "google:modifiedTimeMillis",
"@type": "xsd:string"
},
"startTimeNanos": {
"@id": "google:startTimeNanos",
"@type": "xsd:string"
},
"DataSource": "google:DataSource",
"application": {
"@id": "google:application",
"@type": "@id"
},
"dataStreamName": {
"@id": "google:dataStreamName",
"@type": "xsd:string"
},
"device": {
"@id": "google:device",
"@type": "@id"
},
"dataType": {
"@id": "google:dataType",
"@type": "@id"
},
"dataStreamId": {
"@id": "google:dataStreamId",
"@type": "xsd:string"
},
"dataQualityStandard": {
"@id": "google:dataQualityStandard",
"@container": "@list"
},
"DataType": "google:DataType",
"field": {
"@id": "google:field",
"@container": "@list"
},
"DataTypeField": "google:DataTypeField",
"format": {
"@id": "google:format",
"@type": "xsd:string"
},
"optional": {
"@id": "google:optional",
"@type": "xsd:boolean"
},
"Dataset": "google:Dataset",
"minStartTimeNs": {
"@id": "google:minStartTimeNs",
"@type": "xsd:string"
},
"point": {
"@id": "google:point",
"@container": "@list"
},
"nextPageToken": {
"@id": "google:nextPageToken",
"@type": "xsd:string"
},
"maxEndTimeNs": {
"@id": "google:maxEndTimeNs",
"@type": "xsd:string"
},
"Device": "google:Device",
"manufacturer": {
"@id": "google:manufacturer",
"@type": "xsd:string"
},
"model": {
"@id": "google:model",
"@type": "xsd:string"
},
"uid": {
"@id": "google:uid",
"@type": "xsd:string"
},
"GoogleRpcError": "google:GoogleRpcError",
"error": {
"@id": "google:error"
},
"ListDataPointChangesResponse": "google:ListDataPointChangesResponse",
"deletedDataPoint": {
"@id": "google:deletedDataPoint",
"@container": "@list"
},
"insertedDataPoint": {
"@id": "google:insertedDataPoint",
"@container": "@list"
},
"ListDataSourcesResponse": "google:ListDataSourcesResponse",
"dataSource": {
"@id": "google:dataSource",
"@container": "@list"
},
"ListSessionsResponse": "google:ListSessionsResponse",
"deletedSession": {
"@id": "google:deletedSession",
"@container": "@list"
},
"hasMoreData": {
"@id": "google:hasMoreData",
"@type": "xsd:boolean"
},
"MapValue": "google:MapValue",
"fpVal": {
"@id": "google:fpVal",
"@type": "xsd:decimal"
},
"Session": "google:Session",
"activeTimeMillis": {
"@id": "google:activeTimeMillis",
"@type": "xsd:string"
},
"activityType": {
"@id": "google:activityType",
"@type": "xsd:integer"
},
"description": {
"@id": "google:description",
"@type": "xsd:string"
},
"id": {
"@id": "google:id",
"@type": "xsd:string"
},
"Value": "google:Value",
"stringVal": {
"@id": "google:stringVal",
"@type": "xsd:string"
},
"intVal": {
"@id": "google:intVal",
"@type": "xsd:integer"
},
"mapVal": {
"@id": "google:mapVal",
"@container": "@list"
},
"ValueMapValEntry": "google:ValueMapValEntry",
"key": {
"@id": "google:key",
"@type": "xsd:string"
}
},
"@type": "schema:Dataset",
"schema:name": "Google Fit REST API JSON-LD context",
"schema:description": "A JSON-LD @context for the objects Google Fit REST's own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-11-11) from openapi/google-fitness-users-api-openapi.yml.",
"dcterms:created": "2026-11-11",
"dcterms:source": [
"openapi/google-fitness-users-api-openapi.yml"
]
}