dev.pcvera.temp.badge.def

pcvera.dev

Schema Diff

+5 -5

From

CID
bafyreial7w5iugn...
Indexed At
2026-05-04 01:06 UTC
View this version

To

CID
bafyreial4kjk2q3...
Indexed At
2026-05-06 05:00 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

2 breaking changes, 2 non-breaking changes.

Breaking Changes (2)
  • RemovedVertex RemovedVertex { vertex_id: "dev.pcvera.temp.badge.def:body.svg" }
  • RemovedEdge RemovedEdge { src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.svg", kind: "prop", name: Some("svg") }
Non-Breaking Changes (2)
  • AddedVertex AddedVertex { vertex_id: "dev.pcvera.temp.badge.def:body.png" }
  • AddedEdge AddedEdge { src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.png", kind: "prop", name: Some("png") }

Migration Guidance

Removed Elements

  • RemovedVertex { vertex_id: "dev.pcvera.temp.badge.def:body.svg" }

Added Elements

  • AddedVertex { vertex_id: "dev.pcvera.temp.badge.def:body.png" }

Additional Notes

  • Breaking: RemovedEdge { src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.svg", kind: "prop", name: Some("svg") }
  • Non-breaking: AddedEdge { src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.png", kind: "prop", name: Some("png") }
1 1
{
2 2
  "id": "dev.pcvera.temp.badge.def",
3 3
  "defs": {
4 4
    "main": {
5 5
      "key": "tid",
6 6
      "type": "record",
7 7
      "record": {
8 8
        "type": "object",
9 9
        "required": [
10 10
          "title",
11 11
          "description",
12 -
          "svg",
12 +
          "png",
13 13
          "createdAt",
14 14
          "updatedAt"
15 15
        ],
16 16
        "properties": {
17 -
          "svg": {
17 +
          "png": {
18 18
            "type": "blob",
19 19
            "accept": [
20 -
              "image/svg+xml"
20 +
              "image/png"
21 21
            ],
22 22
            "maxSize": 1048576,
23 -
            "description": "SVG artwork hosted on the issuer PDS."
23 +
            "description": "PNG artwork hosted on the issuer PDS."
24 24
          },
25 25
          "title": {
26 26
            "type": "string",
27 27
            "maxLength": 200,
28 28
            "minLength": 1,
29 29
            "description": "Short label for the badge."
30 30
          },
31 31
          "issuer": {
32 32
            "ref": "#issuerMetadata",
33 33
            "type": "ref"
34 34
          },
35 35
          "createdAt": {
36 36
            "type": "string",
37 37
            "format": "datetime",
38 38
            "description": "When this definition was first created."
39 39
          },
40 40
          "updatedAt": {
41 41
            "type": "string",
42 42
            "format": "datetime",
43 43
            "description": "When this definition was last updated."
44 44
          },
45 45
          "description": {
46 46
            "type": "string",
47 47
            "maxLength": 5000,
48 48
            "description": "Human-readable description of what the badge represents.",
49 49
            "maxGraphemes": 2000
50 50
          }
51 51
        }
52 52
      }
53 53
    },
54 54
    "issuerMetadata": {
55 55
      "type": "object",
56 56
      "properties": {
57 57
        "siteUrl": {
58 58
          "type": "string",
59 59
          "format": "uri",
60 60
          "description": "Optional issuer or campaign page."
61 61
        },
62 62
        "displayName": {
63 63
          "type": "string",
64 64
          "maxLength": 200,
65 65
          "description": "Name shown next to the badge in UIs.",
66 66
          "maxGraphemes": 64
67 67
        }
68 68
      },
69 69
      "description": "Optional issuer-facing metadata for display in clients."
70 70
    }
71 71
  },
72 72
  "$type": "com.atproto.lexicon.schema",
73 73
  "lexicon": 1,
74 -
  "description": "Badge definition: metadata plus a reference to SVG artwork stored as a blob on the issuer PDS."
74 +
  "description": "Badge definition: metadata plus a reference to PNG artwork stored as a blob on the issuer PDS."
75 75
}

Compare Other Versions

Lexicon Garden

@