Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADDED] Activity type and location source found in real world data. #4

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
4 changes: 4 additions & 0 deletions schemas/Records.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,10 @@
"cell",
"GPS",
"gps",
VISIT_ARRIVAL,
visit_arrival,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
  "latitudeE7": 436468347,
  "longitudeE7": -793912234,
  "accuracy": 109,
  "source": "VISIT_ARRIVAL",
  "deviceTag": -1158676519,
  "deviceDesignation": "PRIMARY",
  "timestamp": "2018-01-23T14:03:34.135Z"
}

VISIT_DEPARTURE,
visit_departure,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
  "latitudeE7": 436466804,
  "longitudeE7": -793918201,
  "accuracy": 110,
  "source": "VISIT_DEPARTURE",
  "deviceTag": -1158676519,
  "deviceDesignation": "PRIMARY",
  "timestamp": "2018-01-23T21:59:35.998Z"
}

"UNKNOWN",
"unknown"
]
Expand Down
46 changes: 43 additions & 3 deletions schemas/Semantic.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -890,10 +890,18 @@
{
"type": "string",
"const": "UNKNOWN_ACTIVITY_TYPE",
"title": "Moving",
"description": "",
"title": "Uknown Activity",
"description": "Type used when unable to detect the current activity.",
"extra_color": "#03a9f4",
"extra_icon": "activity_types/moving_24dp.svg"
"extra_icon": "activity_types/unknown.svg"
},
{
"type": "string",
"const": "UNKNOWN",
"title": "Uknown Activity",
"description": "Type used when unable to detect the current activity.",
"extra_color": "#03a9f4",
"extra_icon": "activity_types/unknown.svg"
},
hossain-khan marked this conversation as resolved.
Show resolved Hide resolved
{
"type": "string",
Expand All @@ -911,6 +919,14 @@
"extra_color": "#03a9f4",
"extra_icon": "activity_types/directions_walk_24dp.svg"
},
{
"type": "string",
"const": "ON_FOOT",
"title": "On Foot",
"description": "",
"extra_color": "#4db6ac",
"extra_icon": "activity_types/directions_walk_24dp.svg"
},
hossain-khan marked this conversation as resolved.
Show resolved Hide resolved
{
"type": "string",
"const": "CYCLING",
Expand All @@ -919,6 +935,14 @@
"extra_color": "#4db6ac",
"extra_icon": "activity_types/directions_bike_24dp.svg"
},
{
"type": "string",
"const": "ON_BICYCLE",
"title": "On bicycle",
"description": "",
"extra_color": "#4db6ac",
"extra_icon": "activity_types/directions_bike_24dp.svg"
},
hossain-khan marked this conversation as resolved.
Show resolved Hide resolved
{
"type": "string",
"const": "IN_VEHICLE",
Expand Down Expand Up @@ -1190,6 +1214,14 @@
"description": "",
"extra_color": "#4db6ac",
"extra_icon": "activity_types/paragliding_24dp.svg"
},
{
"type": "string",
"const": "TILTING",
"title": "Tilting",
"description": "The device angle relative to gravity changed significantly. This often occurs when a device is picked up from a desk or a user who is sitting stands up.",
"extra_color": "#4db6ac",
"extra_icon": "activity_types/moving_24dp.svg"
}
hossain-khan marked this conversation as resolved.
Show resolved Hide resolved
]
},
Expand Down Expand Up @@ -1232,6 +1264,14 @@
"description": "The place has been given a private label by the user. See: [Give a place a private label](https://support.google.com/maps/answer/6257830?hl=en).",
"extra_color": "#03a9f4",
"extra_icon": "semantic_types/label_circled_24dp.svg"
},
{
"type": "string",
"const": "TYPE_UNKNOWN",
"title": "Type Unknown Location",
"description": "Location type is unknown",
"extra_color": "#03a9f4",
"extra_icon": "semantic_types/label_circled_24dp.svg"
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{
  "latitudeE7": 427012790,
  "longitudeE7": -788526840,
  "placeId": "Chklm2Fe-r8TK4gRkgyI7imTse0",
  "address": "Brampton, ON L7A, Canada",
  "name": "Creditview Rd s/of Kilkarrin Rd",
  "semanticType": "TYPE_UNKNOWN",
  "locationConfidence": 0.100103855,
  "calibratedProbability": 0.100103855
}

]
},
Expand Down