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
Field | Description | Data Type | Serialization | Parquet Type | Bloom Filter |
---|---|---|---|---|---|
announcementType | Announcement Type Enum (10 ) | enum | decimal | INT32 | no |
fromId | Id of the user creating the announcement | 64 bit unsigned integer | decimal | UINT_64 | YES |
subject | URL of the external content | URL | UTF-8 | UTF8 | no |
subjectContentHash | DSNP Content Hash of content at subject | UTF-8 | base32 multibase | UTF8 | YES |
url | URL for the Verifiable Credential document | UTF-8 | UTF-8 | UTF8 | YES |
contentHash | DSNP Content Hash of content at url | UTF-8 | base32 multibase | UTF8 | YES |
attributeSetType | Canonical name of Attribute Set Type | UTF-8 | UTF-8 | UTF8 | YES |
issuer | URI of issuer | UTF-8 | UTF-8 | UTF8 | YES |
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
- 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 a Verifiable Credential Document
- MUST use one of the supported URL Schemes
contentHash
- MUST be a valid DSNP Content Hash
attributeSetType
- MUST be a valid Attribute Set Type canonical name
issuer
- MUST be a valid URI
- MUST match the
issuer
value from the credential document retrieved fromurl
Supported URL Schemes
Scheme | Description | Reference | DSNP Version Added |
---|---|---|---|
HTTPS | Hypertext Transfer Protocol Secure | RFC2818 | 1.3 |