dev.cartridge.getVerificationRequest
Schema Diff
+7 -0
Compatibility Analysis
Breaking Changes Detected
6 breaking changes, 0 non-breaking changes.
Breaking Changes (6)
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.reviewReason", sort: "maxLength", value: "3000" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.message", sort: "maxLength", value: "3000" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.contact", sort: "maxLength", value: "256" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.status", sort: "maxLength", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.id", sort: "maxLength", value: "128" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.accountType", sort: "maxLength", value: "64" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.id", sort: "maxLength", value: "128" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.reviewReason", sort: "maxLength", value: "3000" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.accountType", sort: "maxLength", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.status", sort: "maxLength", value: "64" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.contact", sort: "maxLength", value: "256" }
- ConstraintAdded ConstraintAdded { vertex_id: "dev.cartridge.getVerificationRequest#verificationRequestView.message", sort: "maxLength", value: "3000" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"description": "Get a verification request. Non-admins can only view their own requests.",
6
6
"output": {
7
7
"encoding": "application/json",
8
8
"schema": {
9
9
"properties": {
10
10
"request": {
11
11
"ref": "#verificationRequestView",
12
12
"type": "ref"
13
13
}
14
14
},
15
15
"required": [
16
16
"request"
17
17
],
18
18
"type": "object"
19
19
}
20
20
},
21
21
"parameters": {
22
22
"properties": {
23
23
"id": {
24
24
"description": "ID of the verification request.",
25
+
"maxLength": 128,
25
26
"type": "string"
26
27
},
27
28
"requesterDid": {
28
29
"description": "Get the most recent request for this DID. Ignored if id is provided.",
29
30
"format": "did",
30
31
"type": "string"
31
32
}
32
33
},
33
34
"type": "params"
34
35
},
35
36
"type": "query"
36
37
},
37
38
"verificationRequestView": {
38
39
"properties": {
39
40
"accountType": {
41
+
"maxLength": 64,
40
42
"type": "string"
41
43
},
42
44
"contact": {
45
+
"maxLength": 256,
43
46
"type": "string"
44
47
},
45
48
"createdAt": {
46
49
"format": "datetime",
47
50
"type": "string"
48
51
},
49
52
"id": {
53
+
"maxLength": 128,
50
54
"type": "string"
51
55
},
52
56
"message": {
57
+
"maxLength": 3000,
53
58
"type": "string"
54
59
},
55
60
"requesterDid": {
56
61
"format": "did",
57
62
"type": "string"
58
63
},
59
64
"reviewReason": {
65
+
"maxLength": 3000,
60
66
"type": "string"
61
67
},
62
68
"reviewedAt": {
63
69
"format": "datetime",
64
70
"type": "string"
65
71
},
66
72
"reviewedBy": {
67
73
"format": "did",
68
74
"type": "string"
69
75
},
70
76
"status": {
71
77
"knownValues": [
72
78
"pending",
73
79
"approved",
74
80
"denied"
75
81
],
82
+
"maxLength": 64,
76
83
"type": "string"
77
84
}
78
85
},
79
86
"required": [
80
87
"id",
81
88
"requesterDid",
82
89
"accountType",
83
90
"message",
84
91
"status",
85
92
"createdAt"
86
93
],
87
94
"type": "object"
88
95
}
89
96
},
90
97
"id": "dev.cartridge.getVerificationRequest",
91
98
"lexicon": 1
92
99
}