person.proto

syntax = "proto3";

package pub.odf.identity.v1;

import "pub/odf/image/v1/image.proto";
import "pub/odf/identity/v1/name.proto";


message Person {
  // Globally Unique Identifier
  /// Useful for cross referencing a person across datasets
  string id = 1;

  Name name = 2;

  // Profile photos at various sizes
  // Default is clost to 500x500px, large enough to be
  // used for resizing with enough details
  // Small size is usually close to 32x32px
  // Full is the maximum available
  pub.odf.image.v1.ImageFile profile_photo = 3;
  pub.odf.image.v1.ImageFile profile_photo_small = 4;
  pub.odf.image.v1.ImageFile profile_photo_large = 5;
}