place.stream.badge.def

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

Repository @stream.place did:plc:rbvrr34edl5ddpuwcubjiost not from the namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritybadge.stream.place
Indexed
cid bafyreiggpflgxfahilrv4hadz3lgsterpm3k2h4wulaaigg6stbo5iikbe

Checks

Valid
  • unlimited-string defs.main.record.properties.badgeTypeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Defines a badge's visual appearance and type. Created by the issuer and referenced by issuance records.",
      "key": "tid",
      "record": {
        "properties": {
          "badgeType": {
            "description": "The category of this badge, used for scope and display rules.",
            "knownValues": [
              "place.stream.badge.defs#vip",
              "place.stream.badge.defs#event"
            ],
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Optional description of the badge.",
            "maxLength": 256,
            "type": "string"
          },
          "image": {
            "accept": [
              "image/png",
              "image/jpeg",
              "image/gif",
              "image/webp"
            ],
            "description": "Badge icon image.",
            "maxSize": 262144,
            "type": "blob"
          },
          "name": {
            "description": "Display name for this badge.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "name",
          "badgeType",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.stream.badge.def",
  "lexicon": 1
}