diff --git a/docs/datastreams/aware-mysql.md b/docs/datastreams/aware-mysql.md index a1834e9e..11c6059b 100644 --- a/docs/datastreams/aware-mysql.md +++ b/docs/datastreams/aware-mysql.md @@ -397,3 +397,24 @@ Stream columns named `FLAG_TO_MUTATE` means they are extracted based on the `MUT Same as ANDROID +??? info "PHONE_MESSAGES" + + === "ANDROID" + + **RAPIDS_COLUMN_MAPPINGS** + + | RAPIDS column | Stream column | + |----------------------|---------------------| + | TIMESTAMP | timestamp | + | DEVICE_ID | device_id | + | MESSAGE_TYPE | message_type | + | TRACE | trace | + + **MUTATION** + + - **COLUMN_MAPPINGS** (None) + - **SCRIPTS** (None) + + === "IOS" + + This sensor is not supported by iOS devices. diff --git a/docs/datastreams/mandatory-phone-format.md b/docs/datastreams/mandatory-phone-format.md index 14f245b5..f6f27c5c 100644 --- a/docs/datastreams/mandatory-phone-format.md +++ b/docs/datastreams/mandatory-phone-format.md @@ -104,3 +104,13 @@ This is a description of the format RAPIDS needs to process data for the followi | PROVIDER | A string that denotes the provider: `gps`, `fused` or `network` | | ACCURACY | The estimated location accuracy | + +??? info "PHONE_MESSAGES" + + | RAPIDS column | Description | + |--------------------|---------------------------------------------------------------------------| + | TIMESTAMP | An UNIX timestamp (13 digits) when a row of data was logged | + | DEVICE_ID | A string that uniquely identifies a device | + | MESSAGE_TYPE | An integer that denotes message type: 1 = received, 2 = sent | + | TRACE | SHA-1 one-way source/target of the message | + diff --git a/src/data/streams/aware_mysql/format.yaml b/src/data/streams/aware_mysql/format.yaml index d1f6ffc9..52640cf0 100644 --- a/src/data/streams/aware_mysql/format.yaml +++ b/src/data/streams/aware_mysql/format.yaml @@ -182,3 +182,14 @@ PHONE_LOCATIONS: MUTATION: COLUMN_MAPPINGS: SCRIPTS: # List any python or r scripts that mutate your raw data + +PHONE_MESSAGES: + ANDROID: + RAPIDS_COLUMN_MAPPINGS: + TIMESTAMP: timestamp + DEVICE_ID: device_id + MESSAGE_TYPE: message_type + TRACE: trace + MUTATION: + COLUMN_MAPPINGS: + SCRIPTS: # List any python or r scripts that mutate your raw data diff --git a/src/data/streams/rapids_columns.yaml b/src/data/streams/rapids_columns.yaml index 08e2140f..9ab899e1 100644 --- a/src/data/streams/rapids_columns.yaml +++ b/src/data/streams/rapids_columns.yaml @@ -65,6 +65,12 @@ PHONE_LOCATIONS: - PROVIDER - ACCURACY +PHONE_MESSAGES: + - TIMESTAMP + - DEVICE_ID + - MESSAGE_TYPE + - TRACE + FITBIT_STEPS_SUMMARY: - TIMESTAMP