dev.pcvera.temp.badge.def

Badge definition: metadata plus a reference to PNG artwork stored as a blob on the issuer PDS.

Repository @pcvera.dev did:plc:aqspvjgrjpjy3d5rzjudfmw4 namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritybadge.temp.pcvera.dev
Indexed
cid bafyreial4kjk2q3pd2jdg7owpibmh2xypjnn3ljue7ss4jlsygjboh33ki

Checks

Valid
  • missing-primary-description defs.mainThe record has no description.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "issuerMetadata": {
      "description": "Optional issuer-facing metadata for display in clients.",
      "properties": {
        "displayName": {
          "description": "Name shown next to the badge in UIs.",
          "maxGraphemes": 64,
          "maxLength": 200,
          "type": "string"
        },
        "siteUrl": {
          "description": "Optional issuer or campaign page.",
          "format": "uri",
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "When this definition was first created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Human-readable description of what the badge represents.",
            "maxGraphemes": 2000,
            "maxLength": 5000,
            "type": "string"
          },
          "issuer": {
            "ref": "#issuerMetadata",
            "type": "ref"
          },
          "png": {
            "accept": [
              "image/png"
            ],
            "description": "PNG artwork hosted on the issuer PDS.",
            "maxSize": 1048576,
            "type": "blob"
          },
          "title": {
            "description": "Short label for the badge.",
            "maxLength": 200,
            "minLength": 1,
            "type": "string"
          },
          "updatedAt": {
            "description": "When this definition was last updated.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "title",
          "description",
          "png",
          "createdAt",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Badge definition: metadata plus a reference to PNG artwork stored as a blob on the issuer PDS.",
  "id": "dev.pcvera.temp.badge.def",
  "lexicon": 1
}