Skip to content
jog edited this page Nov 4, 2010 · 44 revisions

#Update Message schema

The DSUpdate XMMP message has the following 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

Clone this wiki locally