ai.newnal.trustsquare.defs

bezalel-newnal.bsky.social

Schema Diff

+44 -0

From

CID
bafyreig6hqcjofl...
Indexed At
2026-09-14 10:06 UTC
View this version

To

CID
bafyreicftpb2r5s...
Indexed At
2026-09-14 12:52 UTC
View this version

Compatibility Analysis

Breaking Changes Detected

4 breaking changes, 9 non-breaking changes.

Breaking Changes (4)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.platform", kind: "prop", name: Some("platform") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.verifiedAt", kind: "prop", name: Some("verifiedAt") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.method", kind: "prop", name: Some("method") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.handle", kind: "prop", name: Some("handle") }
Non-Breaking Changes (9)
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.handle" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.method" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.platform" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.profileUrl" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.verifiedAt" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#videoMeta.channelHandle" }
  • AddedEdge AddedEdge { src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.profileUrl", kind: "prop", name: Some("profileUrl") }
  • AddedEdge AddedEdge { src: "ai.newnal.trustsquare.defs#videoMeta", tgt: "ai.newnal.trustsquare.defs#videoMeta.channelHandle", kind: "prop", name: Some("channelHandle") }

Migration Guidance

Added Elements

  • AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView" }
  • AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.handle" }
  • AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.method" }
  • AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.platform" }
  • AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.profileUrl" }
  • AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView.verifiedAt" }
  • AddedVertex { vertex_id: "ai.newnal.trustsquare.defs#videoMeta.channelHandle" }

Additional Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.platform", kind: "prop", name: Some("platform") }
  • Breaking: RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.verifiedAt", kind: "prop", name: Some("verifiedAt") }
  • Breaking: RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.method", kind: "prop", name: Some("method") }
  • Breaking: RequiredEdgeAdded { vertex_id: "ai.newnal.trustsquare.defs#socialAccountView", src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.handle", kind: "prop", name: Some("handle") }
  • Non-breaking: AddedEdge { src: "ai.newnal.trustsquare.defs#socialAccountView", tgt: "ai.newnal.trustsquare.defs#socialAccountView.profileUrl", kind: "prop", name: Some("profileUrl") }
  • Non-breaking: AddedEdge { src: "ai.newnal.trustsquare.defs#videoMeta", tgt: "ai.newnal.trustsquare.defs#videoMeta.channelHandle", kind: "prop", name: Some("channelHandle") }
1 1
{
2 2
  "$type": "com.atproto.lexicon.schema",
3 3
  "defs": {
4 4
    "actorProfileView": {
5 5
      "properties": {
6 6
        "actor": {
7 7
          "ref": "#actorView",
8 8
          "type": "ref"
9 9
        },
10 10
        "historyVisible": {
11 11
          "type": "boolean"
12 12
        },
13 13
        "pdsEndpoint": {
14 14
          "format": "uri",
15 15
          "type": "string"
16 16
        },
17 17
        "stats": {
18 18
          "ref": "#actorStats",
19 19
          "type": "ref"
20 20
        },
21 21
        "verification": {
22 22
          "ref": "#verificationView",
23 23
          "type": "ref"
24 24
        }
25 25
      },
26 26
      "required": [
27 27
        "actor",
28 28
        "verification",
29 29
        "stats",
30 30
        "historyVisible"
31 31
      ],
32 32
      "type": "object"
33 33
    },
34 34
    "actorStats": {
35 35
      "properties": {
36 36
        "chatMessages": {
37 37
          "type": "integer"
38 38
        },
39 39
        "comments": {
40 40
          "type": "integer"
41 41
        },
42 42
        "firstSeenAt": {
43 43
          "format": "datetime",
44 44
          "type": "string"
45 45
        },
46 46
        "likesReceived": {
47 47
          "type": "integer"
48 48
        },
49 49
        "squaresCreated": {
50 50
          "type": "integer"
51 51
        }
52 52
      },
53 53
      "required": [
54 54
        "comments",
55 55
        "chatMessages",
56 56
        "squaresCreated",
57 57
        "likesReceived"
58 58
      ],
59 59
      "type": "object"
60 60
    },
61 61
    "actorView": {
62 62
      "properties": {
63 63
        "affiliation": {
64 64
          "type": "string"
65 65
        },
66 66
        "ageBand": {
67 67
          "type": "string"
68 68
        },
69 69
        "avatar": {
70 70
          "format": "uri",
71 71
          "type": "string"
72 72
        },
73 73
        "did": {
74 74
          "format": "did",
75 75
          "type": "string"
76 76
        },
77 77
        "displayName": {
78 78
          "type": "string"
79 79
        },
80 80
        "gender": {
81 81
          "type": "string"
82 82
        },
83 83
        "handle": {
84 84
          "format": "handle",
85 85
          "type": "string"
86 86
        },
87 87
        "occupation": {
88 88
          "type": "string"
89 89
        },
90 90
        "realName": {
91 91
          "type": "boolean"
92 92
        },
93 93
        "verificationStatus": {
94 94
          "knownValues": [
95 95
            "active",
96 96
            "expired",
97 97
            "revoked",
98 98
            "invalid",
99 99
            "none"
100 100
          ],
101 101
          "type": "string"
102 102
        }
103 103
      },
104 104
      "required": [
105 105
        "did",
106 106
        "handle",
107 107
        "displayName",
108 108
        "verificationStatus"
109 109
      ],
110 110
      "type": "object"
111 111
    },
112 112
    "chatMessageView": {
113 113
      "properties": {
114 114
        "author": {
115 115
          "ref": "#actorView",
116 116
          "type": "ref"
117 117
        },
118 118
        "cid": {
119 119
          "format": "cid",
120 120
          "type": "string"
121 121
        },
122 122
        "createdAt": {
123 123
          "format": "datetime",
124 124
          "type": "string"
125 125
        },
126 126
        "hidden": {
127 127
          "type": "boolean"
128 128
        },
129 129
        "indexedAt": {
130 130
          "format": "datetime",
131 131
          "type": "string"
132 132
        },
133 133
        "squareUri": {
134 134
          "format": "at-uri",
135 135
          "type": "string"
136 136
        },
137 137
        "syncState": {
138 138
          "ref": "#syncState",
139 139
          "type": "ref"
140 140
        },
141 141
        "text": {
142 142
          "type": "string"
143 143
        },
144 144
        "uri": {
145 145
          "format": "at-uri",
146 146
          "type": "string"
147 147
        }
148 148
      },
149 149
      "required": [
150 150
        "uri",
151 151
        "cid",
152 152
        "author",
153 153
        "squareUri",
154 154
        "text",
155 155
        "hidden",
156 156
        "createdAt",
157 157
        "indexedAt",
158 158
        "syncState"
159 159
      ],
160 160
      "type": "object"
161 161
    },
162 162
    "commentView": {
163 163
      "properties": {
164 164
        "author": {
165 165
          "ref": "#actorView",
166 166
          "type": "ref"
167 167
        },
168 168
        "cid": {
169 169
          "format": "cid",
170 170
          "type": "string"
171 171
        },
172 172
        "createdAt": {
173 173
          "format": "datetime",
174 174
          "type": "string"
175 175
        },
176 176
        "deleted": {
177 177
          "description": "Tombstone for a comment the author deleted; text is empty.",
178 178
          "type": "boolean"
179 179
        },
180 180
        "dislikeCount": {
181 181
          "type": "integer"
182 182
        },
183 183
        "edited": {
184 184
          "type": "boolean"
185 185
        },
186 186
        "editedAt": {
187 187
          "format": "datetime",
188 188
          "type": "string"
189 189
        },
190 190
        "hidden": {
191 191
          "description": "Hidden by the Square creator or an operator. Only returned to the creator or the author.",
192 192
          "type": "boolean"
193 193
        },
194 194
        "indexedAt": {
195 195
          "format": "datetime",
196 196
          "type": "string"
197 197
        },
198 198
        "likeCount": {
199 199
          "type": "integer"
200 200
        },
201 201
        "pinned": {
202 202
          "type": "boolean"
203 203
        },
204 204
        "reply": {
205 205
          "ref": "#replyRef",
206 206
          "type": "ref"
207 207
        },
208 208
        "replyCount": {
209 209
          "type": "integer"
210 210
        },
211 211
        "squareUri": {
212 212
          "format": "at-uri",
213 213
          "type": "string"
214 214
        },
215 215
        "syncState": {
216 216
          "ref": "#syncState",
217 217
          "type": "ref"
218 218
        },
219 219
        "text": {
220 220
          "type": "string"
221 221
        },
222 222
        "trustScore": {
223 223
          "description": "Debug only; present when the AppView runs with ranking debug enabled.",
224 224
          "type": "string"
225 225
        },
226 226
        "uri": {
227 227
          "format": "at-uri",
228 228
          "type": "string"
229 229
        },
230 230
        "viewer": {
231 231
          "ref": "#viewerState",
232 232
          "type": "ref"
233 233
        }
234 234
      },
235 235
      "required": [
236 236
        "uri",
237 237
        "cid",
238 238
        "author",
239 239
        "squareUri",
240 240
        "text",
241 241
        "likeCount",
242 242
        "dislikeCount",
243 243
        "replyCount",
244 244
        "edited",
245 245
        "hidden",
246 246
        "pinned",
247 247
        "deleted",
248 248
        "createdAt",
249 249
        "indexedAt",
250 250
        "syncState"
251 251
      ],
252 252
      "type": "object"
253 253
    },
254 254
    "commitView": {
255 255
      "properties": {
256 256
        "cid": {
257 257
          "format": "cid",
258 258
          "type": "string"
259 259
        },
260 260
        "data": {
261 261
          "description": "MST root CID.",
262 262
          "format": "cid",
263 263
          "type": "string"
264 264
        },
265 265
        "rev": {
266 266
          "format": "tid",
267 267
          "type": "string"
268 268
        },
269 269
        "sig": {
270 270
          "description": "Base64 signature bytes.",
271 271
          "type": "string"
272 272
        }
273 273
      },
274 274
      "required": [
275 275
        "cid",
276 276
        "rev",
277 277
        "sig",
278 278
        "data"
279 279
      ],
280 280
      "type": "object"
281 281
    },
282 282
    "disclosure": {
283 283
      "description": "What the account holder chose to reveal, signed by the verifier. `ageBand` and `gender` are derived from the verified identity and are therefore attested; `occupation` and `affiliation` are self-declared. With nothing disclosed, `displayName` is the masked form of the verified name.",
284 284
      "properties": {
285 285
        "affiliation": {
286 286
          "description": "Self-declared.",
287 287
          "maxGraphemes": 100,
288 288
          "maxLength": 1000,
289 289
          "type": "string"
290 290
        },
291 291
        "ageBand": {
292 292
          "description": "Attested: derived from the verified birth date.",
293 293
          "knownValues": [
294 294
            "teens",
295 295
            "20s",
296 296
            "30s",
297 297
            "40s",
298 298
            "50s",
299 299
            "60s",
300 300
            "70plus"
301 301
          ],
302 302
          "type": "string"
303 303
        },
304 304
        "displayName": {
305 305
          "description": "The verified name when `realName` is true, otherwise its masked form.",
306 306
          "maxGraphemes": 64,
307 307
          "maxLength": 640,
308 308
          "type": "string"
309 309
        },
310 310
        "gender": {
311 311
          "description": "Attested: as supplied by the identity provider.",
312 312
          "knownValues": [
313 313
            "male",
314 314
            "female",
315 315
            "other"
316 316
          ],
317 317
          "type": "string"
318 318
        },
319 319
        "occupation": {
320 320
          "description": "Self-declared.",
321 321
          "maxGraphemes": 100,
322 322
          "maxLength": 1000,
323 323
          "type": "string"
324 324
        },
325 325
        "realName": {
326 326
          "description": "Whether `displayName` is the full verified name.",
327 327
          "type": "boolean"
328 328
        }
329 329
      },
330 330
      "required": [
331 331
        "displayName",
332 332
        "realName"
333 333
      ],
334 334
      "type": "object"
335 335
    },
336 336
    "historyItem": {
337 337
      "properties": {
338 338
        "chatMessage": {
339 339
          "ref": "#chatMessageView",
340 340
          "type": "ref"
341 341
        },
342 342
        "comment": {
343 343
          "ref": "#commentView",
344 344
          "type": "ref"
345 345
        },
346 346
        "kind": {
347 347
          "knownValues": [
348 348
            "comment",
349 349
            "chat"
350 350
          ],
351 351
          "type": "string"
352 352
        },
353 353
        "square": {
354 354
          "ref": "#squareView",
355 355
          "type": "ref"
356 356
        }
357 357
      },
358 358
      "required": [
359 359
        "kind",
360 360
        "square"
361 361
      ],
362 362
      "type": "object"
363 363
    },
364 364
    "liveStatus": {
365 365
      "properties": {
366 366
        "endedAt": {
367 367
          "format": "datetime",
368 368
          "type": "string"
369 369
        },
370 370
        "startedAt": {
371 371
          "format": "datetime",
372 372
          "type": "string"
373 373
        },
374 374
        "state": {
375 375
          "knownValues": [
376 376
            "none",
377 377
            "upcoming",
378 378
            "live",
379 379
            "ended"
380 380
          ],
381 381
          "type": "string"
382 382
        }
383 383
      },
384 384
      "required": [
385 385
        "state"
386 386
      ],
387 387
      "type": "object"
388 388
    },
389 389
    "proofChecks": {
390 390
      "properties": {
391 391
        "cidMatchesIndex": {
392 392
          "type": "boolean"
393 393
        },
394 394
        "didDocFresh": {
395 395
          "type": "boolean"
396 396
        },
397 397
        "inclusionValid": {
398 398
          "type": "boolean"
399 399
        },
400 400
        "signatureValid": {
401 401
          "type": "boolean"
402 402
        }
403 403
      },
404 404
      "required": [
405 405
        "signatureValid",
406 406
        "inclusionValid",
407 407
        "cidMatchesIndex",
408 408
        "didDocFresh"
409 409
      ],
410 410
      "type": "object"
411 411
    },
412 412
    "proofView": {
413 413
      "properties": {
414 414
        "checkedAt": {
415 415
          "format": "datetime",
416 416
          "type": "string"
417 417
        },
418 418
        "checks": {
419 419
          "ref": "#proofChecks",
420 420
          "type": "ref"
421 421
        },
422 422
        "cid": {
423 423
          "description": "Record CID from the PDS proof; absent when the record no longer exists.",
424 424
          "format": "cid",
425 425
          "type": "string"
426 426
        },
427 427
        "commit": {
428 428
          "ref": "#commitView",
429 429
          "type": "ref"
430 430
        },
431 431
        "did": {
432 432
          "format": "did",
433 433
          "type": "string"
434 434
        },
435 435
        "error": {
436 436
          "type": "string"
437 437
        },
438 438
        "indexedCid": {
439 439
          "format": "cid",
440 440
          "type": "string"
441 441
        },
442 442
        "pdsEndpoint": {
443 443
          "format": "uri",
444 444
          "type": "string"
445 445
        },
446 446
        "record": {
447 447
          "type": "unknown"
448 448
        },
449 449
        "signingKey": {
450 450
          "description": "did:key of the repository signing key from the DID document.",
451 451
          "type": "string"
452 452
        },
453 453
        "uri": {
454 454
          "format": "at-uri",
455 455
          "type": "string"
456 456
        }
457 457
      },
458 458
      "required": [
459 459
        "uri",
460 460
        "did",
461 461
        "pdsEndpoint",
462 462
        "signingKey",
463 463
        "checks",
464 464
        "checkedAt"
465 465
      ],
466 466
      "type": "object"
467 467
    },
468 468
    "replyRef": {
469 469
      "properties": {
470 470
        "parent": {
471 471
          "ref": "com.atproto.repo.strongRef",
472 472
          "type": "ref"
473 473
        },
474 474
        "root": {
475 475
          "ref": "com.atproto.repo.strongRef",
476 476
          "type": "ref"
477 477
        }
478 478
      },
479 479
      "required": [
480 480
        "root",
481 481
        "parent"
482 482
      ],
483 483
      "type": "object"
484 484
    },
485 +
    "socialAccountView": {
486 +
      "description": "A social account an actor has linked. `method` is carried through so a reader can tell a mocked claim from an ownership-checked one.",
487 +
      "properties": {
488 +
        "handle": {
489 +
          "type": "string"
490 +
        },
491 +
        "method": {
492 +
          "knownValues": [
493 +
            "mock",
494 +
            "oauth",
495 +
            "post-proof"
496 +
          ],
497 +
          "type": "string"
498 +
        },
499 +
        "platform": {
500 +
          "knownValues": [
501 +
            "youtube",
502 +
            "facebook",
503 +
            "x",
504 +
            "naver"
505 +
          ],
506 +
          "type": "string"
507 +
        },
508 +
        "profileUrl": {
509 +
          "format": "uri",
510 +
          "type": "string"
511 +
        },
512 +
        "verifiedAt": {
513 +
          "format": "datetime",
514 +
          "type": "string"
515 +
        }
516 +
      },
517 +
      "required": [
518 +
        "platform",
519 +
        "handle",
520 +
        "method",
521 +
        "verifiedAt"
522 +
      ],
523 +
      "type": "object"
524 +
    },
485 525
    "squareSettings": {
486 526
      "properties": {
487 527
        "allowChat": {
488 528
          "default": true,
489 529
          "type": "boolean"
490 530
        },
491 531
        "allowComments": {
492 532
          "default": true,
493 533
          "type": "boolean"
494 534
        },
495 535
        "requireRealName": {
496 536
          "default": false,
497 537
          "description": "When true, only accounts disclosing their full verified name may write in this Square.",
498 538
          "type": "boolean"
499 539
        },
500 540
        "slowModeSeconds": {
501 541
          "default": 3,
502 542
          "maximum": 600,
503 543
          "minimum": 0,
504 544
          "type": "integer"
505 545
        }
506 546
      },
507 547
      "type": "object"
508 548
    },
509 549
    "squareStats": {
510 550
      "properties": {
511 551
        "chatMessages": {
512 552
          "type": "integer"
513 553
        },
514 554
        "comments": {
515 555
          "type": "integer"
516 556
        },
517 557
        "participants": {
518 558
          "type": "integer"
519 559
        }
520 560
      },
521 561
      "required": [
522 562
        "comments",
523 563
        "chatMessages",
524 564
        "participants"
525 565
      ],
526 566
      "type": "object"
527 567
    },
528 568
    "squareView": {
529 569
      "properties": {
530 570
        "cid": {
531 571
          "format": "cid",
532 572
          "type": "string"
533 573
        },
534 574
        "createdAt": {
535 575
          "format": "datetime",
536 576
          "type": "string"
537 577
        },
538 578
        "creator": {
539 579
          "ref": "#actorView",
540 580
          "type": "ref"
541 581
        },
542 582
        "description": {
543 583
          "type": "string"
544 584
        },
545 585
        "id": {
546 586
          "description": "Short public id used in /s/{id} links.",
547 587
          "type": "string"
548 588
        },
549 589
        "indexedAt": {
550 590
          "format": "datetime",
551 591
          "type": "string"
552 592
        },
553 593
        "liveStatus": {
554 594
          "ref": "#liveStatus",
555 595
          "type": "ref"
556 596
        },
557 597
        "mode": {
558 598
          "knownValues": [
559 599
            "vod",
560 600
            "live"
561 601
          ],
562 602
          "type": "string"
563 603
        },
564 604
        "pinned": {
565 605
          "items": {
566 606
            "ref": "com.atproto.repo.strongRef",
567 607
            "type": "ref"
568 608
          },
569 609
          "type": "array"
570 610
        },
571 611
        "settings": {
572 612
          "ref": "#squareSettings",
573 613
          "type": "ref"
574 614
        },
575 615
        "stats": {
576 616
          "ref": "#squareStats",
577 617
          "type": "ref"
578 618
        },
579 619
        "subject": {
580 620
          "ref": "#videoMeta",
581 621
          "type": "ref"
582 622
        },
583 623
        "syncState": {
584 624
          "ref": "#syncState",
585 625
          "type": "ref"
586 626
        },
587 627
        "title": {
588 628
          "type": "string"
589 629
        },
590 630
        "uri": {
591 631
          "format": "at-uri",
592 632
          "type": "string"
593 633
        }
594 634
      },
595 635
      "required": [
596 636
        "uri",
597 637
        "cid",
598 638
        "id",
599 639
        "creator",
600 640
        "subject",
601 641
        "mode",
602 642
        "settings",
603 643
        "pinned",
604 644
        "stats",
605 645
        "liveStatus",
606 646
        "createdAt",
607 647
        "indexedAt",
608 648
        "syncState"
609 649
      ],
610 650
      "type": "object"
611 651
    },
612 652
    "syncState": {
613 653
      "description": "AppView knowledge about a record: written to PDS but not yet seen on the network, or confirmed from the firehose.",
614 654
      "knownValues": [
615 655
        "optimistic",
616 656
        "confirmed"
617 657
      ],
618 658
      "type": "string"
619 659
    },
620 660
    "threadView": {
621 661
      "properties": {
622 662
        "comment": {
623 663
          "ref": "#commentView",
624 664
          "type": "ref"
625 665
        },
626 666
        "hasMoreReplies": {
627 667
          "type": "boolean"
628 668
        },
629 669
        "replies": {
630 670
          "items": {
631 671
            "ref": "#commentView",
632 672
            "type": "ref"
633 673
          },
634 674
          "type": "array"
635 675
        }
636 676
      },
637 677
      "required": [
638 678
        "comment",
639 679
        "replies",
640 680
        "hasMoreReplies"
641 681
      ],
642 682
      "type": "object"
643 683
    },
644 684
    "verificationView": {
645 685
      "properties": {
646 686
        "attestationValid": {
647 687
          "type": "boolean"
648 688
        },
649 689
        "cid": {
650 690
          "format": "cid",
651 691
          "type": "string"
652 692
        },
653 693
        "disclosure": {
654 694
          "ref": "#disclosure",
655 695
          "type": "ref"
656 696
        },
657 697
        "expiresAt": {
658 698
          "format": "datetime",
659 699
          "type": "string"
660 700
        },
661 701
        "issuer": {
662 702
          "format": "did",
663 703
          "type": "string"
664 704
        },
665 705
        "provider": {
666 706
          "type": "string"
667 707
        },
668 708
        "status": {
669 709
          "knownValues": [
670 710
            "active",
671 711
            "expired",
672 712
            "revoked",
673 713
            "invalid",
674 714
            "none"
675 715
          ],
676 716
          "type": "string"
677 717
        },
678 718
        "uri": {
679 719
          "format": "at-uri",
680 720
          "type": "string"
681 721
        },
682 722
        "verificationId": {
683 723
          "type": "string"
684 724
        },
685 725
        "verifiedAt": {
686 726
          "format": "datetime",
687 727
          "type": "string"
688 728
        }
689 729
      },
690 730
      "required": [
691 731
        "status"
692 732
      ],
693 733
      "type": "object"
694 734
    },
695 735
    "videoMeta": {
696 736
      "properties": {
737 +
        "channelHandle": {
738 +
          "description": "The channel's YouTube handle including its leading @, when the channel has one.",
739 +
          "type": "string"
740 +
        },
697 741
        "channelId": {
698 742
          "type": "string"
699 743
        },
700 744
        "channelTitle": {
701 745
          "type": "string"
702 746
        },
703 747
        "thumbnailUrl": {
704 748
          "format": "uri",
705 749
          "type": "string"
706 750
        },
707 751
        "title": {
708 752
          "type": "string"
709 753
        },
710 754
        "url": {
711 755
          "format": "uri",
712 756
          "type": "string"
713 757
        },
714 758
        "videoId": {
715 759
          "type": "string"
716 760
        }
717 761
      },
718 762
      "required": [
719 763
        "videoId",
720 764
        "url"
721 765
      ],
722 766
      "type": "object"
723 767
    },
724 768
    "viewerState": {
725 769
      "properties": {
726 770
        "reaction": {
727 771
          "knownValues": [
728 772
            "like",
729 773
            "dislike"
730 774
          ],
731 775
          "type": "string"
732 776
        },
733 777
        "reactionUri": {
734 778
          "format": "at-uri",
735 779
          "type": "string"
736 780
        }
737 781
      },
738 782
      "type": "object"
739 783
    },
740 784
    "youtubeVideo": {
741 785
      "description": "A YouTube video or live stream that a Square is attached to.",
742 786
      "properties": {
743 787
        "channelId": {
744 788
          "maxLength": 64,
745 789
          "type": "string"
746 790
        },
747 791
        "url": {
748 792
          "description": "Canonical https://www.youtube.com/watch?v=... URL.",
749 793
          "format": "uri",
750 794
          "type": "string"
751 795
        },
752 796
        "videoId": {
753 797
          "description": "YouTube video id.",
754 798
          "maxLength": 16,
755 799
          "minLength": 11,
756 800
          "type": "string"
757 801
        }
758 802
      },
759 803
      "required": [
760 804
        "videoId",
761 805
        "url"
762 806
      ],
763 807
      "type": "object"
764 808
    }
765 809
  },
766 810
  "id": "ai.newnal.trustsquare.defs",
767 811
  "lexicon": 1
768 812
}

Compare Other Versions

Lexicon Garden

@