-
Notifications
You must be signed in to change notification settings - Fork 2
Home
#DSUpdate XMPP Message
The DSUpdate XMMP message is responsible for communications of activity updates from active dataware (both native and legacy). The message packets have the following common format:
"source" : string, //-- namespace of dataware source
"type" : string, //-- namespace of item, defaulting to "dataware:update"*
"tags" : array of strings, //-- namespaces of associated item categories (interfaces)*
"mtime" : unix timestamp, //-- time that the update was generated by the dataware*
"location" : coordinates, //-- WGS-84 coordinate attached to the update
"description" : string, //-- a short textual summary of the update)
"action" : string, //-- create / read / update / delete
**"total" : long, ** //-- the total number of items represented by this item type
"meta" : array //-- other data associated with the update, specific to its type
#Datasphere source namespaces
All data sources must be identified using a namespace so that the catalog can reference them uniquely. The current list is as follows:
- ds:facebook
- ds:twitter
#Data type namespaces
All data items require a type (as specified in the DSUpdate schema), and these types must also have a referrable namespace. Data times may also be "tagged" with additional namespaces indicating their associations and broader categorizations. Currently the following are available:
-
ds:facebook:bio
-
ds:facebook:post
-
ds:facebook:photo
-
ds:facebook:feed
-
ds:facebook:social
-
ds:facebook:update
-
ds:facebook:like
-
ds:facebook:checkin
-
ds:facebook:avatar
-
ds:microblog
-
ds:bio
-
ds:geo
-
ds:media
-
ds:photo
-
ds:unrecognized