place.stream.badge.defs

Repository @stream.place did:plc:rbvrr34edl5ddpuwcubjiost not from the namespace authority
Details · defs
Kinddefs
Authoritybadge.stream.place
Indexed

#badgeIssuanceView

object

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

Properties

badgeType

requiredstring
  • knownValues: place.stream.badge.defs#vip | place.stream.badge.defs#event

Description from the badge definition.

imageUrl

string · uri

Resolved image URL for the badge icon.

CID of the place.stream.badge.issuance record.

issuanceUri

requiredstring · at-uri

AT URI of the place.stream.badge.issuance record.

issuer

requiredstring · did

DID of the badge issuer.

name

string

Display name from the badge definition.

selected

boolean

Whether this badge is currently in the user's chat profile selection.

#badgeSlot

object

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

Properties

available

requiredarray

All badges available for this slot.

itemsref
Reference

The currently selected badge in this slot, if any.

Reference

#badgeView

object

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.

Properties

badgeType

requiredstring
  • knownValues: place.stream.badge.defs#mod | place.stream.badge.defs#streamer | place.stream.badge.defs#vip | place.stream.badge.defs#event | place.stream.badge.defs#bot

Description from the badge definition.

imageUrl

string · uri

Resolved image URL for the badge icon.

issuer

requiredstring · did

DID of the badge issuer.

name

string

Display name from the badge definition.

recipient

requiredstring · did

DID of the badge recipient.

signature

string

TODO: Cryptographic signature of the badge (of a place.stream.key).

#bot

token

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

#event

token

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

#mod

token

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

#streamer

token

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

#vip

token

This user is a very important person.

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • place.stream.badge.def

    record not from the namespace authority

    Defines a badge's visual appearance and type. Created by the issuer and referenced by issuance records.

  • place.stream.badge.getIssuedBadges

    query not from the namespace authority

    Returns badges issued to the authenticated user, organized by display slot. Also indicates which badges are currently selected in the user's chat profile.

  • place.stream.badge.issuance

    record not from the namespace authority

    Grants a specific badge to a recipient. The badge only appears in chat after the recipient adds this record to their place.stream.chat.profile selection array.

  • place.stream.badge.getValidBadges

    query not from the namespace authority

    Get valid badges for the authenticated user, optionally in the context of a specific streamer's chat

  • Defines a badge that can be awarded via badge award records to users, projects, or activity claims.