Update Announcement
An Update Announcement is a way to note intent to update previously announced content. If the original Broadcast/Reply is Tombstoned, subsequent Updates should be ignored.
Fields
| Field | Description | Data Type | Serialization | Parquet Type | Bloom Filter |
|---|---|---|---|---|---|
| announcementType | Announcement Type Enum (6) | enum | decimal | INT32 | no |
| fromId | id of the user creating the announcement | 64 bit unsigned integer | decimal | UINT_64 | YES |
| contentHash | DSNP Content Hash of content | UTF-8 | base32 multibase | UTF8 | YES |
| url | updated content URL | UTF-8 | UTF-8 | UTF8 | no |
| targetAnnouncementType | target updated Announcement type | enum | decimal | INT32 | no |
| targetContentHash | target contentHash of the original Announcement to update | UTF-8 | base32 multibase | UTF8 | YES |
Field Requirements
announcementType
- MUST be fixed to
6
fromId
- MUST be a DSNP User Id
contentHash
- MUST be a valid DSNP Content Hash
url
- MUST NOT refer to localhost or any reserved IP addresses as defined in RFC6890
- Resource MUST be one of the supported Activity Content Types
- MUST use one of the supported URL Schemes
targetAnnouncementType
- MUST be the Announcement Type of the target Announcement
- MUST ONLY be an Update allowed Announcement Type
Update Allowed Announcement Types
targetContentHash
- MUST be the
contentHashof a previous Announcement of an Allowed Announcement Type with the samefromIdas the Update Announcement