Profile Announcement

A Profile Announcement is a constrained version of a Broadcast Announcement. The reference content MUST be of profile type.

Fields

FieldDescriptionSerializationParquet TypeBloom Filter
announcementTypeAnnouncement Type Enum (5)decimalINT32no
contentHashkeccak-256 hash of content stored at URLhexadecimalBYTE_ARRAYYES
fromIdid of the user creating the AnnouncementdecimalUINT_64YES
urlprofile content URLUTF-8UTF8no

Field Requirements

announcementType

  • MUST be fixed to 5

contentHash

  • MUST be 32 bytes in length
  • MUST be the keccak-256 hash of the bytes of the reference at the URL

fromId

  • MUST be a DSNP User Id
  • MUST have authorized the creation of the Announcement, either directly or via a transparent chain of delegation

url

  • MUST NOT refer to localhost or any reserved IP addresses as defined in RFC6890
  • Resource MUST be a valid Profile Activity Content Type
  • MUST use one of the supported URL Schemes

Supported URL Schemes

SchemeDescriptionReferenceDSNP Version Added
HTTPSHypertext Transfer Protocol SecureRFC28181.0

Non-Normative

Most Recent Profile

When displaying a DSNP user's profile, the most recent profile should be considered the complete and correct version. Previous Profile Announcements from the same fromId may be disregarded.