Profile Announcement

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

Fields

FieldDescriptionData TypeSerializationParquet TypeBloom Filter
announcementTypeAnnouncement Type Enum (5)enumdecimalINT32no
contentHashmultihash-encoded hash of content stored at URLvariable length byte arrayhexadecimalBYTE_ARRAYYES
fromIdid of the user creating the Announcement64-bit unsigned integerdecimalUINT_64YES
urlprofile content URLUTF-8UTF-8UTF8no

Field Requirements

announcementType

  • MUST be fixed to 5

contentHash

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.