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