dev.pcvera.temp.badge.def

pcvera.dev

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

Validate Record

Validate a record against dev.pcvera.temp.badge.def

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:aqspvjgrjpjy3d5rzjudfmw4
CID
bafyreial7w5iugn6knygzcixe7fw5awej2nlkuntzeqdibmerx2xj6q5ma
Indexed At
2026-05-04 01:06 UTC
AT-URI
at://did:plc:aqspvjgrjpjy3d5rzjudfmw4/com.atproto.lexicon.schema/dev.pcvera.temp.badge.def

Version History (2 versions)

Lexicon Garden

@