Data Streaming
Data Objects
Context
2min
this object should contain the information of the context under which an action is being performed by a user context should contain the following attributes in a json formatted object attribute name description type required name name of the context this can include the business definitions of the client string yes type client defined type of the context string yes id id of the context, such as the id of a product being purchased, a post that is being shared or a video that is being watched string yes attributes json formatted context properties json no example "context" { "type" "product promotion", "name" "superbowl sales", "attributes" {"discount" "half off"} }