Space.Struct.extend(Space.eventSourcing, 'Snapshot', {

  mixin: [
    Space.messaging.Ejsonable
  ],

  fields() {
    return {
      id: Match.OneOf(String, Guid),
      version: Match.Integer,
      state: Match.OneOf(null, String),
      meta: Match.Optional(Object)
    };
  }
});

Space.Struct.extend('Space.eventSourcing.Snapshot', {

  mixin: [
    Space.messaging.Ejsonable
  ],

  fields() {
    return {
      id: Match.OneOf(String, Guid),
      version: Match.Integer,
      state: Match.OneOf(null, String),
      meta: Match.Optional(Object)
    };
  }
});

Update Space.eventSourcing.Snapshot to new format
Update Space.eventSourcing.Snapshot to new format
