syntax = "proto3";
package mapeo;

import "google/protobuf/timestamp.proto";

message Common_1 {
  google.protobuf.Timestamp created_at = 1;
  optional string deviceId = 2;
  // 32-byte random generated number
  bytes id = 3;
  repeated string links = 4;
  optional google.protobuf.Timestamp timestamp = 5;
  optional string userId = 6;
}
/* ignored fields and differences from common.json jsonSchema
 * id is a byte buffer here and a string in jsonSchema
 * schemaVersion is encoded on the blockPrefix
 * dataTypeId is encoded on the blockPrefix
 * version is the core seq number so wen can avoid it here
 */
