app.certified.badge.response
Schema Diff
+5 -4
Compatibility Analysis
Breaking Changes Detected
1 breaking change, 1 non-breaking change.
Breaking Changes (1)
- ConstraintAdded ConstraintAdded { vertex_id: "app.certified.badge.response:body.weight", sort: "maxLength", value: "50" }
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.weight", sort: "maxLength", value: "50" }
- ConstraintRemoved ConstraintRemoved { vertex_id: "app.certified.badge.response:body.response", sort: "enum" }
1
1
{
2
2
"id": "app.certified.badge.response",
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
"badgeAward",
11
11
"response",
12
12
"createdAt"
13
13
],
14
14
"properties": {
15
15
"weight": {
16
16
"type": "string",
17
+
"maxLength": 50,
17
18
"description": "Optional relative weight for accepted badges, assigned by the recipient."
18
19
},
19
20
"response": {
20
-
"enum": [
21
+
"type": "string",
22
+
"description": "The recipient’s response for the badge (accepted or rejected).",
23
+
"knownValues": [
21
24
"accepted",
22
25
"rejected"
23
-
],
24
-
"type": "string",
25
-
"description": "The recipient’s response for the badge (accepted or rejected)."
26
+
]
26
27
},
27
28
"createdAt": {
28
29
"type": "string",
29
30
"format": "datetime",
30
31
"description": "Client-declared timestamp when this record was originally created"
31
32
},
32
33
"badgeAward": {
33
34
"ref": "app.certified.badge.award",
34
35
"type": "ref",
35
36
"description": "Reference to the badge award."
36
37
}
37
38
}
38
39
},
39
40
"description": "Recipient response to a badge award."
40
41
}
41
42
},
42
43
"$type": "com.atproto.lexicon.schema",
43
44
"lexicon": 1
44
45
}