app.certified.badge.response

certified.app

Schema Diff

+2 -1

From

CID
bafyreiep6ibjc5d...
Indexed At
2026-02-18 18:01 UTC
View this version

To

CID
bafyreidzjpssmtj...
Indexed At
2026-03-19 20:24 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

2 breaking changes, 1 non-breaking change.

Breaking Changes (2)
  • ConstraintAdded ConstraintAdded { vertex_id: "app.certified.badge.response:body.weight", sort: "maxLength", value: "50" }
  • ConstraintAdded ConstraintAdded { vertex_id: "app.certified.badge.response:body.response", sort: "knownValues", value: "[\"accepted\",\"rejected\"]" }
Non-Breaking Changes (1)
  • ConstraintRemoved ConstraintRemoved { vertex_id: "app.certified.badge.response:body.response", sort: "enum" }

Migration Guidance

Constraint Changes

  • ConstraintAdded ConstraintAdded { vertex_id: "app.certified.badge.response:body.response", sort: "knownValues", value: "[\"accepted\",\"rejected\"]" }
  • ConstraintAdded ConstraintAdded { vertex_id: "app.certified.badge.response:body.weight", sort: "maxLength", value: "50" }
  • ConstraintRemoved ConstraintRemoved { vertex_id: "app.certified.badge.response:body.response", sort: "enum" }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "main": {
5 5
      "description": "Recipient response to a badge award.",
6 6
      "key": "tid",
7 7
      "record": {
8 8
        "properties": {
9 9
          "badgeAward": {
10 10
            "description": "Reference to the badge award.",
11 11
            "ref": "app.certified.badge.award",
12 12
            "type": "ref"
13 13
          },
14 14
          "createdAt": {
15 15
            "description": "Client-declared timestamp when this record was originally created",
16 16
            "format": "datetime",
17 17
            "type": "string"
18 18
          },
19 19
          "response": {
20 20
            "description": "The recipient’s response for the badge (accepted or rejected).",
21 -
            "enum": [
21 +
            "knownValues": [
22 22
              "accepted",
23 23
              "rejected"
24 24
            ],
25 25
            "type": "string"
26 26
          },
27 27
          "weight": {
28 28
            "description": "Optional relative weight for accepted badges, assigned by the recipient.",
29 +
            "maxLength": 50,
29 30
            "type": "string"
30 31
          }
31 32
        },
32 33
        "required": [
33 34
          "badgeAward",
34 35
          "response",
35 36
          "createdAt"
36 37
        ],
37 38
        "type": "object"
38 39
      },
39 40
      "type": "record"
40 41
    }
41 42
  },
42 43
  "id": "app.certified.badge.response",
43 44
  "lexicon": 1
44 45
}

Compare Other Versions

Lexicon Garden

@