event.source
is mandatory, everything else is optional.- if
user.session.token
is included it will be validated against the session api and expanded in to a membership uuid. - if
content.uuid
is included it will be expanded in to a set of content api meta-data. - ...
Last active
August 29, 2015 14:22
-
-
Save commuterjoy/d17bd35af792c3f3a0c3 to your computer and use it in GitHub Desktop.
Spoor models
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"event": { | |
"source": "email.simple-email-service", // name of the sender's system, Eg. email.simple-email-service.uat | |
"type": "opened", // the type of event that happened | |
}, | |
"user": { | |
"session": { | |
"token": "asdf324dfag1ds%asdf1A-1sadsadf", // ft session token | |
"valid": true, // expanded | |
"uuid": "123" // expanded | |
} | |
}, | |
"content": { | |
"uuid": "0f7464b4-3f4d-11e4-984b-00144feabdc0" // content api reference | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment