@hypercerts-org/lexicon 0.10.0-beta.12 → 0.10.0-beta.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/CHANGELOG.md +136 -0
  2. package/README.md +142 -0
  3. package/SCHEMAS.md +220 -67
  4. package/dist/exports.d.ts +195 -66
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +195 -66
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +378 -130
  9. package/dist/generated/lexicons.d.ts.map +1 -1
  10. package/dist/generated/types/app/certified/actor/profile.d.ts +27 -0
  11. package/dist/generated/types/app/certified/actor/profile.d.ts.map +1 -0
  12. package/dist/generated/types/app/certified/defs.d.ts +11 -1
  13. package/dist/generated/types/app/certified/defs.d.ts.map +1 -1
  14. package/dist/generated/types/app/certified/location.d.ts +9 -1
  15. package/dist/generated/types/app/certified/location.d.ts.map +1 -1
  16. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +21 -3
  17. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  18. package/dist/generated/types/org/hypercerts/claim/attachment.d.ts +37 -0
  19. package/dist/generated/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
  20. package/dist/index.cjs +618 -270
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.mjs +606 -262
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/lexicons.cjs +200 -68
  25. package/dist/lexicons.cjs.map +1 -1
  26. package/dist/lexicons.d.ts +378 -130
  27. package/dist/lexicons.d.ts.map +1 -1
  28. package/dist/lexicons.mjs +200 -68
  29. package/dist/lexicons.mjs.map +1 -1
  30. package/dist/types/app/certified/actor/profile.d.ts +27 -0
  31. package/dist/types/app/certified/actor/profile.d.ts.map +1 -0
  32. package/dist/types/app/certified/defs.d.ts +11 -1
  33. package/dist/types/app/certified/defs.d.ts.map +1 -1
  34. package/dist/types/app/certified/location.d.ts +9 -1
  35. package/dist/types/app/certified/location.d.ts.map +1 -1
  36. package/dist/types/org/hypercerts/claim/activity.d.ts +21 -3
  37. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  38. package/dist/types/org/hypercerts/claim/attachment.d.ts +37 -0
  39. package/dist/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
  40. package/lexicons/app/certified/actor/profile.json +51 -0
  41. package/lexicons/app/certified/defs.json +11 -3
  42. package/lexicons/app/certified/location.json +16 -2
  43. package/lexicons/org/hypercerts/claim/activity.json +31 -8
  44. package/lexicons/org/hypercerts/claim/attachment.json +86 -0
  45. package/package.json +1 -1
  46. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts +0 -29
  47. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  48. package/dist/types/org/hypercerts/claim/evidence.d.ts +0 -29
  49. package/dist/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  50. package/lexicons/org/hypercerts/claim/evidence.json +0 -57
@@ -3,6 +3,57 @@
3
3
  */
4
4
  import { Lexicons, type ValidationResult } from '@atproto/lexicon';
5
5
  export declare const schemaDict: {
6
+ readonly AppCertifiedActorProfile: {
7
+ readonly lexicon: 1;
8
+ readonly id: "app.certified.actor.profile";
9
+ readonly defs: {
10
+ readonly main: {
11
+ readonly type: "record";
12
+ readonly description: "A declaration of a Hypercert account profile.";
13
+ readonly key: "literal:self";
14
+ readonly record: {
15
+ readonly type: "object";
16
+ readonly properties: {
17
+ readonly displayName: {
18
+ readonly type: "string";
19
+ readonly maxGraphemes: 64;
20
+ readonly maxLength: 640;
21
+ };
22
+ readonly description: {
23
+ readonly type: "string";
24
+ readonly description: "Free-form profile description text.";
25
+ readonly maxGraphemes: 256;
26
+ readonly maxLength: 2560;
27
+ };
28
+ readonly pronouns: {
29
+ readonly type: "string";
30
+ readonly description: "Free-form pronouns text.";
31
+ readonly maxGraphemes: 20;
32
+ readonly maxLength: 200;
33
+ };
34
+ readonly website: {
35
+ readonly type: "string";
36
+ readonly format: "uri";
37
+ };
38
+ readonly avatar: {
39
+ readonly type: "union";
40
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
41
+ readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'";
42
+ };
43
+ readonly banner: {
44
+ readonly type: "union";
45
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
46
+ readonly description: "Larger horizontal image to display behind profile view.";
47
+ };
48
+ readonly createdAt: {
49
+ readonly type: "string";
50
+ readonly format: "datetime";
51
+ };
52
+ };
53
+ };
54
+ };
55
+ };
56
+ };
6
57
  readonly AppCertifiedBadgeAward: {
7
58
  readonly lexicon: 1;
8
59
  readonly id: "app.certified.badge.award";
@@ -129,9 +180,17 @@ export declare const schemaDict: {
129
180
  readonly description: "Common type definitions used across certified protocols.";
130
181
  readonly defs: {
131
182
  readonly did: {
132
- readonly type: "string";
133
- readonly format: "did";
183
+ readonly type: "object";
134
184
  readonly description: "A Decentralized Identifier (DID) string.";
185
+ readonly required: ["did"];
186
+ readonly properties: {
187
+ readonly did: {
188
+ readonly type: "string";
189
+ readonly format: "did";
190
+ readonly description: "The DID string value.";
191
+ readonly maxLength: 256;
192
+ };
193
+ };
135
194
  };
136
195
  };
137
196
  };
@@ -166,8 +225,8 @@ export declare const schemaDict: {
166
225
  };
167
226
  readonly location: {
168
227
  readonly type: "union";
169
- readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
170
- readonly description: "The location of where the work was performed as a URI or blob.";
228
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob", "lex:app.certified.location#string"];
229
+ readonly description: "The location of where the work was performed as a URI, blob, or inline string.";
171
230
  };
172
231
  readonly name: {
173
232
  readonly type: "string";
@@ -189,6 +248,19 @@ export declare const schemaDict: {
189
248
  };
190
249
  };
191
250
  };
251
+ readonly string: {
252
+ readonly type: "object";
253
+ readonly required: ["string"];
254
+ readonly description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.";
255
+ readonly properties: {
256
+ readonly string: {
257
+ readonly type: "string";
258
+ readonly description: "The location string value";
259
+ readonly maxLength: 10000;
260
+ readonly maxGraphemes: 1000;
261
+ };
262
+ };
263
+ };
192
264
  };
193
265
  };
194
266
  readonly ComAtprotoRepoStrongRef: {
@@ -327,20 +399,126 @@ export declare const schemaDict: {
327
399
  };
328
400
  };
329
401
  readonly contributorIdentity: {
330
- readonly type: "string";
402
+ readonly type: "object";
331
403
  readonly description: "Contributor information as a string (DID or identifier).";
404
+ readonly required: ["identity"];
405
+ readonly properties: {
406
+ readonly identity: {
407
+ readonly type: "string";
408
+ readonly description: "The contributor identity string (DID or identifier).";
409
+ readonly maxLength: 1000;
410
+ readonly maxGraphemes: 100;
411
+ };
412
+ };
332
413
  };
333
414
  readonly contributorRole: {
334
- readonly type: "string";
415
+ readonly type: "object";
335
416
  readonly description: "Contribution details as a string.";
336
- readonly maxLength: 10000;
337
- readonly maxGraphemes: 1000;
417
+ readonly required: ["role"];
418
+ readonly properties: {
419
+ readonly role: {
420
+ readonly type: "string";
421
+ readonly description: "The contribution role or details.";
422
+ readonly maxLength: 1000;
423
+ readonly maxGraphemes: 100;
424
+ };
425
+ };
338
426
  };
339
427
  readonly workScopeString: {
340
- readonly type: "string";
428
+ readonly type: "object";
341
429
  readonly description: "A free-form string describing the work scope for simple or legacy scopes.";
342
- readonly maxLength: 10000;
343
- readonly maxGraphemes: 1000;
430
+ readonly required: ["scope"];
431
+ readonly properties: {
432
+ readonly scope: {
433
+ readonly type: "string";
434
+ readonly description: "The work scope description string.";
435
+ readonly maxLength: 1000;
436
+ readonly maxGraphemes: 100;
437
+ };
438
+ };
439
+ };
440
+ };
441
+ };
442
+ readonly OrgHypercertsClaimAttachment: {
443
+ readonly lexicon: 1;
444
+ readonly id: "org.hypercerts.claim.attachment";
445
+ readonly defs: {
446
+ readonly main: {
447
+ readonly type: "record";
448
+ readonly description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).";
449
+ readonly key: "tid";
450
+ readonly record: {
451
+ readonly type: "object";
452
+ readonly required: ["title", "content", "createdAt"];
453
+ readonly properties: {
454
+ readonly subjects: {
455
+ readonly type: "array";
456
+ readonly description: "References to the subject(s) the attachment is connected to—this may be an activity claim, outcome claim, measurement, evaluation, or even another attachment. This is optional as the attachment can exist before the claim is recorded.";
457
+ readonly items: {
458
+ readonly type: "ref";
459
+ readonly ref: "lex:com.atproto.repo.strongRef";
460
+ };
461
+ readonly maxLength: 100;
462
+ };
463
+ readonly contentType: {
464
+ readonly type: "string";
465
+ readonly maxLength: 64;
466
+ readonly description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.";
467
+ };
468
+ readonly content: {
469
+ readonly type: "array";
470
+ readonly description: "The files, documents, or external references included in this attachment record.";
471
+ readonly items: {
472
+ readonly type: "union";
473
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
474
+ };
475
+ readonly maxLength: 100;
476
+ };
477
+ readonly title: {
478
+ readonly type: "string";
479
+ readonly maxLength: 256;
480
+ readonly description: "Title of this attachment.";
481
+ };
482
+ readonly shortDescription: {
483
+ readonly type: "string";
484
+ readonly description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.";
485
+ readonly maxLength: 3000;
486
+ readonly maxGraphemes: 300;
487
+ };
488
+ readonly shortDescriptionFacets: {
489
+ readonly type: "array";
490
+ readonly description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).";
491
+ readonly items: {
492
+ readonly type: "ref";
493
+ readonly ref: "lex:app.bsky.richtext.facet";
494
+ };
495
+ };
496
+ readonly description: {
497
+ readonly type: "string";
498
+ readonly description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.";
499
+ readonly maxLength: 30000;
500
+ readonly maxGraphemes: 3000;
501
+ };
502
+ readonly descriptionFacets: {
503
+ readonly type: "array";
504
+ readonly description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).";
505
+ readonly items: {
506
+ readonly type: "ref";
507
+ readonly ref: "lex:app.bsky.richtext.facet";
508
+ };
509
+ };
510
+ readonly location: {
511
+ readonly type: "ref";
512
+ readonly ref: "lex:com.atproto.repo.strongRef";
513
+ readonly description: "A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location.";
514
+ };
515
+ readonly createdAt: {
516
+ readonly type: "string";
517
+ readonly format: "datetime";
518
+ readonly description: "Client-declared timestamp when this record was originally created.";
519
+ };
520
+ };
521
+ };
344
522
  };
345
523
  };
346
524
  };
@@ -593,60 +771,6 @@ export declare const schemaDict: {
593
771
  };
594
772
  };
595
773
  };
596
- readonly OrgHypercertsClaimEvidence: {
597
- readonly lexicon: 1;
598
- readonly id: "org.hypercerts.claim.evidence";
599
- readonly defs: {
600
- readonly main: {
601
- readonly type: "record";
602
- readonly description: "A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.";
603
- readonly key: "tid";
604
- readonly record: {
605
- readonly type: "object";
606
- readonly required: ["content", "title", "createdAt"];
607
- readonly properties: {
608
- readonly subject: {
609
- readonly type: "ref";
610
- readonly ref: "lex:com.atproto.repo.strongRef";
611
- readonly description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).";
612
- };
613
- readonly content: {
614
- readonly type: "union";
615
- readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
616
- readonly description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.";
617
- };
618
- readonly title: {
619
- readonly type: "string";
620
- readonly maxLength: 256;
621
- readonly description: "Title to describe the nature of the evidence.";
622
- };
623
- readonly shortDescription: {
624
- readonly type: "string";
625
- readonly maxLength: 3000;
626
- readonly maxGraphemes: 300;
627
- readonly description: "Short description explaining what this evidence shows.";
628
- };
629
- readonly description: {
630
- readonly type: "string";
631
- readonly description: "Longer description describing the evidence in more detail.";
632
- readonly maxLength: 30000;
633
- readonly maxGraphemes: 3000;
634
- };
635
- readonly relationType: {
636
- readonly type: "string";
637
- readonly description: "How this evidence relates to the subject.";
638
- readonly knownValues: ["supports", "challenges", "clarifies"];
639
- };
640
- readonly createdAt: {
641
- readonly type: "string";
642
- readonly format: "datetime";
643
- readonly description: "Client-declared timestamp when this record was originally created";
644
- };
645
- };
646
- };
647
- };
648
- };
649
- };
650
774
  readonly OrgHypercertsClaimMeasurement: {
651
775
  readonly lexicon: 1;
652
776
  readonly id: "org.hypercerts.claim.measurement";
@@ -992,6 +1116,56 @@ export declare const schemaDict: {
992
1116
  };
993
1117
  };
994
1118
  export declare const schemas: ({
1119
+ readonly lexicon: 1;
1120
+ readonly id: "app.certified.actor.profile";
1121
+ readonly defs: {
1122
+ readonly main: {
1123
+ readonly type: "record";
1124
+ readonly description: "A declaration of a Hypercert account profile.";
1125
+ readonly key: "literal:self";
1126
+ readonly record: {
1127
+ readonly type: "object";
1128
+ readonly properties: {
1129
+ readonly displayName: {
1130
+ readonly type: "string";
1131
+ readonly maxGraphemes: 64;
1132
+ readonly maxLength: 640;
1133
+ };
1134
+ readonly description: {
1135
+ readonly type: "string";
1136
+ readonly description: "Free-form profile description text.";
1137
+ readonly maxGraphemes: 256;
1138
+ readonly maxLength: 2560;
1139
+ };
1140
+ readonly pronouns: {
1141
+ readonly type: "string";
1142
+ readonly description: "Free-form pronouns text.";
1143
+ readonly maxGraphemes: 20;
1144
+ readonly maxLength: 200;
1145
+ };
1146
+ readonly website: {
1147
+ readonly type: "string";
1148
+ readonly format: "uri";
1149
+ };
1150
+ readonly avatar: {
1151
+ readonly type: "union";
1152
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
1153
+ readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'";
1154
+ };
1155
+ readonly banner: {
1156
+ readonly type: "union";
1157
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
1158
+ readonly description: "Larger horizontal image to display behind profile view.";
1159
+ };
1160
+ readonly createdAt: {
1161
+ readonly type: "string";
1162
+ readonly format: "datetime";
1163
+ };
1164
+ };
1165
+ };
1166
+ };
1167
+ };
1168
+ } | {
995
1169
  readonly lexicon: 1;
996
1170
  readonly id: "app.certified.badge.award";
997
1171
  readonly defs: {
@@ -1114,9 +1288,17 @@ export declare const schemas: ({
1114
1288
  readonly description: "Common type definitions used across certified protocols.";
1115
1289
  readonly defs: {
1116
1290
  readonly did: {
1117
- readonly type: "string";
1118
- readonly format: "did";
1291
+ readonly type: "object";
1119
1292
  readonly description: "A Decentralized Identifier (DID) string.";
1293
+ readonly required: ["did"];
1294
+ readonly properties: {
1295
+ readonly did: {
1296
+ readonly type: "string";
1297
+ readonly format: "did";
1298
+ readonly description: "The DID string value.";
1299
+ readonly maxLength: 256;
1300
+ };
1301
+ };
1120
1302
  };
1121
1303
  };
1122
1304
  } | {
@@ -1150,8 +1332,8 @@ export declare const schemas: ({
1150
1332
  };
1151
1333
  readonly location: {
1152
1334
  readonly type: "union";
1153
- readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
1154
- readonly description: "The location of where the work was performed as a URI or blob.";
1335
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob", "lex:app.certified.location#string"];
1336
+ readonly description: "The location of where the work was performed as a URI, blob, or inline string.";
1155
1337
  };
1156
1338
  readonly name: {
1157
1339
  readonly type: "string";
@@ -1173,6 +1355,19 @@ export declare const schemas: ({
1173
1355
  };
1174
1356
  };
1175
1357
  };
1358
+ readonly string: {
1359
+ readonly type: "object";
1360
+ readonly required: ["string"];
1361
+ readonly description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.";
1362
+ readonly properties: {
1363
+ readonly string: {
1364
+ readonly type: "string";
1365
+ readonly description: "The location string value";
1366
+ readonly maxLength: 10000;
1367
+ readonly maxGraphemes: 1000;
1368
+ };
1369
+ };
1370
+ };
1176
1371
  };
1177
1372
  } | {
1178
1373
  readonly lexicon: 1;
@@ -1309,20 +1504,125 @@ export declare const schemas: ({
1309
1504
  };
1310
1505
  };
1311
1506
  readonly contributorIdentity: {
1312
- readonly type: "string";
1507
+ readonly type: "object";
1313
1508
  readonly description: "Contributor information as a string (DID or identifier).";
1509
+ readonly required: ["identity"];
1510
+ readonly properties: {
1511
+ readonly identity: {
1512
+ readonly type: "string";
1513
+ readonly description: "The contributor identity string (DID or identifier).";
1514
+ readonly maxLength: 1000;
1515
+ readonly maxGraphemes: 100;
1516
+ };
1517
+ };
1314
1518
  };
1315
1519
  readonly contributorRole: {
1316
- readonly type: "string";
1520
+ readonly type: "object";
1317
1521
  readonly description: "Contribution details as a string.";
1318
- readonly maxLength: 10000;
1319
- readonly maxGraphemes: 1000;
1522
+ readonly required: ["role"];
1523
+ readonly properties: {
1524
+ readonly role: {
1525
+ readonly type: "string";
1526
+ readonly description: "The contribution role or details.";
1527
+ readonly maxLength: 1000;
1528
+ readonly maxGraphemes: 100;
1529
+ };
1530
+ };
1320
1531
  };
1321
1532
  readonly workScopeString: {
1322
- readonly type: "string";
1533
+ readonly type: "object";
1323
1534
  readonly description: "A free-form string describing the work scope for simple or legacy scopes.";
1324
- readonly maxLength: 10000;
1325
- readonly maxGraphemes: 1000;
1535
+ readonly required: ["scope"];
1536
+ readonly properties: {
1537
+ readonly scope: {
1538
+ readonly type: "string";
1539
+ readonly description: "The work scope description string.";
1540
+ readonly maxLength: 1000;
1541
+ readonly maxGraphemes: 100;
1542
+ };
1543
+ };
1544
+ };
1545
+ };
1546
+ } | {
1547
+ readonly lexicon: 1;
1548
+ readonly id: "org.hypercerts.claim.attachment";
1549
+ readonly defs: {
1550
+ readonly main: {
1551
+ readonly type: "record";
1552
+ readonly description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).";
1553
+ readonly key: "tid";
1554
+ readonly record: {
1555
+ readonly type: "object";
1556
+ readonly required: ["title", "content", "createdAt"];
1557
+ readonly properties: {
1558
+ readonly subjects: {
1559
+ readonly type: "array";
1560
+ readonly description: "References to the subject(s) the attachment is connected to—this may be an activity claim, outcome claim, measurement, evaluation, or even another attachment. This is optional as the attachment can exist before the claim is recorded.";
1561
+ readonly items: {
1562
+ readonly type: "ref";
1563
+ readonly ref: "lex:com.atproto.repo.strongRef";
1564
+ };
1565
+ readonly maxLength: 100;
1566
+ };
1567
+ readonly contentType: {
1568
+ readonly type: "string";
1569
+ readonly maxLength: 64;
1570
+ readonly description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.";
1571
+ };
1572
+ readonly content: {
1573
+ readonly type: "array";
1574
+ readonly description: "The files, documents, or external references included in this attachment record.";
1575
+ readonly items: {
1576
+ readonly type: "union";
1577
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
1578
+ };
1579
+ readonly maxLength: 100;
1580
+ };
1581
+ readonly title: {
1582
+ readonly type: "string";
1583
+ readonly maxLength: 256;
1584
+ readonly description: "Title of this attachment.";
1585
+ };
1586
+ readonly shortDescription: {
1587
+ readonly type: "string";
1588
+ readonly description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.";
1589
+ readonly maxLength: 3000;
1590
+ readonly maxGraphemes: 300;
1591
+ };
1592
+ readonly shortDescriptionFacets: {
1593
+ readonly type: "array";
1594
+ readonly description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).";
1595
+ readonly items: {
1596
+ readonly type: "ref";
1597
+ readonly ref: "lex:app.bsky.richtext.facet";
1598
+ };
1599
+ };
1600
+ readonly description: {
1601
+ readonly type: "string";
1602
+ readonly description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.";
1603
+ readonly maxLength: 30000;
1604
+ readonly maxGraphemes: 3000;
1605
+ };
1606
+ readonly descriptionFacets: {
1607
+ readonly type: "array";
1608
+ readonly description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).";
1609
+ readonly items: {
1610
+ readonly type: "ref";
1611
+ readonly ref: "lex:app.bsky.richtext.facet";
1612
+ };
1613
+ };
1614
+ readonly location: {
1615
+ readonly type: "ref";
1616
+ readonly ref: "lex:com.atproto.repo.strongRef";
1617
+ readonly description: "A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location.";
1618
+ };
1619
+ readonly createdAt: {
1620
+ readonly type: "string";
1621
+ readonly format: "datetime";
1622
+ readonly description: "Client-declared timestamp when this record was originally created.";
1623
+ };
1624
+ };
1625
+ };
1326
1626
  };
1327
1627
  };
1328
1628
  } | {
@@ -1570,59 +1870,6 @@ export declare const schemas: ({
1570
1870
  };
1571
1871
  };
1572
1872
  };
1573
- } | {
1574
- readonly lexicon: 1;
1575
- readonly id: "org.hypercerts.claim.evidence";
1576
- readonly defs: {
1577
- readonly main: {
1578
- readonly type: "record";
1579
- readonly description: "A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.";
1580
- readonly key: "tid";
1581
- readonly record: {
1582
- readonly type: "object";
1583
- readonly required: ["content", "title", "createdAt"];
1584
- readonly properties: {
1585
- readonly subject: {
1586
- readonly type: "ref";
1587
- readonly ref: "lex:com.atproto.repo.strongRef";
1588
- readonly description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).";
1589
- };
1590
- readonly content: {
1591
- readonly type: "union";
1592
- readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
1593
- readonly description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.";
1594
- };
1595
- readonly title: {
1596
- readonly type: "string";
1597
- readonly maxLength: 256;
1598
- readonly description: "Title to describe the nature of the evidence.";
1599
- };
1600
- readonly shortDescription: {
1601
- readonly type: "string";
1602
- readonly maxLength: 3000;
1603
- readonly maxGraphemes: 300;
1604
- readonly description: "Short description explaining what this evidence shows.";
1605
- };
1606
- readonly description: {
1607
- readonly type: "string";
1608
- readonly description: "Longer description describing the evidence in more detail.";
1609
- readonly maxLength: 30000;
1610
- readonly maxGraphemes: 3000;
1611
- };
1612
- readonly relationType: {
1613
- readonly type: "string";
1614
- readonly description: "How this evidence relates to the subject.";
1615
- readonly knownValues: ["supports", "challenges", "clarifies"];
1616
- };
1617
- readonly createdAt: {
1618
- readonly type: "string";
1619
- readonly format: "datetime";
1620
- readonly description: "Client-declared timestamp when this record was originally created";
1621
- };
1622
- };
1623
- };
1624
- };
1625
- };
1626
1873
  } | {
1627
1874
  readonly lexicon: 1;
1628
1875
  readonly id: "org.hypercerts.claim.measurement";
@@ -1970,6 +2217,7 @@ export declare function validate<T extends {
1970
2217
  $type?: string;
1971
2218
  }>(v: unknown, id: string, hash: string, requiredType?: false): ValidationResult<T>;
1972
2219
  export declare const ids: {
2220
+ readonly AppCertifiedActorProfile: "app.certified.actor.profile";
1973
2221
  readonly AppCertifiedBadgeAward: "app.certified.badge.award";
1974
2222
  readonly AppCertifiedBadgeDefinition: "app.certified.badge.definition";
1975
2223
  readonly AppCertifiedBadgeResponse: "app.certified.badge.response";
@@ -1977,11 +2225,11 @@ export declare const ids: {
1977
2225
  readonly AppCertifiedLocation: "app.certified.location";
1978
2226
  readonly ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef";
1979
2227
  readonly OrgHypercertsClaimActivity: "org.hypercerts.claim.activity";
2228
+ readonly OrgHypercertsClaimAttachment: "org.hypercerts.claim.attachment";
1980
2229
  readonly OrgHypercertsClaimCollection: "org.hypercerts.claim.collection";
1981
2230
  readonly OrgHypercertsClaimContributionDetails: "org.hypercerts.claim.contributionDetails";
1982
2231
  readonly OrgHypercertsClaimContributorInformation: "org.hypercerts.claim.contributorInformation";
1983
2232
  readonly OrgHypercertsClaimEvaluation: "org.hypercerts.claim.evaluation";
1984
- readonly OrgHypercertsClaimEvidence: "org.hypercerts.claim.evidence";
1985
2233
  readonly OrgHypercertsClaimMeasurement: "org.hypercerts.claim.measurement";
1986
2234
  readonly OrgHypercertsClaimRights: "org.hypercerts.claim.rights";
1987
2235
  readonly OrgHypercertsDefs: "org.hypercerts.defs";
@@ -1 +1 @@
1
- {"version":3,"file":"lexicons.d.ts","sourceRoot":"","sources":["../../generated/lexicons.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,QAAQ,EAER,KAAK,gBAAgB,EACtB,MAAM,kBAAkB,CAAA;AAGzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAmD,CAAA;AACvE,eAAO,MAAM,QAAQ,EAAE,QAAgC,CAAA;AAEvD,wBAAgB,QAAQ,CAAC,CAAC,SAAS;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,EAClD,CAAC,EAAE,OAAO,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,YAAY,EAAE,IAAI,GACjB,gBAAgB,CAAC,CAAC,CAAC,CAAA;AACtB,wBAAgB,QAAQ,CAAC,CAAC,SAAS;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,EACnD,CAAC,EAAE,OAAO,EACV,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,MAAM,EACZ,YAAY,CAAC,EAAE,KAAK,GACnB,gBAAgB,CAAC,CAAC,CAAC,CAAA;AAiBtB,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;CAqBN,CAAA"}
@@ -0,0 +1,27 @@
1
+ /**
2
+ * GENERATED CODE - DO NOT MODIFY
3
+ */
4
+ import { type ValidationResult } from '@atproto/lexicon';
5
+ import { type $Typed } from '../../../../util';
6
+ import type * as OrgHypercertsDefs from '../../../org/hypercerts/defs.js';
7
+ export interface Main {
8
+ $type: 'app.certified.actor.profile';
9
+ displayName?: string;
10
+ /** Free-form profile description text. */
11
+ description?: string;
12
+ /** Free-form pronouns text. */
13
+ pronouns?: string;
14
+ website?: string;
15
+ avatar?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.SmallImage> | {
16
+ $type: string;
17
+ };
18
+ banner?: $Typed<OrgHypercertsDefs.Uri> | $Typed<OrgHypercertsDefs.LargeImage> | {
19
+ $type: string;
20
+ };
21
+ createdAt?: string;
22
+ [k: string]: unknown;
23
+ }
24
+ export declare function isMain<V>(v: V): v is import("../../../../util").$TypedObject<V, "app.certified.actor.profile", "main">;
25
+ export declare function validateMain<V>(v: V): ValidationResult<Main & V>;
26
+ export { type Main as Record, isMain as isRecord, validateMain as validateRecord, };
27
+ //# sourceMappingURL=profile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profile.d.ts","sourceRoot":"","sources":["../../../../../../generated/types/app/certified/actor/profile.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,kBAAkB,CAAA;AAGjE,OAAO,EACL,KAAK,MAAM,EAGZ,MAAM,kBAAkB,CAAA;AACzB,OAAO,KAAK,KAAK,iBAAiB,MAAM,iCAAiC,CAAA;AAMzE,MAAM,WAAW,IAAI;IACnB,KAAK,EAAE,6BAA6B,CAAA;IACpC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,MAAM,CAAC,EACH,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,GAC7B,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAAC,GACpC;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACrB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;CACrB;AAID,wBAAgB,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,0FAE7B;AAED,wBAAgB,YAAY,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,8BAEnC;AAED,OAAO,EACL,KAAK,IAAI,IAAI,MAAM,EACnB,MAAM,IAAI,QAAQ,EAClB,YAAY,IAAI,cAAc,GAC/B,CAAA"}