External Content Attribute Set Announcement

An External Content Attribute Set Announcement is a way to create an authenticated (and, optionally, attested) attribute set for content external to the DSNP system.

Fields

FieldDescriptionData TypeSerializationParquet TypeBloom Filter
announcementTypeAnnouncement Type Enum (10)enumdecimalINT32no
fromIdId of the user creating the announcement64 bit unsigned integerdecimalUINT_64YES
subjectURL of the external contentURLUTF-8UTF8no
subjectContentHashDSNP Content Hash of content at subjectUTF-8base32 multibaseUTF8YES
urlURL for the Verifiable Credential documentUTF-8UTF-8UTF8YES
contentHashDSNP Content Hash of content at urlUTF-8base32 multibaseUTF8YES
attributeSetTypeCanonical name of Attribute Set TypeUTF-8UTF-8UTF8YES
issuerURI of issuerUTF-8UTF-8UTF8YES

Field Requirements

announcementType

  • MUST be fixed to 10

fromId

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

subject

Optional. If present,

  • MUST NOT refer to localhost or any reserved IP addresses as defined in RFC6890
  • MUST use one of the supported URL Schemes

subjectContentHash

url

  • MUST NOT refer to localhost or any reserved IP addresses as defined in RFC6890
  • Resource MUST be a Verifiable Credential Document
  • MUST use one of the supported URL Schemes

contentHash

attributeSetType

issuer

  • MUST be a valid URI
  • MUST match the issuer value from the credential document retrieved from url

Supported URL Schemes

SchemeDescriptionReferenceDSNP Version Added
HTTPSHypertext Transfer Protocol SecureRFC28181.3