Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,13 @@ The root level of an event has the following format:
server_timestamp [required] :: ISO8601 format String OR language native Date/Time format
client_timestamp [optional] :: ISO8601 format String OR language native Date/Time format
meta [optional] :: Map
attribute_deltas [required] :: Array
attribute_deltas [required] :: Hash

#### Attribute deltas

The value of the `attribute_deltas` key must be an an empty array or an array of maps, each map representing a changed attribute. Each map has the following format:
The value of the `attribute_deltas` key must be an an empty hash or an hash of maps, each map representing a change where the key in the hash is the attribute that changed. Each map has the following format:

attribute_name [required] :: String
old_value [required] :: Any
old_value [optional] :: Any
new_value [required] :: Any

#### Meta
Expand Down