2021-02-01 19:01:43 +01:00
|
|
|
$schema: "http://json-schema.org/draft-07/schema#"
|
|
|
|
description: RAPIDS configuration schema
|
|
|
|
required:
|
|
|
|
- TIMEZONE
|
2021-02-02 23:53:49 +01:00
|
|
|
- PIDS
|
2021-02-01 19:01:43 +01:00
|
|
|
- CREATE_PARTICIPANT_FILES
|
2021-02-13 00:11:43 +01:00
|
|
|
- TIME_SEGMENTS
|
2021-03-08 21:58:26 +01:00
|
|
|
- PHONE_DATA_STREAMS
|
2021-02-02 23:53:49 +01:00
|
|
|
- PHONE_ACCELEROMETER
|
|
|
|
- PHONE_ACTIVITY_RECOGNITION
|
|
|
|
- PHONE_APPLICATIONS_CRASHES
|
|
|
|
- PHONE_APPLICATIONS_FOREGROUND
|
|
|
|
- PHONE_APPLICATIONS_NOTIFICATIONS
|
|
|
|
- PHONE_BATTERY
|
|
|
|
- PHONE_BLUETOOTH
|
2021-02-01 19:01:43 +01:00
|
|
|
- PHONE_CALLS
|
2021-02-02 23:53:49 +01:00
|
|
|
- PHONE_CONVERSATION
|
|
|
|
- PHONE_DATA_YIELD
|
2021-02-01 19:01:43 +01:00
|
|
|
- PHONE_KEYBOARD
|
|
|
|
- PHONE_LOCATIONS
|
2021-03-10 22:26:50 +01:00
|
|
|
- PHONE_LOG
|
2021-02-02 23:53:49 +01:00
|
|
|
- PHONE_MESSAGES
|
|
|
|
- PHONE_SCREEN
|
|
|
|
- PHONE_WIFI_CONNECTED
|
|
|
|
- PHONE_WIFI_VISIBLE
|
2021-03-09 17:20:21 +01:00
|
|
|
- FITBIT_DATA_STREAMS
|
2021-02-02 23:53:49 +01:00
|
|
|
- FITBIT_DATA_YIELD
|
|
|
|
- FITBIT_HEARTRATE_SUMMARY
|
|
|
|
- FITBIT_HEARTRATE_INTRADAY
|
|
|
|
- FITBIT_SLEEP_SUMMARY
|
2021-02-26 06:52:20 +01:00
|
|
|
- FITBIT_SLEEP_INTRADAY
|
2021-02-02 23:53:49 +01:00
|
|
|
- FITBIT_STEPS_SUMMARY
|
|
|
|
- FITBIT_STEPS_INTRADAY
|
|
|
|
- HISTOGRAM_PHONE_DATA_YIELD
|
|
|
|
- HEATMAP_PHONE_DATA_YIELD_PER_PARTICIPANT_PER_TIME_SEGMENT
|
|
|
|
- HEATMAP_SENSORS_PER_MINUTE_PER_TIME_SEGMENT
|
|
|
|
- HEATMAP_SENSOR_ROW_COUNT_PER_TIME_SEGMENT
|
|
|
|
- HEATMAP_FEATURE_CORRELATION_MATRIX
|
2021-02-01 19:01:43 +01:00
|
|
|
|
|
|
|
definitions:
|
|
|
|
PROVIDER:
|
|
|
|
type: object
|
2021-03-15 00:52:14 +01:00
|
|
|
required: [COMPUTE, SRC_SCRIPT, FEATURES]
|
2021-02-01 19:01:43 +01:00
|
|
|
properties:
|
|
|
|
COMPUTE:
|
|
|
|
type: boolean
|
|
|
|
FEATURES:
|
|
|
|
type: [array, object]
|
2021-03-15 00:52:14 +01:00
|
|
|
SRC_SCRIPT:
|
2021-02-01 19:01:43 +01:00
|
|
|
type: string
|
2021-03-15 00:52:14 +01:00
|
|
|
pattern: "^.*\\.(py|R)$"
|
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
|
|
|
|
DORYAB_BLUETOOTH_FEATURE:
|
|
|
|
type: object
|
|
|
|
required: [DEVICES, SCANS_MOST_FREQUENT_DEVICE, SCANS_LEAST_FREQUENT_DEVICE]
|
|
|
|
properties:
|
|
|
|
DEVICES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countscans", "uniquedevices", "meanscans", "stdscans"]
|
|
|
|
SCANS_MOST_FREQUENT_DEVICE:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["withinsegments", "acrosssegments", "acrossdataset"]
|
2021-02-22 01:34:42 +01:00
|
|
|
SCANS_LEAST_FREQUENT_DEVICE:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["withinsegments", "acrosssegments", "acrossdataset"]
|
2021-02-01 19:01:43 +01:00
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
APPLICATION_CATEGORIES_FEATURE:
|
|
|
|
type: object
|
|
|
|
required: [CATALOGUE_SOURCE, CATALOGUE_FILE, UPDATE_CATALOGUE_FILE, SCRAPE_MISSING_CATEGORIES]
|
|
|
|
properties:
|
|
|
|
CATALOGUE_SOURCE:
|
|
|
|
type: string
|
|
|
|
enum: ["FILE", "GOOGLE"]
|
|
|
|
CATALOGUE_FILE:
|
|
|
|
type: string
|
|
|
|
pattern: "^.*\\.csv$"
|
|
|
|
UPDATE_CATALOGUE_FILE:
|
|
|
|
type: boolean
|
|
|
|
SCRAPE_MISSING_CATEGORIES:
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
DATA_CONFIGURATION:
|
|
|
|
type: object
|
|
|
|
required: [SOURCE, TIMEZONE]
|
|
|
|
properties:
|
|
|
|
SOURCE:
|
|
|
|
type: object
|
2021-03-02 23:57:22 +01:00
|
|
|
required: [TYPE, DATABASE_GROUP]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
|
|
|
TYPE:
|
|
|
|
type: string
|
|
|
|
DATABASE_GROUP:
|
|
|
|
type: string
|
|
|
|
TIMEZONE:
|
|
|
|
type: object
|
|
|
|
required: [TYPE, VALUE]
|
|
|
|
properties:
|
|
|
|
TYPE:
|
|
|
|
type: string
|
|
|
|
VALUE:
|
|
|
|
type: string
|
|
|
|
|
2021-02-01 19:01:43 +01:00
|
|
|
properties:
|
|
|
|
|
|
|
|
TIMEZONE:
|
2021-03-05 23:49:37 +01:00
|
|
|
type: object
|
|
|
|
required: [TYPE, SINGLE, MULTIPLE]
|
|
|
|
properties:
|
|
|
|
TYPE:
|
|
|
|
type: string
|
|
|
|
enum: ["MULTIPLE", "SINGLE"]
|
|
|
|
SINGLE:
|
|
|
|
type: object
|
|
|
|
required: [TZCODE]
|
|
|
|
properties:
|
|
|
|
TZCODE:
|
|
|
|
type: string
|
|
|
|
MULTIPLE:
|
|
|
|
type: object
|
|
|
|
required: [TZCODES_FILE, IF_MISSING_TZCODE, DEFAULT_TZCODE, FITBIT]
|
|
|
|
properties:
|
|
|
|
TZCODES_FILE:
|
|
|
|
type: string
|
|
|
|
pattern: "^.*\\.csv$"
|
|
|
|
IF_MISSING_TZCODE:
|
|
|
|
type: string
|
2021-03-11 19:35:34 +01:00
|
|
|
enum: [STOP, USE_DEFAULT]
|
2021-03-05 23:49:37 +01:00
|
|
|
DEFAULT_TZCODE:
|
|
|
|
type: string
|
|
|
|
FITBIT:
|
|
|
|
type: object
|
|
|
|
required: [ALLOW_MULTIPLE_TZ_PER_DEVICE, INFER_FROM_SMARTPHONE_TZ]
|
|
|
|
properties:
|
|
|
|
ALLOW_MULTIPLE_TZ_PER_DEVICE:
|
|
|
|
type: boolean
|
|
|
|
INFER_FROM_SMARTPHONE_TZ:
|
|
|
|
type: boolean
|
2021-02-01 19:01:43 +01:00
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
PIDS:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
|
2021-02-01 19:01:43 +01:00
|
|
|
CREATE_PARTICIPANT_FILES:
|
|
|
|
type: object
|
2021-03-11 20:30:42 +01:00
|
|
|
required: [CSV_FILE_PATH, PHONE_SECTION, FITBIT_SECTION,EMPATICA_SECTION]
|
2021-02-01 19:01:43 +01:00
|
|
|
properties:
|
2021-03-11 20:30:42 +01:00
|
|
|
CSV_FILE_PATH:
|
|
|
|
type: string
|
|
|
|
pattern: "^.*\\.csv$"
|
2021-02-01 19:01:43 +01:00
|
|
|
PHONE_SECTION:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
ADD:
|
|
|
|
type: boolean
|
|
|
|
DEVICE_ID_COLUMN:
|
|
|
|
type: string
|
|
|
|
IGNORED_DEVICE_IDS:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
FITBIT_SECTION:
|
|
|
|
properties:
|
|
|
|
ADD:
|
|
|
|
type: boolean
|
|
|
|
DEVICE_ID_COLUMN:
|
|
|
|
type: string
|
|
|
|
IGNORED_DEVICE_IDS:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
2021-03-11 20:30:42 +01:00
|
|
|
EMPATICA_SECTION:
|
|
|
|
properties:
|
|
|
|
ADD:
|
|
|
|
type: boolean
|
|
|
|
DEVICE_ID_COLUMN:
|
|
|
|
type: string
|
|
|
|
IGNORED_DEVICE_IDS:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
2021-02-01 19:01:43 +01:00
|
|
|
|
2021-02-13 00:11:43 +01:00
|
|
|
TIME_SEGMENTS:
|
|
|
|
type: object
|
|
|
|
required: [TYPE, FILE, INCLUDE_PAST_PERIODIC_SEGMENTS]
|
|
|
|
properties:
|
|
|
|
TYPE:
|
|
|
|
type: string
|
|
|
|
enum: ["FREQUENCY", "PERIODIC", "EVENT"]
|
|
|
|
FILE:
|
|
|
|
type: string
|
|
|
|
pattern: "^.*\\.csv$"
|
|
|
|
INCLUDE_PAST_PERIODIC_SEGMENTS:
|
|
|
|
type: boolean
|
2021-02-02 23:53:49 +01:00
|
|
|
|
2021-03-08 21:58:26 +01:00
|
|
|
PHONE_DATA_STREAMS:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
USE:
|
|
|
|
type: string
|
|
|
|
aware_mysql:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
DATABASE_GROUP:
|
|
|
|
type: string
|
2021-02-02 23:53:49 +01:00
|
|
|
|
|
|
|
PHONE_ACCELEROMETER:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["maxmagnitude", "minmagnitude", "avgmagnitude", "medianmagnitude", "stdmagnitude"]
|
|
|
|
PANDA:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
VALID_SENSED_MINUTES:
|
|
|
|
type: boolean
|
|
|
|
FEATURES:
|
|
|
|
type: object
|
|
|
|
required: [exertional_activity_episode, nonexertional_activity_episode]
|
|
|
|
properties:
|
|
|
|
exertional_activity_episode:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["sumduration", "maxduration", "minduration", "avgduration", "medianduration", "stdduration"]
|
|
|
|
nonexertional_activity_episode:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["sumduration", "maxduration", "minduration", "avgduration", "medianduration", "stdduration"]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
PHONE_ACTIVITY_RECOGNITION:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, EPISODE_THRESHOLD_BETWEEN_ROWS, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: object
|
|
|
|
required: [ANDROID, IOS]
|
|
|
|
properties:
|
|
|
|
ANDROID:
|
|
|
|
type: string
|
|
|
|
IOS:
|
|
|
|
type: string
|
2021-02-12 19:19:00 +01:00
|
|
|
EPISODE_THRESHOLD_BETWEEN_ROWS:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: integer
|
2021-02-12 19:19:00 +01:00
|
|
|
maximum: 1440
|
2021-02-02 23:53:49 +01:00
|
|
|
minimum: 0
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["count", "mostcommonactivity", "countuniqueactivities", "durationstationary", "durationmobile", "durationvehicle"]
|
|
|
|
ACTIVITY_CLASSES:
|
|
|
|
type: object
|
|
|
|
required: [STATIONARY, MOBILE, VEHICLE]
|
|
|
|
properties:
|
|
|
|
STATIONARY:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["still", "tilting"]
|
|
|
|
MOBILE:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["on_foot", "walking", "running", "on_bicycle"]
|
|
|
|
VEHICLE:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["in_vehicle"]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
PHONE_APPLICATIONS_CRASHES:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, APPLICATION_CATEGORIES, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
APPLICATION_CATEGORIES:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/APPLICATION_CATEGORIES_FEATURE"
|
|
|
|
PROVIDERS:
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
PHONE_APPLICATIONS_FOREGROUND:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, APPLICATION_CATEGORIES, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
APPLICATION_CATEGORIES:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/APPLICATION_CATEGORIES_FEATURE"
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
SINGLE_CATEGORIES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-06-22 22:56:09 +02:00
|
|
|
CUSTOM_CATEGORIES:
|
2021-06-22 22:45:25 +02:00
|
|
|
type: ["null", object]
|
|
|
|
additionalProperties:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-02-02 23:53:49 +01:00
|
|
|
MULTIPLE_CATEGORIES:
|
2021-06-22 22:45:25 +02:00
|
|
|
type: ["null", object]
|
2021-02-02 23:53:49 +01:00
|
|
|
additionalProperties:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-02-22 01:34:42 +01:00
|
|
|
SINGLE_APPS:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-02-02 23:53:49 +01:00
|
|
|
EXCLUDED_CATEGORIES:
|
|
|
|
type: ["null", array]
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
EXCLUDED_APPS:
|
|
|
|
type: array
|
|
|
|
uniqueItems: true
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
FEATURES:
|
2021-07-01 22:25:38 +02:00
|
|
|
type: ["null", object]
|
|
|
|
required: [APP_EVENTS, APP_EPISODES]
|
|
|
|
properties:
|
|
|
|
APP_EVENTS:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countevent", "timeoffirstuse", "timeoflastuse", "frequencyentropy"]
|
|
|
|
APP_EPISODES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countepisode", "minduration", "maxduration", "meanduration", "sumduration"]
|
|
|
|
IGNORE_EPISODES_SHORTER_THAN:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
IGNORE_EPISODES_LONGER_THAN:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
2021-02-02 23:53:49 +01:00
|
|
|
|
|
|
|
PHONE_APPLICATIONS_NOTIFICATIONS:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, APPLICATION_CATEGORIES, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
APPLICATION_CATEGORIES:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/APPLICATION_CATEGORIES_FEATURE"
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
PHONE_BATTERY:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS, EPISODE_THRESHOLD_BETWEEN_ROWS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
EPISODE_THRESHOLD_BETWEEN_ROWS:
|
|
|
|
type: integer
|
|
|
|
maximum: 1440
|
|
|
|
minimum: 0
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countdischarge", "sumdurationdischarge", "countcharge", "sumdurationcharge", "avgconsumptionrate", "maxconsumptionrate"]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
PHONE_BLUETOOTH:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countscans", "uniquedevices", "countscansmostuniquedevice"]
|
|
|
|
DORYAB:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
type: object
|
|
|
|
required: [ALL, OWN, OTHERS]
|
|
|
|
properties:
|
|
|
|
ALL:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/DORYAB_BLUETOOTH_FEATURE"
|
|
|
|
OWN:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/DORYAB_BLUETOOTH_FEATURE"
|
|
|
|
OTHERS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/DORYAB_BLUETOOTH_FEATURE"
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
|
2021-02-01 19:01:43 +01:00
|
|
|
PHONE_CALLS:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-01 19:01:43 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-01 19:01:43 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
CALL_TYPES:
|
|
|
|
type: array
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [missed, incoming, outgoing]
|
|
|
|
FEATURES:
|
|
|
|
type: object
|
|
|
|
required: [missed, incoming, outgoing]
|
|
|
|
properties:
|
|
|
|
missed:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type:
|
|
|
|
string
|
|
|
|
enum: [count, distinctcontacts, timefirstcall, timelastcall, countmostfrequentcontact]
|
|
|
|
incoming:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type:
|
|
|
|
string
|
|
|
|
enum: [count, distinctcontacts, meanduration, sumduration, minduration, maxduration, stdduration, modeduration, entropyduration, timefirstcall, timelastcall, countmostfrequentcontact]
|
|
|
|
outgoing:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type:
|
|
|
|
string
|
|
|
|
enum: [count, distinctcontacts, meanduration, sumduration, minduration, maxduration, stdduration, modeduration, entropyduration, timefirstcall, timelastcall, countmostfrequentcontact]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
PHONE_CONVERSATION:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: object
|
|
|
|
required: [ANDROID, IOS]
|
|
|
|
properties:
|
|
|
|
ANDROID:
|
|
|
|
type: string
|
|
|
|
IOS:
|
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["minutessilence", "minutesnoise", "minutesvoice", "minutesunknown","sumconversationduration","avgconversationduration",
|
|
|
|
"sdconversationduration","minconversationduration","maxconversationduration","timefirstconversation","timelastconversation","noisesumenergy",
|
|
|
|
"noiseavgenergy","noisesdenergy","noiseminenergy","noisemaxenergy","voicesumenergy",
|
|
|
|
"voiceavgenergy","voicesdenergy","voiceminenergy","voicemaxenergy","silencesensedfraction","noisesensedfraction",
|
|
|
|
"voicesensedfraction","unknownsensedfraction","silenceexpectedfraction","noiseexpectedfraction","voiceexpectedfraction",
|
|
|
|
"unknownexpectedfraction","countconversation"]
|
|
|
|
RECORDING_MINUTES:
|
|
|
|
type: integer
|
|
|
|
minimum: 1
|
|
|
|
maximum: 1440
|
|
|
|
PAUSED_MINUTES:
|
|
|
|
type: integer
|
|
|
|
minimum: 1
|
|
|
|
maximum: 1440
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
PHONE_DATA_YIELD:
|
|
|
|
type: object
|
|
|
|
required: [SENSORS, PROVIDERS]
|
|
|
|
properties:
|
|
|
|
SENSORS:
|
|
|
|
type: ["null", array]
|
|
|
|
items:
|
|
|
|
type: string
|
2021-03-10 22:26:50 +01:00
|
|
|
enum: ["PHONE_ACCELEROMETER", "PHONE_ACTIVITY_RECOGNITION", "PHONE_APPLICATIONS_CRASHES", "PHONE_APPLICATIONS_FOREGROUND", "PHONE_APPLICATIONS_NOTIFICATIONS", "PHONE_LOG", "PHONE_BATTERY", "PHONE_BLUETOOTH", "PHONE_CALLS", "PHONE_CONVERSATION", "PHONE_KEYBOARD", "PHONE_LIGHT", "PHONE_LOCATIONS", "PHONE_MESSAGES", "PHONE_SCREEN", "PHONE_WIFI_CONNECTED", "PHONE_WIFI_VISIBLE"]
|
2021-02-02 23:53:49 +01:00
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [ratiovalidyieldedminutes, ratiovalidyieldedhours]
|
|
|
|
MINUTE_RATIO_THRESHOLD_FOR_VALID_YIELDED_HOURS:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-01 19:01:43 +01:00
|
|
|
PHONE_KEYBOARD:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-01 19:01:43 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-01 19:01:43 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
PHONE_LIGHT:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["count", "maxlux", "minlux", "avglux", "medianlux", "stdlux"]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-01 19:01:43 +01:00
|
|
|
PHONE_LOCATIONS:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, LOCATIONS_TO_USE, FUSED_RESAMPLED_CONSECUTIVE_THRESHOLD, PROVIDERS]
|
2021-02-01 19:01:43 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-01 19:01:43 +01:00
|
|
|
type: string
|
|
|
|
LOCATIONS_TO_USE:
|
|
|
|
type: string
|
|
|
|
enum: [ALL, GPS, ALL_RESAMPLED, FUSED_RESAMPLED]
|
|
|
|
FUSED_RESAMPLED_CONSECUTIVE_THRESHOLD:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
|
|
|
FUSED_RESAMPLED_TIME_SINCE_VALID_LOCATION:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
DORYAB:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-04-09 18:05:25 +02:00
|
|
|
enum: [locationvariance,loglocationvariance,totaldistance,avgspeed,varspeed,numberofsignificantplaces,numberlocationtransitions,radiusgyration,timeattop1location,timeattop2location,timeattop3location,movingtostaticratio,outlierstimepercent,maxlengthstayatclusters,minlengthstayatclusters,avglengthstayatclusters,stdlengthstayatclusters,locationentropy,normalizedlocationentropy,timeathome,homelabel]
|
2021-02-01 19:01:43 +01:00
|
|
|
ACCURACY_LIMIT:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
2021-02-02 23:53:49 +01:00
|
|
|
DBSCAN_EPS:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
|
|
|
DBSCAN_MINSAMPLES:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
|
|
|
THRESHOLD_STATIC:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
|
|
|
MAXIMUM_ROW_GAP:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
|
|
|
MINUTES_DATA_USED:
|
|
|
|
type: boolean
|
|
|
|
CLUSTER_ON:
|
|
|
|
type: string
|
2021-04-09 18:05:25 +02:00
|
|
|
enum: ["PARTICIPANT_DATASET", "TIME_SEGMENT", "TIME_SEGMENT_INSTANCE"]
|
|
|
|
INFER_HOME_LOCATION_STRATEGY:
|
|
|
|
type: string
|
|
|
|
enum: ["DORYAB_STRATEGY", "SUN_LI_VEGA_STRATEGY"]
|
|
|
|
MINIMUM_DAYS_TO_DETECT_HOME_CHANGES:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
2021-02-02 23:53:49 +01:00
|
|
|
CLUSTERING_ALGORITHM:
|
|
|
|
type: string
|
|
|
|
enum: ["DBSCAN", "OPTICS"]
|
2021-04-09 18:05:25 +02:00
|
|
|
RADIUS_FOR_HOME:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
2021-02-02 23:53:49 +01:00
|
|
|
|
|
|
|
BARNETT:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["hometime","disttravelled","rog","maxdiam","maxhomedist","siglocsvisited","avgflightlen","stdflightlen","avgflightdur","stdflightdur","probpause","siglocentropy","circdnrtn","wkenddayrtn"]
|
|
|
|
ACCURACY_LIMIT:
|
|
|
|
type: integer
|
|
|
|
exclusiveMinimum: 0
|
2021-03-05 23:49:37 +01:00
|
|
|
IF_MULTIPLE_TIMEZONES:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
2021-03-05 23:49:37 +01:00
|
|
|
enum: [USE_MOST_COMMON]
|
2021-02-02 23:53:49 +01:00
|
|
|
MINUTES_DATA_USED:
|
|
|
|
type: boolean
|
2021-02-01 19:01:43 +01:00
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
2021-03-10 22:26:50 +01:00
|
|
|
|
|
|
|
PHONE_LOG:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-03-10 22:26:50 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-03-10 22:26:50 +01:00
|
|
|
type: object
|
|
|
|
required: [ANDROID, IOS]
|
|
|
|
properties:
|
|
|
|
ANDROID:
|
|
|
|
type: string
|
|
|
|
IOS:
|
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
PHONE_MESSAGES:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
MESSAGES_TYPES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["received", "sent"]
|
|
|
|
FEATURES:
|
|
|
|
type: object
|
|
|
|
required: [received, sent]
|
|
|
|
properties:
|
|
|
|
received:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["count", "distinctcontacts", "timefirstmessage", "timelastmessage", "countmostfrequentcontact"]
|
|
|
|
|
|
|
|
sent:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["count", "distinctcontacts", "timefirstmessage", "timelastmessage", "countmostfrequentcontact"]
|
|
|
|
|
|
|
|
PHONE_SCREEN:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
REFERENCE_HOUR_FIRST_USE:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
maximum: 23
|
|
|
|
IGNORE_EPISODES_SHORTER_THAN:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
IGNORE_EPISODES_LONGER_THAN:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countepisode", "sumduration", "maxduration", "minduration", "avgduration", "stdduration", "firstuseafter"]
|
|
|
|
EPISODE_TYPES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["unlock"]
|
2021-02-01 19:01:43 +01:00
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
PHONE_WIFI_CONNECTED:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countscans", "uniquedevices", "countscansmostuniquedevice"]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
|
|
|
PHONE_WIFI_VISIBLE:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
2021-02-22 01:34:42 +01:00
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countscans", "uniquedevices", "countscansmostuniquedevice"]
|
2021-02-02 23:53:49 +01:00
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
2021-02-01 19:01:43 +01:00
|
|
|
|
2021-03-09 17:20:21 +01:00
|
|
|
FITBIT_DATA_STREAMS:
|
|
|
|
type: object
|
|
|
|
properties:
|
|
|
|
USE:
|
|
|
|
type: string
|
|
|
|
fitbitjson_mysql:
|
|
|
|
type: object
|
2021-04-09 20:59:53 +02:00
|
|
|
required: [DATABASE_GROUP, SLEEP_SUMMARY_LAST_NIGHT_END]
|
2021-03-09 17:20:21 +01:00
|
|
|
properties:
|
|
|
|
DATABASE_GROUP:
|
|
|
|
type: string
|
2021-04-09 20:59:53 +02:00
|
|
|
SLEEP_SUMMARY_LAST_NIGHT_END:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1439
|
2021-03-11 15:54:12 +01:00
|
|
|
fitbitparsed_mysql:
|
|
|
|
type: object
|
2021-04-09 20:59:53 +02:00
|
|
|
required: [DATABASE_GROUP, SLEEP_SUMMARY_LAST_NIGHT_END]
|
2021-03-11 15:54:12 +01:00
|
|
|
properties:
|
|
|
|
DATABASE_GROUP:
|
|
|
|
type: string
|
2021-04-09 20:59:53 +02:00
|
|
|
SLEEP_SUMMARY_LAST_NIGHT_END:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1439
|
|
|
|
fitbitjson_csv:
|
|
|
|
type: object
|
|
|
|
required: [FOLDER, SLEEP_SUMMARY_LAST_NIGHT_END]
|
|
|
|
properties:
|
|
|
|
FOLDER:
|
2021-03-11 15:54:12 +01:00
|
|
|
type: string
|
2021-04-09 20:59:53 +02:00
|
|
|
SLEEP_SUMMARY_LAST_NIGHT_END:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1439
|
|
|
|
fitbitparsed_csv:
|
|
|
|
type: object
|
|
|
|
required: [FOLDER, SLEEP_SUMMARY_LAST_NIGHT_END]
|
|
|
|
properties:
|
|
|
|
FOLDER:
|
|
|
|
type: string
|
|
|
|
SLEEP_SUMMARY_LAST_NIGHT_END:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1439
|
2021-02-02 23:53:49 +01:00
|
|
|
|
|
|
|
FITBIT_DATA_YIELD:
|
|
|
|
type: object
|
|
|
|
required: [SENSOR, PROVIDERS]
|
|
|
|
properties:
|
|
|
|
SENSOR:
|
|
|
|
type: string
|
|
|
|
enum: ["FITBIT_HEARTRATE_INTRADAY"]
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["ratiovalidyieldedminutes", "ratiovalidyieldedhours"]
|
|
|
|
MINUTE_RATIO_THRESHOLD_FOR_VALID_YIELDED_HOURS:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1
|
2021-02-01 19:01:43 +01:00
|
|
|
|
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
FITBIT_HEARTRATE_SUMMARY:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["maxrestinghr", "minrestinghr", "avgrestinghr", "medianrestinghr", "moderestinghr", "stdrestinghr", "diffmaxmoderestinghr", "diffminmoderestinghr", "entropyrestinghr"]
|
2021-02-01 19:01:43 +01:00
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
FITBIT_HEARTRATE_INTRADAY:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["maxhr", "minhr", "avghr", "medianhr", "modehr", "stdhr", "diffmaxmodehr", "diffminmodehr", "entropyhr", "minutesonoutofrangezone", "minutesonfatburnzone", "minutesoncardiozone", "minutesonpeakzone"]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
2021-02-01 19:01:43 +01:00
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
FITBIT_SLEEP_SUMMARY:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-04-09 20:59:53 +02:00
|
|
|
enum: ["firstwaketime", "lastwaketime", "firstbedtime", "lastbedtime", "countepisode", "avgefficiency", "sumdurationafterwakeup", "sumdurationasleep", "sumdurationawake", "sumdurationtofallasleep", "sumdurationinbed", "avgdurationafterwakeup", "avgdurationasleep", "avgdurationawake", "avgdurationtofallasleep", "avgdurationinbed"]
|
2021-02-02 23:53:49 +01:00
|
|
|
SLEEP_TYPES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["main", "nap", "all"]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-26 06:52:20 +01:00
|
|
|
FITBIT_SLEEP_INTRADAY:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-26 06:52:20 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-26 06:52:20 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
type: object
|
2021-04-26 05:35:14 +02:00
|
|
|
required: [LEVELS_AND_TYPES, RATIOS_TYPE, RATIOS_SCOPE]
|
2021-02-26 06:52:20 +01:00
|
|
|
properties:
|
|
|
|
LEVELS_AND_TYPES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [countepisode, sumduration, maxduration, minduration, avgduration, medianduration, stdduration]
|
|
|
|
RATIOS_TYPE:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [count, duration]
|
|
|
|
RATIOS_SCOPE:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [ACROSS_LEVELS, ACROSS_TYPES, WITHIN_LEVELS, WITHIN_TYPES]
|
|
|
|
SLEEP_LEVELS:
|
|
|
|
type: object
|
2021-04-09 20:59:53 +02:00
|
|
|
required: [INCLUDE_ALL_GROUPS, CLASSIC, STAGES, UNIFIED]
|
2021-02-26 06:52:20 +01:00
|
|
|
properties:
|
2021-04-09 20:59:53 +02:00
|
|
|
INCLUDE_ALL_GROUPS:
|
|
|
|
type: boolean
|
2021-02-26 06:52:20 +01:00
|
|
|
CLASSIC:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [awake, restless, asleep]
|
|
|
|
STAGES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [wake, deep, light, rem]
|
|
|
|
UNIFIED:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [awake, asleep]
|
|
|
|
SLEEP_TYPES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-04-09 20:59:53 +02:00
|
|
|
enum: [main, nap, all]
|
2021-02-26 06:52:20 +01:00
|
|
|
PRICE:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
2021-04-09 20:59:53 +02:00
|
|
|
enum: [avgduration, avgratioduration, avgstarttimeofepisodemain, avgendtimeofepisodemain, avgmidpointofepisodemain, stdstarttimeofepisodemain, stdendtimeofepisodemain, stdmidpointofepisodemain, socialjetlag, rmssdmeanstarttimeofepisodemain, rmssdmeanendtimeofepisodemain, rmssdmeanmidpointofepisodemain, rmssdmedianstarttimeofepisodemain, rmssdmedianendtimeofepisodemain, rmssdmedianmidpointofepisodemain]
|
2021-02-26 06:52:20 +01:00
|
|
|
SLEEP_LEVELS:
|
|
|
|
type: object
|
2021-04-09 20:59:53 +02:00
|
|
|
required: [INCLUDE_ALL_GROUPS, CLASSIC, STAGES, UNIFIED]
|
2021-02-26 06:52:20 +01:00
|
|
|
properties:
|
2021-04-09 20:59:53 +02:00
|
|
|
INCLUDE_ALL_GROUPS:
|
|
|
|
type: boolean
|
2021-02-26 06:52:20 +01:00
|
|
|
CLASSIC:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [awake, restless, asleep]
|
|
|
|
STAGES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [wake, deep, light, rem]
|
|
|
|
UNIFIED:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [awake, asleep]
|
|
|
|
DAY_TYPES:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [WEEKEND, WEEK, ALL]
|
2021-04-09 20:59:53 +02:00
|
|
|
LAST_NIGHT_END:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1439
|
2021-02-26 06:52:20 +01:00
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
FITBIT_STEPS_SUMMARY:
|
|
|
|
type: object
|
2021-03-13 00:14:49 +01:00
|
|
|
required: [CONTAINER, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["maxsumsteps", "minsumsteps", "avgsumsteps", "mediansumsteps", "stdsumsteps"]
|
|
|
|
|
|
|
|
FITBIT_STEPS_INTRADAY:
|
|
|
|
type: object
|
2021-05-19 00:27:12 +02:00
|
|
|
required: [CONTAINER, EXCLUDE_SLEEP, PROVIDERS]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
2021-03-13 00:14:49 +01:00
|
|
|
CONTAINER:
|
2021-02-02 23:53:49 +01:00
|
|
|
type: string
|
2021-05-19 00:27:12 +02:00
|
|
|
EXCLUDE_SLEEP:
|
|
|
|
required: [TIME_BASED, FITBIT_BASED]
|
|
|
|
properties:
|
|
|
|
TIME_BASED:
|
|
|
|
required: [EXCLUDE, START_TIME, END_TIME]
|
|
|
|
properties:
|
|
|
|
EXCLUDE:
|
|
|
|
type: boolean
|
|
|
|
START_TIME:
|
|
|
|
type: string
|
|
|
|
pattern: "^([0-1][0-9]|2[0-3]):[0-5][0-9]$"
|
|
|
|
END_TIME:
|
|
|
|
type: string
|
|
|
|
pattern: "^([0-1][0-9]|2[0-3]):[0-5][0-9]$"
|
|
|
|
FITBIT_BASED:
|
|
|
|
required: [EXCLUDE]
|
|
|
|
properties:
|
|
|
|
EXCLUDE:
|
|
|
|
type: boolean
|
2021-02-02 23:53:49 +01:00
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
required: [STEPS, SEDENTARY_BOUT, ACTIVE_BOUT]
|
|
|
|
properties:
|
|
|
|
STEPS:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["sum", "max", "min", "avg", "std"]
|
|
|
|
SEDENTARY_BOUT:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countepisode", "sumduration", "maxduration", "minduration", "avgduration", "stdduration"]
|
|
|
|
ACTIVE_BOUT:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["countepisode", "sumduration", "maxduration", "minduration", "avgduration", "stdduration"]
|
|
|
|
THRESHOLD_ACTIVE_BOUT:
|
|
|
|
type: integer
|
|
|
|
minimum: 0
|
|
|
|
INCLUDE_ZERO_STEP_ROWS:
|
|
|
|
type: boolean
|
|
|
|
|
2021-04-17 00:02:43 +02:00
|
|
|
|
|
|
|
FITBIT_CALORIES_INTRADAY:
|
|
|
|
type: object
|
|
|
|
required: [CONTAINER, PROVIDERS]
|
|
|
|
properties:
|
|
|
|
CONTAINER:
|
|
|
|
type: string
|
|
|
|
PROVIDERS:
|
|
|
|
type: ["null", object]
|
|
|
|
properties:
|
|
|
|
RAPIDS:
|
|
|
|
allOf:
|
|
|
|
- $ref: "#/definitions/PROVIDER"
|
|
|
|
- properties:
|
|
|
|
FEATURES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [count, sumduration, avgduration, minduration, maxduration, stdduration, starttimefirst, endtimefirst, starttimelast, endtimelast, starttimelongest, endtimelongest, summet, avgmet, maxmet, minmet, stdmet, sumcalories, avgcalories, maxcalories, mincalories, stdcalories]
|
|
|
|
EPISODE_TYPE:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [sedentary, lightlyactive, fairlyactive, veryactive, mvpa, lowmet, highmet]
|
|
|
|
EPISODE_TIME_THRESHOLD:
|
|
|
|
type: integer
|
|
|
|
minimum: 1
|
|
|
|
EPISODE_MET_THRESHOLD:
|
|
|
|
type: integer
|
|
|
|
minimum: 1
|
|
|
|
EPISODE_MVPA_CATEGORIES:
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: [sedentary, lightlyactive, fairlyactive, veryactive]
|
|
|
|
EPISODE_REFERENCE_TIME:
|
|
|
|
type: string
|
|
|
|
enum: [MIDNIGHT, START_OF_THE_SEGMENT]
|
|
|
|
additionalProperties:
|
|
|
|
$ref: "#/definitions/PROVIDER"
|
|
|
|
|
2021-02-02 23:53:49 +01:00
|
|
|
HISTOGRAM_PHONE_DATA_YIELD:
|
|
|
|
type: object
|
|
|
|
required: [PLOT]
|
|
|
|
properties:
|
|
|
|
PLOT:
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
HEATMAP_PHONE_DATA_YIELD_PER_PARTICIPANT_PER_TIME_SEGMENT:
|
|
|
|
type: object
|
2021-06-05 04:58:27 +02:00
|
|
|
required: [PLOT, TIME]
|
2021-02-02 23:53:49 +01:00
|
|
|
properties:
|
|
|
|
PLOT:
|
|
|
|
type: boolean
|
2021-06-05 04:58:27 +02:00
|
|
|
TIME:
|
|
|
|
type: string
|
|
|
|
enum: [ABSOLUTE_TIME, RELATIVE_TIME]
|
2021-02-02 23:53:49 +01:00
|
|
|
|
|
|
|
HEATMAP_SENSORS_PER_MINUTE_PER_TIME_SEGMENT:
|
|
|
|
type: object
|
|
|
|
required: [PLOT]
|
|
|
|
properties:
|
|
|
|
PLOT:
|
|
|
|
type: boolean
|
|
|
|
|
|
|
|
HEATMAP_SENSOR_ROW_COUNT_PER_TIME_SEGMENT:
|
|
|
|
type: object
|
|
|
|
required: [PLOT, SENSORS]
|
|
|
|
properties:
|
|
|
|
PLOT:
|
|
|
|
type: boolean
|
|
|
|
SENSORS:
|
|
|
|
type: array
|
|
|
|
uniqueItems: True
|
|
|
|
items:
|
|
|
|
type: string
|
|
|
|
enum: ["PHONE_ACCELEROMETER", "PHONE_ACTIVITY_RECOGNITION", "PHONE_APPLICATIONS_FOREGROUND", "PHONE_BATTERY", "PHONE_BLUETOOTH", "PHONE_CALLS", "PHONE_CONVERSATION", "PHONE_LIGHT", "PHONE_LOCATIONS", "PHONE_MESSAGES", "PHONE_SCREEN", "PHONE_WIFI_CONNECTED", "PHONE_WIFI_VISIBLE"]
|
|
|
|
|
|
|
|
HEATMAP_FEATURE_CORRELATION_MATRIX:
|
|
|
|
type: object
|
|
|
|
required: [PLOT, MIN_ROWS_RATIO, CORR_THRESHOLD, CORR_METHOD]
|
|
|
|
properties:
|
|
|
|
PLOT:
|
|
|
|
type: boolean
|
|
|
|
MIN_ROWS_RATIO:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1
|
|
|
|
CORR_THRESHOLD:
|
|
|
|
type: number
|
|
|
|
minimum: 0
|
|
|
|
maximum: 1
|
|
|
|
CORR_METHOD:
|
|
|
|
type: string
|
|
|
|
enum: ["pearson", "kendall", "spearman"]
|