Skip to main content

place.stream.badge.defs

#bot​

TOKEN: This user is a bot. Self-applied via place.stream.chat.profile selfLabels.

#mod​

TOKEN: This user is a moderator. Displayed with a sword icon.

#vip​

TOKEN: This user is a very important person.

#event​

TOKEN: This user has won or earned a special event or contest badge.

#streamer​

TOKEN: This user is the streamer. Displayed with a star icon.

#badgeSlot​

A display slot containing available issuance-based badges and which one (if any) is currently selected.

PropertyTypeKnown ValuesRequiredDescription
selected#badgeIssuanceView-❌-
availablearray of #badgeIssuanceView-✅All badges available for this slot.

#badgeView​

View of a badge record, with fields resolved for display. If the DID in issuer is not the current streamplace node, the signature field shall be required.

PropertyTypeKnown ValuesRequiredDescription
namestring-❌Display name from the badge definition.
issuerstring (did)-✅DID of the badge issuer.
imageUrlstring (uri)-❌Resolved image URL for the badge icon.
badgeTypestringplace.stream.badge.defs#mod
place.stream.badge.defs#streamer
place.stream.badge.defs#vip
place.stream.badge.defs#event
place.stream.badge.defs#bot
✅-
recipientstring (did)-✅DID of the badge recipient.
signaturestring-❌TODO: Cryptographic signature of the badge (of a place.stream.key).
descriptionstring-❌Description from the badge definition.

#badgeIssuanceView​

A resolved view of a badge issuance, including def fields for display.

PropertyTypeKnown ValuesRequiredDescription
namestring-❌Display name from the badge definition.
issuerstring (did)-✅DID of the badge issuer.
imageUrlstring (uri)-❌Resolved image URL for the badge icon.
selectedboolean-❌Whether this badge is currently in the user's chat profile selection.
badgeTypestringplace.stream.badge.defs#vip
place.stream.badge.defs#event
✅-
descriptionstring-❌Description from the badge definition.
issuanceCidstring-❌CID of the place.stream.badge.issuance record.
issuanceUristring (at-uri)-✅AT URI of the place.stream.badge.issuance record.