User Attribute Set Announcement

A User Attribute Set Announcement is a way to create an authenticated (and, optionally, attested) attribute set for a DSNP User.

Fields

FieldDescriptionData TypeSerializationParquet TypeBloom Filter
announcementTypeAnnouncement Type Enum (8)enumdecimalINT32no
fromIdId of the user creating the announcement64 bit unsigned integerdecimalUINT_64YES
subjectDSNP User Id of the attribute set subject64 bit unsigned integerdecimalUINT_64YES
urlURL for the Verifiable Credential documentUTF-8UTF-8UTF8no
contentHashDSNP Content Hash of contentUTF-8base32 multibaseUTF8YES
attributeSetTypeCanonical name of Attribute Set TypeUTF-8UTF-8UTF8YES
issuerURI of issuerUTF-8UTF-8UTF8YES

Field Requirements

announcementType

  • MUST be fixed to 8

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

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

Supported URL Schemes

SchemeDescriptionReferenceDSNP Version Added
HTTPSHypertext Transfer Protocol SecureRFC28181.3

contentHash

attributeSetType

issuer

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