full diff

dev.pcvera.temp.badge.def

pcvera.dev +5 −5
From
bafyreial7w5iugn6knygzcixe7fw5awej2nlkuntzeqdibmerx2xj6q5ma indexed 2026-05-04 01:06 UTC View this version
To
bafyreial4kjk2q3pd2jdg7owpibmh2xypjnn3ljue7ss4jlsygjboh33ki indexed 2026-05-06 05:00 UTC View this version

Compatibility

breaking 3 breaking changes, 1 non-breaking change.

Breaking changes (3)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "dev.pcvera.temp.badge.def:body", src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.png", kind: "prop", name: Some("png") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "dev.pcvera.temp.badge.def:body", src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.svg", kind: "prop", name: Some("svg") }
  • RemovedVertex RemovedVertex { vertex_id: "dev.pcvera.temp.badge.def:body.svg" }
Non-breaking changes (1)
  • AddedVertex AddedVertex { vertex_id: "dev.pcvera.temp.badge.def:body.png" }

Migration guidance

Removed

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

Added

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

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "dev.pcvera.temp.badge.def:body", src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.png", kind: "prop", name: Some("png") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "dev.pcvera.temp.badge.def:body", src: "dev.pcvera.temp.badge.def:body", tgt: "dev.pcvera.temp.badge.def:body.svg", kind: "prop", name: Some("svg") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "issuerMetadata": {
55 "description": "Optional issuer-facing metadata for display in clients.",
66 "properties": {
77 "displayName": {
88 "description": "Name shown next to the badge in UIs.",
99 "maxGraphemes": 64,
1010 "maxLength": 200,
1111 "type": "string"
1212 },
1313 "siteUrl": {
1414 "description": "Optional issuer or campaign page.",
1515 "format": "uri",
1616 "type": "string"
1717 }
1818 },
1919 "type": "object"
2020 },
2121 "main": {
2222 "key": "tid",
2323 "record": {
2424 "properties": {
2525 "createdAt": {
2626 "description": "When this definition was first created.",
2727 "format": "datetime",
2828 "type": "string"
2929 },
3030 "description": {
3131 "description": "Human-readable description of what the badge represents.",
3232 "maxGraphemes": 2000,
3333 "maxLength": 5000,
3434 "type": "string"
3535 },
3636 "issuer": {
3737 "ref": "#issuerMetadata",
3838 "type": "ref"
3939 },
40 "svg": {
40 "png": {
4141 "accept": [
42 "image/svg+xml"
42 "image/png"
4343 ],
44 "description": "SVG artwork hosted on the issuer PDS.",
44 "description": "PNG artwork hosted on the issuer PDS.",
4545 "maxSize": 1048576,
4646 "type": "blob"
4747 },
4848 "title": {
4949 "description": "Short label for the badge.",
5050 "maxLength": 200,
5151 "minLength": 1,
5252 "type": "string"
5353 },
5454 "updatedAt": {
5555 "description": "When this definition was last updated.",
5656 "format": "datetime",
5757 "type": "string"
5858 }
5959 },
6060 "required": [
6161 "title",
6262 "description",
63 "svg",
63 "png",
6464 "createdAt",
6565 "updatedAt"
6666 ],
6767 "type": "object"
6868 },
6969 "type": "record"
7070 }
7171 },
72 "description": "Badge definition: metadata plus a reference to SVG artwork stored as a blob on the issuer PDS.",
72 "description": "Badge definition: metadata plus a reference to PNG artwork stored as a blob on the issuer PDS.",
7373 "id": "dev.pcvera.temp.badge.def",
7474 "lexicon": 1
7575}

Compare other versions