|
23 | 23 | "type": "array", |
24 | 24 | "items": { "type": "ref", "ref": "com.atproto.label.defs#label" } |
25 | 25 | }, |
26 | | - "createdAt": { "type": "string", "format": "datetime" } |
| 26 | + "createdAt": { "type": "string", "format": "datetime" }, |
| 27 | + "verification": { |
| 28 | + "type": "ref", |
| 29 | + "ref": "#verificationState" |
| 30 | + } |
27 | 31 | } |
28 | 32 | }, |
29 | 33 | "profileView": { |
|
53 | 57 | "labels": { |
54 | 58 | "type": "array", |
55 | 59 | "items": { "type": "ref", "ref": "com.atproto.label.defs#label" } |
| 60 | + }, |
| 61 | + "verification": { |
| 62 | + "type": "ref", |
| 63 | + "ref": "#verificationState" |
56 | 64 | } |
57 | 65 | } |
58 | 66 | }, |
|
95 | 103 | "pinnedPost": { |
96 | 104 | "type": "ref", |
97 | 105 | "ref": "com.atproto.repo.strongRef" |
| 106 | + }, |
| 107 | + "verification": { |
| 108 | + "type": "ref", |
| 109 | + "ref": "#verificationState" |
98 | 110 | } |
99 | 111 | } |
100 | 112 | }, |
|
158 | 170 | } |
159 | 171 | } |
160 | 172 | }, |
| 173 | + "verificationState": { |
| 174 | + "type": "object", |
| 175 | + "description": "Represents the verification information about the user this object is attached to.", |
| 176 | + "required": ["verifications", "verifiedStatus", "trustedVerifierStatus"], |
| 177 | + "properties": { |
| 178 | + "verifications": { |
| 179 | + "type": "array", |
| 180 | + "description": "All verifications issued by trusted verifiers on behalf of this user. Verifications by untrusted verifiers are not included.", |
| 181 | + "items": { "type": "ref", "ref": "#verificationView" } |
| 182 | + }, |
| 183 | + "verifiedStatus": { |
| 184 | + "type": "string", |
| 185 | + "description": "The user's status as a verified account.", |
| 186 | + "knownValues": ["valid", "invalid", "none"] |
| 187 | + }, |
| 188 | + "trustedVerifierStatus": { |
| 189 | + "type": "string", |
| 190 | + "description": "The user's status as a trusted verifier.", |
| 191 | + "knownValues": ["valid", "invalid", "none"] |
| 192 | + } |
| 193 | + } |
| 194 | + }, |
| 195 | + "verificationView": { |
| 196 | + "type": "object", |
| 197 | + "description": "An individual verification for an associated subject.", |
| 198 | + "required": ["issuer", "uri", "isValid", "createdAt"], |
| 199 | + "properties": { |
| 200 | + "issuer": { |
| 201 | + "type": "string", |
| 202 | + "description": "The user who issued this verification.", |
| 203 | + "format": "did" |
| 204 | + }, |
| 205 | + "uri": { |
| 206 | + "type": "string", |
| 207 | + "description": "The AT-URI of the verification record.", |
| 208 | + "format": "at-uri" |
| 209 | + }, |
| 210 | + "isValid": { |
| 211 | + "type": "boolean", |
| 212 | + "description": "True if the verification passes validation, otherwise false." |
| 213 | + }, |
| 214 | + "createdAt": { |
| 215 | + "type": "string", |
| 216 | + "description": "Timestamp when the verification was created.", |
| 217 | + "format": "datetime" |
| 218 | + } |
| 219 | + } |
| 220 | + }, |
161 | 221 | "preferences": { |
162 | 222 | "type": "array", |
163 | 223 | "items": { |
|
175 | 235 | "#hiddenPostsPref", |
176 | 236 | "#bskyAppStatePref", |
177 | 237 | "#labelersPref", |
178 | | - "#postInteractionSettingsPref" |
| 238 | + "#postInteractionSettingsPref", |
| 239 | + "#verificationPrefs" |
179 | 240 | ] |
180 | 241 | } |
181 | 242 | }, |
|
470 | 531 | } |
471 | 532 | } |
472 | 533 | }, |
| 534 | + "verificationPrefs": { |
| 535 | + "type": "object", |
| 536 | + "description": "Preferences for how verified accounts appear in the app.", |
| 537 | + "required": [], |
| 538 | + "properties": { |
| 539 | + "hideBadges": { |
| 540 | + "description": "Hide the blue check badges for verified accounts and trusted verifiers.", |
| 541 | + "type": "boolean", |
| 542 | + "default": false |
| 543 | + } |
| 544 | + } |
| 545 | + }, |
473 | 546 | "postInteractionSettingsPref": { |
474 | 547 | "type": "object", |
475 | 548 | "description": "Default post interaction settings for the account. These values should be applied as default values when creating new posts. These refs should mirror the threadgate and postgate records exactly.", |
|
0 commit comments