See http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/replication/index.html#types