@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
package/dist/index.mjs CHANGED
@@ -16,7 +16,7 @@ function is$type($type, id, hash) {
16
16
  $type.startsWith(id) &&
17
17
  $type.endsWith(hash);
18
18
  }
19
- function is$typed$g(v, id, hash) {
19
+ function is$typed$i(v, id, hash) {
20
20
  return isObject(v) && '$type' in v && is$type(v.$type, id, hash);
21
21
  }
22
22
  function maybe$typed(v, id, hash) {
@@ -37,6 +37,63 @@ function asPredicate(validate) {
37
37
  * GENERATED CODE - DO NOT MODIFY
38
38
  */
39
39
  const schemaDict = {
40
+ AppCertifiedActorProfile: {
41
+ lexicon: 1,
42
+ id: 'app.certified.actor.profile',
43
+ defs: {
44
+ main: {
45
+ type: 'record',
46
+ description: 'A declaration of a Hypercert account profile.',
47
+ key: 'literal:self',
48
+ record: {
49
+ type: 'object',
50
+ properties: {
51
+ displayName: {
52
+ type: 'string',
53
+ maxGraphemes: 64,
54
+ maxLength: 640,
55
+ },
56
+ description: {
57
+ type: 'string',
58
+ description: 'Free-form profile description text.',
59
+ maxGraphemes: 256,
60
+ maxLength: 2560,
61
+ },
62
+ pronouns: {
63
+ type: 'string',
64
+ description: 'Free-form pronouns text.',
65
+ maxGraphemes: 20,
66
+ maxLength: 200,
67
+ },
68
+ website: {
69
+ type: 'string',
70
+ format: 'uri',
71
+ },
72
+ avatar: {
73
+ type: 'union',
74
+ refs: [
75
+ 'lex:org.hypercerts.defs#uri',
76
+ 'lex:org.hypercerts.defs#smallImage',
77
+ ],
78
+ description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
79
+ },
80
+ banner: {
81
+ type: 'union',
82
+ refs: [
83
+ 'lex:org.hypercerts.defs#uri',
84
+ 'lex:org.hypercerts.defs#largeImage',
85
+ ],
86
+ description: 'Larger horizontal image to display behind profile view.',
87
+ },
88
+ createdAt: {
89
+ type: 'string',
90
+ format: 'datetime',
91
+ },
92
+ },
93
+ },
94
+ },
95
+ },
96
+ },
40
97
  AppCertifiedBadgeAward: {
41
98
  lexicon: 1,
42
99
  id: 'app.certified.badge.award',
@@ -171,9 +228,17 @@ const schemaDict = {
171
228
  description: 'Common type definitions used across certified protocols.',
172
229
  defs: {
173
230
  did: {
174
- type: 'string',
175
- format: 'did',
231
+ type: 'object',
176
232
  description: 'A Decentralized Identifier (DID) string.',
233
+ required: ['did'],
234
+ properties: {
235
+ did: {
236
+ type: 'string',
237
+ format: 'did',
238
+ description: 'The DID string value.',
239
+ maxLength: 256,
240
+ },
241
+ },
177
242
  },
178
243
  },
179
244
  },
@@ -217,8 +282,9 @@ const schemaDict = {
217
282
  refs: [
218
283
  'lex:org.hypercerts.defs#uri',
219
284
  'lex:org.hypercerts.defs#smallBlob',
285
+ 'lex:app.certified.location#string',
220
286
  ],
221
- description: 'The location of where the work was performed as a URI or blob.',
287
+ description: 'The location of where the work was performed as a URI, blob, or inline string.',
222
288
  },
223
289
  name: {
224
290
  type: 'string',
@@ -240,6 +306,19 @@ const schemaDict = {
240
306
  },
241
307
  },
242
308
  },
309
+ string: {
310
+ type: 'object',
311
+ required: ['string'],
312
+ description: 'A location represented as a string, e.g. coordinates or a small GeoJSON string.',
313
+ properties: {
314
+ string: {
315
+ type: 'string',
316
+ description: 'The location string value',
317
+ maxLength: 10000,
318
+ maxGraphemes: 1000,
319
+ },
320
+ },
321
+ },
243
322
  },
244
323
  },
245
324
  ComAtprotoRepoStrongRef: {
@@ -390,20 +469,129 @@ const schemaDict = {
390
469
  },
391
470
  },
392
471
  contributorIdentity: {
393
- type: 'string',
472
+ type: 'object',
394
473
  description: 'Contributor information as a string (DID or identifier).',
474
+ required: ['identity'],
475
+ properties: {
476
+ identity: {
477
+ type: 'string',
478
+ description: 'The contributor identity string (DID or identifier).',
479
+ maxLength: 1000,
480
+ maxGraphemes: 100,
481
+ },
482
+ },
395
483
  },
396
484
  contributorRole: {
397
- type: 'string',
485
+ type: 'object',
398
486
  description: 'Contribution details as a string.',
399
- maxLength: 10000,
400
- maxGraphemes: 1000,
487
+ required: ['role'],
488
+ properties: {
489
+ role: {
490
+ type: 'string',
491
+ description: 'The contribution role or details.',
492
+ maxLength: 1000,
493
+ maxGraphemes: 100,
494
+ },
495
+ },
401
496
  },
402
497
  workScopeString: {
403
- type: 'string',
498
+ type: 'object',
404
499
  description: 'A free-form string describing the work scope for simple or legacy scopes.',
405
- maxLength: 10000,
406
- maxGraphemes: 1000,
500
+ required: ['scope'],
501
+ properties: {
502
+ scope: {
503
+ type: 'string',
504
+ description: 'The work scope description string.',
505
+ maxLength: 1000,
506
+ maxGraphemes: 100,
507
+ },
508
+ },
509
+ },
510
+ },
511
+ },
512
+ OrgHypercertsClaimAttachment: {
513
+ lexicon: 1,
514
+ id: 'org.hypercerts.claim.attachment',
515
+ defs: {
516
+ main: {
517
+ type: 'record',
518
+ description: 'An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).',
519
+ key: 'tid',
520
+ record: {
521
+ type: 'object',
522
+ required: ['title', 'content', 'createdAt'],
523
+ properties: {
524
+ subjects: {
525
+ type: 'array',
526
+ 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.',
527
+ items: {
528
+ type: 'ref',
529
+ ref: 'lex:com.atproto.repo.strongRef',
530
+ },
531
+ maxLength: 100,
532
+ },
533
+ contentType: {
534
+ type: 'string',
535
+ maxLength: 64,
536
+ description: 'The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.',
537
+ },
538
+ content: {
539
+ type: 'array',
540
+ description: 'The files, documents, or external references included in this attachment record.',
541
+ items: {
542
+ type: 'union',
543
+ refs: [
544
+ 'lex:org.hypercerts.defs#uri',
545
+ 'lex:org.hypercerts.defs#smallBlob',
546
+ ],
547
+ },
548
+ maxLength: 100,
549
+ },
550
+ title: {
551
+ type: 'string',
552
+ maxLength: 256,
553
+ description: 'Title of this attachment.',
554
+ },
555
+ shortDescription: {
556
+ type: 'string',
557
+ description: 'Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',
558
+ maxLength: 3000,
559
+ maxGraphemes: 300,
560
+ },
561
+ shortDescriptionFacets: {
562
+ type: 'array',
563
+ description: 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',
564
+ items: {
565
+ type: 'ref',
566
+ ref: 'lex:app.bsky.richtext.facet',
567
+ },
568
+ },
569
+ description: {
570
+ type: 'string',
571
+ description: 'Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',
572
+ maxLength: 30000,
573
+ maxGraphemes: 3000,
574
+ },
575
+ descriptionFacets: {
576
+ type: 'array',
577
+ description: 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',
578
+ items: {
579
+ type: 'ref',
580
+ ref: 'lex:app.bsky.richtext.facet',
581
+ },
582
+ },
583
+ location: {
584
+ type: 'ref',
585
+ ref: 'lex:com.atproto.repo.strongRef',
586
+ 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.",
587
+ },
588
+ createdAt: {
589
+ type: 'string',
590
+ format: 'datetime',
591
+ description: 'Client-declared timestamp when this record was originally created.',
592
+ },
593
+ },
594
+ },
407
595
  },
408
596
  },
409
597
  },
@@ -668,63 +856,6 @@ const schemaDict = {
668
856
  },
669
857
  },
670
858
  },
671
- OrgHypercertsClaimEvidence: {
672
- lexicon: 1,
673
- id: 'org.hypercerts.claim.evidence',
674
- defs: {
675
- main: {
676
- type: 'record',
677
- 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.',
678
- key: 'tid',
679
- record: {
680
- type: 'object',
681
- required: ['content', 'title', 'createdAt'],
682
- properties: {
683
- subject: {
684
- type: 'ref',
685
- ref: 'lex:com.atproto.repo.strongRef',
686
- description: 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',
687
- },
688
- content: {
689
- type: 'union',
690
- refs: [
691
- 'lex:org.hypercerts.defs#uri',
692
- 'lex:org.hypercerts.defs#smallBlob',
693
- ],
694
- description: 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',
695
- },
696
- title: {
697
- type: 'string',
698
- maxLength: 256,
699
- description: 'Title to describe the nature of the evidence.',
700
- },
701
- shortDescription: {
702
- type: 'string',
703
- maxLength: 3000,
704
- maxGraphemes: 300,
705
- description: 'Short description explaining what this evidence shows.',
706
- },
707
- description: {
708
- type: 'string',
709
- description: 'Longer description describing the evidence in more detail.',
710
- maxLength: 30000,
711
- maxGraphemes: 3000,
712
- },
713
- relationType: {
714
- type: 'string',
715
- description: 'How this evidence relates to the subject.',
716
- knownValues: ['supports', 'challenges', 'clarifies'],
717
- },
718
- createdAt: {
719
- type: 'string',
720
- format: 'datetime',
721
- description: 'Client-declared timestamp when this record was originally created',
722
- },
723
- },
724
- },
725
- },
726
- },
727
- },
728
859
  OrgHypercertsClaimMeasurement: {
729
860
  lexicon: 1,
730
861
  id: 'org.hypercerts.claim.measurement',
@@ -1082,8 +1213,8 @@ const schemaDict = {
1082
1213
  };
1083
1214
  const schemas = Object.values(schemaDict);
1084
1215
  const lexicons = new Lexicons(schemas);
1085
- function validate$g(v, id, hash, requiredType) {
1086
- return (requiredType ? is$typed$g : maybe$typed)(v, id, hash)
1216
+ function validate$i(v, id, hash, requiredType) {
1217
+ return (requiredType ? is$typed$i : maybe$typed)(v, id, hash)
1087
1218
  ? lexicons.validate(`${id}#${hash}`, v)
1088
1219
  : {
1089
1220
  success: false,
@@ -1091,6 +1222,7 @@ function validate$g(v, id, hash, requiredType) {
1091
1222
  };
1092
1223
  }
1093
1224
  const ids = {
1225
+ AppCertifiedActorProfile: 'app.certified.actor.profile',
1094
1226
  AppCertifiedBadgeAward: 'app.certified.badge.award',
1095
1227
  AppCertifiedBadgeDefinition: 'app.certified.badge.definition',
1096
1228
  AppCertifiedBadgeResponse: 'app.certified.badge.response',
@@ -1098,11 +1230,11 @@ const ids = {
1098
1230
  AppCertifiedLocation: 'app.certified.location',
1099
1231
  ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
1100
1232
  OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
1233
+ OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
1101
1234
  OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
1102
1235
  OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
1103
1236
  OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
1104
1237
  OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
1105
- OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
1106
1238
  OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
1107
1239
  OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
1108
1240
  OrgHypercertsDefs: 'org.hypercerts.defs',
@@ -1110,8 +1242,69 @@ const ids = {
1110
1242
  OrgHypercertsHelperWorkScopeTag: 'org.hypercerts.helper.workScopeTag',
1111
1243
  };
1112
1244
 
1245
+ var lexicon$h = 1;
1246
+ var id$z = "app.certified.actor.profile";
1247
+ var defs$j = {
1248
+ main: {
1249
+ type: "record",
1250
+ description: "A declaration of a Hypercert account profile.",
1251
+ key: "literal:self",
1252
+ record: {
1253
+ type: "object",
1254
+ properties: {
1255
+ displayName: {
1256
+ type: "string",
1257
+ maxGraphemes: 64,
1258
+ maxLength: 640
1259
+ },
1260
+ description: {
1261
+ type: "string",
1262
+ description: "Free-form profile description text.",
1263
+ maxGraphemes: 256,
1264
+ maxLength: 2560
1265
+ },
1266
+ pronouns: {
1267
+ type: "string",
1268
+ description: "Free-form pronouns text.",
1269
+ maxGraphemes: 20,
1270
+ maxLength: 200
1271
+ },
1272
+ website: {
1273
+ type: "string",
1274
+ format: "uri"
1275
+ },
1276
+ avatar: {
1277
+ type: "union",
1278
+ refs: [
1279
+ "org.hypercerts.defs#uri",
1280
+ "org.hypercerts.defs#smallImage"
1281
+ ],
1282
+ description: "Small image to be displayed next to posts from account. AKA, 'profile picture'"
1283
+ },
1284
+ banner: {
1285
+ type: "union",
1286
+ refs: [
1287
+ "org.hypercerts.defs#uri",
1288
+ "org.hypercerts.defs#largeImage"
1289
+ ],
1290
+ description: "Larger horizontal image to display behind profile view."
1291
+ },
1292
+ createdAt: {
1293
+ type: "string",
1294
+ format: "datetime"
1295
+ }
1296
+ }
1297
+ }
1298
+ }
1299
+ };
1300
+ var ACTOR_PROFILE_LEXICON_JSON = {
1301
+ lexicon: lexicon$h,
1302
+ id: id$z,
1303
+ defs: defs$j
1304
+ };
1305
+
1113
1306
  var lexicon$g = 1;
1114
- var id$w = "app.certified.badge.award";
1307
+ var id$y = "app.certified.badge.award";
1115
1308
  var defs$i = {
1116
1309
  main: {
1117
1310
  type: "record",
@@ -1153,12 +1346,12 @@ var defs$i = {
1153
1346
  };
1154
1347
  var BADGE_AWARD_LEXICON_JSON = {
1155
1348
  lexicon: lexicon$g,
1156
- id: id$w,
1349
+ id: id$y,
1157
1350
  defs: defs$i
1158
1351
  };
1159
1352
 
1160
1353
  var lexicon$f = 1;
1161
- var id$v = "app.certified.badge.definition";
1354
+ var id$x = "app.certified.badge.definition";
1162
1355
  var defs$h = {
1163
1356
  main: {
1164
1357
  type: "record",
@@ -1215,12 +1408,12 @@ var defs$h = {
1215
1408
  };
1216
1409
  var BADGE_DEFINITION_LEXICON_JSON = {
1217
1410
  lexicon: lexicon$f,
1218
- id: id$v,
1411
+ id: id$x,
1219
1412
  defs: defs$h
1220
1413
  };
1221
1414
 
1222
1415
  var lexicon$e = 1;
1223
- var id$u = "app.certified.badge.response";
1416
+ var id$w = "app.certified.badge.response";
1224
1417
  var defs$g = {
1225
1418
  main: {
1226
1419
  type: "record",
@@ -1262,29 +1455,39 @@ var defs$g = {
1262
1455
  };
1263
1456
  var BADGE_RESPONSE_LEXICON_JSON = {
1264
1457
  lexicon: lexicon$e,
1265
- id: id$u,
1458
+ id: id$w,
1266
1459
  defs: defs$g
1267
1460
  };
1268
1461
 
1269
1462
  var lexicon$d = 1;
1270
- var id$t = "app.certified.defs";
1463
+ var id$v = "app.certified.defs";
1271
1464
  var description$1 = "Common type definitions used across certified protocols.";
1272
1465
  var defs$f = {
1273
1466
  did: {
1274
- type: "string",
1275
- format: "did",
1276
- description: "A Decentralized Identifier (DID) string."
1467
+ type: "object",
1468
+ description: "A Decentralized Identifier (DID) string.",
1469
+ required: [
1470
+ "did"
1471
+ ],
1472
+ properties: {
1473
+ did: {
1474
+ type: "string",
1475
+ format: "did",
1476
+ description: "The DID string value.",
1477
+ maxLength: 256
1478
+ }
1479
+ }
1277
1480
  }
1278
1481
  };
1279
1482
  var CERTIFIED_DEFS_LEXICON_JSON = {
1280
1483
  lexicon: lexicon$d,
1281
- id: id$t,
1484
+ id: id$v,
1282
1485
  description: description$1,
1283
1486
  defs: defs$f
1284
1487
  };
1285
1488
 
1286
1489
  var lexicon$c = 1;
1287
- var id$s = "app.certified.location";
1490
+ var id$u = "app.certified.location";
1288
1491
  var defs$e = {
1289
1492
  main: {
1290
1493
  type: "record",
@@ -1324,9 +1527,10 @@ var defs$e = {
1324
1527
  type: "union",
1325
1528
  refs: [
1326
1529
  "org.hypercerts.defs#uri",
1327
- "org.hypercerts.defs#smallBlob"
1530
+ "org.hypercerts.defs#smallBlob",
1531
+ "#string"
1328
1532
  ],
1329
- description: "The location of where the work was performed as a URI or blob."
1533
+ description: "The location of where the work was performed as a URI, blob, or inline string."
1330
1534
  },
1331
1535
  name: {
1332
1536
  type: "string",
@@ -1347,16 +1551,31 @@ var defs$e = {
1347
1551
  }
1348
1552
  }
1349
1553
  }
1554
+ },
1555
+ string: {
1556
+ type: "object",
1557
+ required: [
1558
+ "string"
1559
+ ],
1560
+ description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.",
1561
+ properties: {
1562
+ string: {
1563
+ type: "string",
1564
+ description: "The location string value",
1565
+ maxLength: 10000,
1566
+ maxGraphemes: 1000
1567
+ }
1568
+ }
1350
1569
  }
1351
1570
  };
1352
1571
  var LOCATION_LEXICON_JSON = {
1353
1572
  lexicon: lexicon$c,
1354
- id: id$s,
1573
+ id: id$u,
1355
1574
  defs: defs$e
1356
1575
  };
1357
1576
 
1358
1577
  var lexicon$b = 1;
1359
- var id$r = "com.atproto.repo.strongRef";
1578
+ var id$t = "com.atproto.repo.strongRef";
1360
1579
  var description = "A URI with a content-hash fingerprint.";
1361
1580
  var defs$d = {
1362
1581
  main: {
@@ -1379,13 +1598,13 @@ var defs$d = {
1379
1598
  };
1380
1599
  var STRONG_REF_LEXICON_JSON = {
1381
1600
  lexicon: lexicon$b,
1382
- id: id$r,
1601
+ id: id$t,
1383
1602
  description: description,
1384
1603
  defs: defs$d
1385
1604
  };
1386
1605
 
1387
1606
  var lexicon$a = 1;
1388
- var id$q = "org.hypercerts.claim.activity";
1607
+ var id$s = "org.hypercerts.claim.activity";
1389
1608
  var defs$c = {
1390
1609
  main: {
1391
1610
  type: "record",
@@ -1516,31 +1735,154 @@ var defs$c = {
1516
1735
  }
1517
1736
  },
1518
1737
  contributorIdentity: {
1519
- type: "string",
1520
- description: "Contributor information as a string (DID or identifier)."
1738
+ type: "object",
1739
+ description: "Contributor information as a string (DID or identifier).",
1740
+ required: [
1741
+ "identity"
1742
+ ],
1743
+ properties: {
1744
+ identity: {
1745
+ type: "string",
1746
+ description: "The contributor identity string (DID or identifier).",
1747
+ maxLength: 1000,
1748
+ maxGraphemes: 100
1749
+ }
1750
+ }
1521
1751
  },
1522
1752
  contributorRole: {
1523
- type: "string",
1753
+ type: "object",
1524
1754
  description: "Contribution details as a string.",
1525
- maxLength: 10000,
1526
- maxGraphemes: 1000
1755
+ required: [
1756
+ "role"
1757
+ ],
1758
+ properties: {
1759
+ role: {
1760
+ type: "string",
1761
+ description: "The contribution role or details.",
1762
+ maxLength: 1000,
1763
+ maxGraphemes: 100
1764
+ }
1765
+ }
1527
1766
  },
1528
1767
  workScopeString: {
1529
- type: "string",
1768
+ type: "object",
1530
1769
  description: "A free-form string describing the work scope for simple or legacy scopes.",
1531
- maxLength: 10000,
1532
- maxGraphemes: 1000
1770
+ required: [
1771
+ "scope"
1772
+ ],
1773
+ properties: {
1774
+ scope: {
1775
+ type: "string",
1776
+ description: "The work scope description string.",
1777
+ maxLength: 1000,
1778
+ maxGraphemes: 100
1779
+ }
1780
+ }
1533
1781
  }
1534
1782
  };
1535
1783
  var ACTIVITY_LEXICON_JSON = {
1536
1784
  lexicon: lexicon$a,
1537
- id: id$q,
1785
+ id: id$s,
1538
1786
  defs: defs$c
1539
1787
  };
1540
1788
 
1541
1789
  var lexicon$9 = 1;
1542
- var id$p = "org.hypercerts.claim.collection";
1790
+ var id$r = "org.hypercerts.claim.attachment";
1543
1791
  var defs$b = {
1792
+ main: {
1793
+ type: "record",
1794
+ description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).",
1795
+ key: "tid",
1796
+ record: {
1797
+ type: "object",
1798
+ required: [
1799
+ "title",
1800
+ "content",
1801
+ "createdAt"
1802
+ ],
1803
+ properties: {
1804
+ subjects: {
1805
+ type: "array",
1806
+ 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.",
1807
+ items: {
1808
+ type: "ref",
1809
+ ref: "com.atproto.repo.strongRef"
1810
+ },
1811
+ maxLength: 100
1812
+ },
1813
+ contentType: {
1814
+ type: "string",
1815
+ maxLength: 64,
1816
+ description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc."
1817
+ },
1818
+ content: {
1819
+ type: "array",
1820
+ description: "The files, documents, or external references included in this attachment record.",
1821
+ items: {
1822
+ type: "union",
1823
+ refs: [
1824
+ "org.hypercerts.defs#uri",
1825
+ "org.hypercerts.defs#smallBlob"
1826
+ ]
1827
+ },
1828
+ maxLength: 100
1829
+ },
1830
+ title: {
1831
+ type: "string",
1832
+ maxLength: 256,
1833
+ description: "Title of this attachment."
1834
+ },
1835
+ shortDescription: {
1836
+ type: "string",
1837
+ description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
1838
+ maxLength: 3000,
1839
+ maxGraphemes: 300
1840
+ },
1841
+ shortDescriptionFacets: {
1842
+ type: "array",
1843
+ description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
1844
+ items: {
1845
+ type: "ref",
1846
+ ref: "app.bsky.richtext.facet"
1847
+ }
1848
+ },
1849
+ description: {
1850
+ type: "string",
1851
+ description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.",
1852
+ maxLength: 30000,
1853
+ maxGraphemes: 3000
1854
+ },
1855
+ descriptionFacets: {
1856
+ type: "array",
1857
+ description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).",
1858
+ items: {
1859
+ type: "ref",
1860
+ ref: "app.bsky.richtext.facet"
1861
+ }
1862
+ },
1863
+ location: {
1864
+ type: "ref",
1865
+ ref: "com.atproto.repo.strongRef",
1866
+ 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."
1867
+ },
1868
+ createdAt: {
1869
+ type: "string",
1870
+ format: "datetime",
1871
+ description: "Client-declared timestamp when this record was originally created."
1872
+ }
1873
+ }
1874
+ }
1875
+ }
1876
+ };
1877
+ var ATTACHMENT_LEXICON_JSON = {
1878
+ lexicon: lexicon$9,
1879
+ id: id$r,
1880
+ defs: defs$b
1881
+ };
1882
+
1883
+ var lexicon$8 = 1;
1884
+ var id$q = "org.hypercerts.claim.collection";
1885
+ var defs$a = {
1544
1886
  main: {
1545
1887
  type: "record",
1546
1888
  description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
@@ -1630,14 +1972,14 @@ var defs$b = {
1630
1972
  }
1631
1973
  };
1632
1974
  var COLLECTION_LEXICON_JSON = {
1633
- lexicon: lexicon$9,
1634
- id: id$p,
1635
- defs: defs$b
1975
+ lexicon: lexicon$8,
1976
+ id: id$q,
1977
+ defs: defs$a
1636
1978
  };
1637
1979
 
1638
- var lexicon$8 = 1;
1639
- var id$o = "org.hypercerts.claim.contributionDetails";
1640
- var defs$a = {
1980
+ var lexicon$7 = 1;
1981
+ var id$p = "org.hypercerts.claim.contributionDetails";
1982
+ var defs$9 = {
1641
1983
  main: {
1642
1984
  type: "record",
1643
1985
  description: "Details about a specific contribution including role, description, and timeframe.",
@@ -1679,14 +2021,14 @@ var defs$a = {
1679
2021
  }
1680
2022
  };
1681
2023
  var CONTRIBUTION_DETAILS_LEXICON_JSON = {
1682
- lexicon: lexicon$8,
1683
- id: id$o,
1684
- defs: defs$a
2024
+ lexicon: lexicon$7,
2025
+ id: id$p,
2026
+ defs: defs$9
1685
2027
  };
1686
2028
 
1687
- var lexicon$7 = 1;
1688
- var id$n = "org.hypercerts.claim.contributorInformation";
1689
- var defs$9 = {
2029
+ var lexicon$6 = 1;
2030
+ var id$o = "org.hypercerts.claim.contributorInformation";
2031
+ var defs$8 = {
1690
2032
  main: {
1691
2033
  type: "record",
1692
2034
  description: "Contributor information including identifier, display name, and image.",
@@ -1724,14 +2066,14 @@ var defs$9 = {
1724
2066
  }
1725
2067
  };
1726
2068
  var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
1727
- lexicon: lexicon$7,
1728
- id: id$n,
1729
- defs: defs$9
2069
+ lexicon: lexicon$6,
2070
+ id: id$o,
2071
+ defs: defs$8
1730
2072
  };
1731
2073
 
1732
- var lexicon$6 = 1;
1733
- var id$m = "org.hypercerts.claim.evaluation";
1734
- var defs$8 = {
2074
+ var lexicon$5 = 1;
2075
+ var id$n = "org.hypercerts.claim.evaluation";
2076
+ var defs$7 = {
1735
2077
  score: {
1736
2078
  type: "object",
1737
2079
  description: "Overall score for an evaluation on a numeric scale.",
@@ -1828,82 +2170,13 @@ var defs$8 = {
1828
2170
  }
1829
2171
  };
1830
2172
  var EVALUATION_LEXICON_JSON = {
1831
- lexicon: lexicon$6,
1832
- id: id$m,
1833
- defs: defs$8
1834
- };
1835
-
1836
- var lexicon$5 = 1;
1837
- var id$l = "org.hypercerts.claim.evidence";
1838
- var defs$7 = {
1839
- main: {
1840
- type: "record",
1841
- 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.",
1842
- key: "tid",
1843
- record: {
1844
- type: "object",
1845
- required: [
1846
- "content",
1847
- "title",
1848
- "createdAt"
1849
- ],
1850
- properties: {
1851
- subject: {
1852
- type: "ref",
1853
- ref: "com.atproto.repo.strongRef",
1854
- description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation)."
1855
- },
1856
- content: {
1857
- type: "union",
1858
- refs: [
1859
- "org.hypercerts.defs#uri",
1860
- "org.hypercerts.defs#smallBlob"
1861
- ],
1862
- description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim."
1863
- },
1864
- title: {
1865
- type: "string",
1866
- maxLength: 256,
1867
- description: "Title to describe the nature of the evidence."
1868
- },
1869
- shortDescription: {
1870
- type: "string",
1871
- maxLength: 3000,
1872
- maxGraphemes: 300,
1873
- description: "Short description explaining what this evidence shows."
1874
- },
1875
- description: {
1876
- type: "string",
1877
- description: "Longer description describing the evidence in more detail.",
1878
- maxLength: 30000,
1879
- maxGraphemes: 3000
1880
- },
1881
- relationType: {
1882
- type: "string",
1883
- description: "How this evidence relates to the subject.",
1884
- knownValues: [
1885
- "supports",
1886
- "challenges",
1887
- "clarifies"
1888
- ]
1889
- },
1890
- createdAt: {
1891
- type: "string",
1892
- format: "datetime",
1893
- description: "Client-declared timestamp when this record was originally created"
1894
- }
1895
- }
1896
- }
1897
- }
1898
- };
1899
- var EVIDENCE_LEXICON_JSON = {
1900
2173
  lexicon: lexicon$5,
1901
- id: id$l,
2174
+ id: id$n,
1902
2175
  defs: defs$7
1903
2176
  };
1904
2177
 
1905
2178
  var lexicon$4 = 1;
1906
- var id$k = "org.hypercerts.claim.measurement";
2179
+ var id$m = "org.hypercerts.claim.measurement";
1907
2180
  var defs$6 = {
1908
2181
  main: {
1909
2182
  type: "record",
@@ -2010,12 +2283,12 @@ var defs$6 = {
2010
2283
  };
2011
2284
  var MEASUREMENT_LEXICON_JSON = {
2012
2285
  lexicon: lexicon$4,
2013
- id: id$k,
2286
+ id: id$m,
2014
2287
  defs: defs$6
2015
2288
  };
2016
2289
 
2017
2290
  var lexicon$3 = 1;
2018
- var id$j = "org.hypercerts.claim.rights";
2291
+ var id$l = "org.hypercerts.claim.rights";
2019
2292
  var defs$5 = {
2020
2293
  main: {
2021
2294
  type: "record",
@@ -2063,12 +2336,12 @@ var defs$5 = {
2063
2336
  };
2064
2337
  var RIGHTS_LEXICON_JSON = {
2065
2338
  lexicon: lexicon$3,
2066
- id: id$j,
2339
+ id: id$l,
2067
2340
  defs: defs$5
2068
2341
  };
2069
2342
 
2070
2343
  var lexicon$2 = 1;
2071
- var id$i = "org.hypercerts.defs";
2344
+ var id$k = "org.hypercerts.defs";
2072
2345
  var defs$4 = {
2073
2346
  uri: {
2074
2347
  type: "object",
@@ -2162,12 +2435,12 @@ var defs$4 = {
2162
2435
  };
2163
2436
  var HYPERCERTS_DEFS_LEXICON_JSON = {
2164
2437
  lexicon: lexicon$2,
2165
- id: id$i,
2438
+ id: id$k,
2166
2439
  defs: defs$4
2167
2440
  };
2168
2441
 
2169
2442
  var lexicon$1 = 1;
2170
- var id$h = "org.hypercerts.funding.receipt";
2443
+ var id$j = "org.hypercerts.funding.receipt";
2171
2444
  var defs$3 = {
2172
2445
  main: {
2173
2446
  type: "record",
@@ -2238,12 +2511,12 @@ var defs$3 = {
2238
2511
  };
2239
2512
  var FUNDING_RECEIPT_LEXICON_JSON = {
2240
2513
  lexicon: lexicon$1,
2241
- id: id$h,
2514
+ id: id$j,
2242
2515
  defs: defs$3
2243
2516
  };
2244
2517
 
2245
2518
  var lexicon = 1;
2246
- var id$g = "org.hypercerts.helper.workScopeTag";
2519
+ var id$i = "org.hypercerts.helper.workScopeTag";
2247
2520
  var defs$2 = {
2248
2521
  main: {
2249
2522
  type: "record",
@@ -2311,18 +2584,36 @@ var defs$2 = {
2311
2584
  };
2312
2585
  var WORK_SCOPE_TAG_LEXICON_JSON = {
2313
2586
  lexicon: lexicon,
2314
- id: id$g,
2587
+ id: id$i,
2315
2588
  defs: defs$2
2316
2589
  };
2317
2590
 
2318
- const is$typed$f = is$typed$g, validate$f = validate$g;
2319
- const id$f = 'app.certified.badge.award';
2591
+ const is$typed$h = is$typed$i, validate$h = validate$i;
2592
+ const id$h = 'app.certified.actor.profile';
2593
+ const hashMain$f = 'main';
2594
+ function isMain$f(v) {
2595
+ return is$typed$h(v, id$h, hashMain$f);
2596
+ }
2597
+ function validateMain$f(v) {
2598
+ return validate$h(v, id$h, hashMain$f, true);
2599
+ }
2600
+
2601
+ var profile = /*#__PURE__*/Object.freeze({
2602
+ __proto__: null,
2603
+ isMain: isMain$f,
2604
+ isRecord: isMain$f,
2605
+ validateMain: validateMain$f,
2606
+ validateRecord: validateMain$f
2607
+ });
2608
+
2609
+ const is$typed$g = is$typed$i, validate$g = validate$i;
2610
+ const id$g = 'app.certified.badge.award';
2320
2611
  const hashMain$e = 'main';
2321
2612
  function isMain$e(v) {
2322
- return is$typed$f(v, id$f, hashMain$e);
2613
+ return is$typed$g(v, id$g, hashMain$e);
2323
2614
  }
2324
2615
  function validateMain$e(v) {
2325
- return validate$f(v, id$f, hashMain$e, true);
2616
+ return validate$g(v, id$g, hashMain$e, true);
2326
2617
  }
2327
2618
 
2328
2619
  var award = /*#__PURE__*/Object.freeze({
@@ -2333,14 +2624,14 @@ var award = /*#__PURE__*/Object.freeze({
2333
2624
  validateRecord: validateMain$e
2334
2625
  });
2335
2626
 
2336
- const is$typed$e = is$typed$g, validate$e = validate$g;
2337
- const id$e = 'app.certified.badge.definition';
2627
+ const is$typed$f = is$typed$i, validate$f = validate$i;
2628
+ const id$f = 'app.certified.badge.definition';
2338
2629
  const hashMain$d = 'main';
2339
2630
  function isMain$d(v) {
2340
- return is$typed$e(v, id$e, hashMain$d);
2631
+ return is$typed$f(v, id$f, hashMain$d);
2341
2632
  }
2342
2633
  function validateMain$d(v) {
2343
- return validate$e(v, id$e, hashMain$d, true);
2634
+ return validate$f(v, id$f, hashMain$d, true);
2344
2635
  }
2345
2636
 
2346
2637
  var definition = /*#__PURE__*/Object.freeze({
@@ -2351,14 +2642,14 @@ var definition = /*#__PURE__*/Object.freeze({
2351
2642
  validateRecord: validateMain$d
2352
2643
  });
2353
2644
 
2354
- const is$typed$d = is$typed$g, validate$d = validate$g;
2355
- const id$d = 'app.certified.badge.response';
2645
+ const is$typed$e = is$typed$i, validate$e = validate$i;
2646
+ const id$e = 'app.certified.badge.response';
2356
2647
  const hashMain$c = 'main';
2357
2648
  function isMain$c(v) {
2358
- return is$typed$d(v, id$d, hashMain$c);
2649
+ return is$typed$e(v, id$e, hashMain$c);
2359
2650
  }
2360
2651
  function validateMain$c(v) {
2361
- return validate$d(v, id$d, hashMain$c, true);
2652
+ return validate$e(v, id$e, hashMain$c, true);
2362
2653
  }
2363
2654
 
2364
2655
  var response = /*#__PURE__*/Object.freeze({
@@ -2369,11 +2660,23 @@ var response = /*#__PURE__*/Object.freeze({
2369
2660
  validateRecord: validateMain$c
2370
2661
  });
2371
2662
 
2663
+ const is$typed$d = is$typed$i, validate$d = validate$i;
2664
+ const id$d = 'app.certified.defs';
2665
+ const hashDid = 'did';
2666
+ function isDid(v) {
2667
+ return is$typed$d(v, id$d, hashDid);
2668
+ }
2669
+ function validateDid(v) {
2670
+ return validate$d(v, id$d, hashDid);
2671
+ }
2672
+
2372
2673
  var defs$1 = /*#__PURE__*/Object.freeze({
2373
- __proto__: null
2674
+ __proto__: null,
2675
+ isDid: isDid,
2676
+ validateDid: validateDid
2374
2677
  });
2375
2678
 
2376
- const is$typed$c = is$typed$g, validate$c = validate$g;
2679
+ const is$typed$c = is$typed$i, validate$c = validate$i;
2377
2680
  const id$c = 'app.certified.location';
2378
2681
  const hashMain$b = 'main';
2379
2682
  function isMain$b(v) {
@@ -2382,16 +2685,25 @@ function isMain$b(v) {
2382
2685
  function validateMain$b(v) {
2383
2686
  return validate$c(v, id$c, hashMain$b, true);
2384
2687
  }
2688
+ const hashString = 'string';
2689
+ function isString(v) {
2690
+ return is$typed$c(v, id$c, hashString);
2691
+ }
2692
+ function validateString(v) {
2693
+ return validate$c(v, id$c, hashString);
2694
+ }
2385
2695
 
2386
2696
  var location = /*#__PURE__*/Object.freeze({
2387
2697
  __proto__: null,
2388
2698
  isMain: isMain$b,
2389
2699
  isRecord: isMain$b,
2700
+ isString: isString,
2390
2701
  validateMain: validateMain$b,
2391
- validateRecord: validateMain$b
2702
+ validateRecord: validateMain$b,
2703
+ validateString: validateString
2392
2704
  });
2393
2705
 
2394
- const is$typed$b = is$typed$g, validate$b = validate$g;
2706
+ const is$typed$b = is$typed$i, validate$b = validate$i;
2395
2707
  const id$b = 'com.atproto.repo.strongRef';
2396
2708
  const hashMain$a = 'main';
2397
2709
  function isMain$a(v) {
@@ -2407,7 +2719,7 @@ var strongRef = /*#__PURE__*/Object.freeze({
2407
2719
  validateMain: validateMain$a
2408
2720
  });
2409
2721
 
2410
- const is$typed$a = is$typed$g, validate$a = validate$g;
2722
+ const is$typed$a = is$typed$i, validate$a = validate$i;
2411
2723
  const id$a = 'org.hypercerts.claim.activity';
2412
2724
  const hashMain$9 = 'main';
2413
2725
  function isMain$9(v) {
@@ -2423,19 +2735,46 @@ function isContributor(v) {
2423
2735
  function validateContributor(v) {
2424
2736
  return validate$a(v, id$a, hashContributor);
2425
2737
  }
2738
+ const hashContributorIdentity = 'contributorIdentity';
2739
+ function isContributorIdentity(v) {
2740
+ return is$typed$a(v, id$a, hashContributorIdentity);
2741
+ }
2742
+ function validateContributorIdentity(v) {
2743
+ return validate$a(v, id$a, hashContributorIdentity);
2744
+ }
2745
+ const hashContributorRole = 'contributorRole';
2746
+ function isContributorRole(v) {
2747
+ return is$typed$a(v, id$a, hashContributorRole);
2748
+ }
2749
+ function validateContributorRole(v) {
2750
+ return validate$a(v, id$a, hashContributorRole);
2751
+ }
2752
+ const hashWorkScopeString = 'workScopeString';
2753
+ function isWorkScopeString(v) {
2754
+ return is$typed$a(v, id$a, hashWorkScopeString);
2755
+ }
2756
+ function validateWorkScopeString(v) {
2757
+ return validate$a(v, id$a, hashWorkScopeString);
2758
+ }
2426
2759
 
2427
2760
  var activity = /*#__PURE__*/Object.freeze({
2428
2761
  __proto__: null,
2429
2762
  isContributor: isContributor,
2763
+ isContributorIdentity: isContributorIdentity,
2764
+ isContributorRole: isContributorRole,
2430
2765
  isMain: isMain$9,
2431
2766
  isRecord: isMain$9,
2767
+ isWorkScopeString: isWorkScopeString,
2432
2768
  validateContributor: validateContributor,
2769
+ validateContributorIdentity: validateContributorIdentity,
2770
+ validateContributorRole: validateContributorRole,
2433
2771
  validateMain: validateMain$9,
2434
- validateRecord: validateMain$9
2772
+ validateRecord: validateMain$9,
2773
+ validateWorkScopeString: validateWorkScopeString
2435
2774
  });
2436
2775
 
2437
- const is$typed$9 = is$typed$g, validate$9 = validate$g;
2438
- const id$9 = 'org.hypercerts.claim.collection';
2776
+ const is$typed$9 = is$typed$i, validate$9 = validate$i;
2777
+ const id$9 = 'org.hypercerts.claim.attachment';
2439
2778
  const hashMain$8 = 'main';
2440
2779
  function isMain$8(v) {
2441
2780
  return is$typed$9(v, id$9, hashMain$8);
@@ -2443,26 +2782,17 @@ function isMain$8(v) {
2443
2782
  function validateMain$8(v) {
2444
2783
  return validate$9(v, id$9, hashMain$8, true);
2445
2784
  }
2446
- const hashItem = 'item';
2447
- function isItem(v) {
2448
- return is$typed$9(v, id$9, hashItem);
2449
- }
2450
- function validateItem(v) {
2451
- return validate$9(v, id$9, hashItem);
2452
- }
2453
2785
 
2454
- var collection = /*#__PURE__*/Object.freeze({
2786
+ var attachment = /*#__PURE__*/Object.freeze({
2455
2787
  __proto__: null,
2456
- isItem: isItem,
2457
2788
  isMain: isMain$8,
2458
2789
  isRecord: isMain$8,
2459
- validateItem: validateItem,
2460
2790
  validateMain: validateMain$8,
2461
2791
  validateRecord: validateMain$8
2462
2792
  });
2463
2793
 
2464
- const is$typed$8 = is$typed$g, validate$8 = validate$g;
2465
- const id$8 = 'org.hypercerts.claim.contributionDetails';
2794
+ const is$typed$8 = is$typed$i, validate$8 = validate$i;
2795
+ const id$8 = 'org.hypercerts.claim.collection';
2466
2796
  const hashMain$7 = 'main';
2467
2797
  function isMain$7(v) {
2468
2798
  return is$typed$8(v, id$8, hashMain$7);
@@ -2470,17 +2800,26 @@ function isMain$7(v) {
2470
2800
  function validateMain$7(v) {
2471
2801
  return validate$8(v, id$8, hashMain$7, true);
2472
2802
  }
2803
+ const hashItem = 'item';
2804
+ function isItem(v) {
2805
+ return is$typed$8(v, id$8, hashItem);
2806
+ }
2807
+ function validateItem(v) {
2808
+ return validate$8(v, id$8, hashItem);
2809
+ }
2473
2810
 
2474
- var contributionDetails = /*#__PURE__*/Object.freeze({
2811
+ var collection = /*#__PURE__*/Object.freeze({
2475
2812
  __proto__: null,
2813
+ isItem: isItem,
2476
2814
  isMain: isMain$7,
2477
2815
  isRecord: isMain$7,
2816
+ validateItem: validateItem,
2478
2817
  validateMain: validateMain$7,
2479
2818
  validateRecord: validateMain$7
2480
2819
  });
2481
2820
 
2482
- const is$typed$7 = is$typed$g, validate$7 = validate$g;
2483
- const id$7 = 'org.hypercerts.claim.contributorInformation';
2821
+ const is$typed$7 = is$typed$i, validate$7 = validate$i;
2822
+ const id$7 = 'org.hypercerts.claim.contributionDetails';
2484
2823
  const hashMain$6 = 'main';
2485
2824
  function isMain$6(v) {
2486
2825
  return is$typed$7(v, id$7, hashMain$6);
@@ -2489,7 +2828,7 @@ function validateMain$6(v) {
2489
2828
  return validate$7(v, id$7, hashMain$6, true);
2490
2829
  }
2491
2830
 
2492
- var contributorInformation = /*#__PURE__*/Object.freeze({
2831
+ var contributionDetails = /*#__PURE__*/Object.freeze({
2493
2832
  __proto__: null,
2494
2833
  isMain: isMain$6,
2495
2834
  isRecord: isMain$6,
@@ -2497,15 +2836,8 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
2497
2836
  validateRecord: validateMain$6
2498
2837
  });
2499
2838
 
2500
- const is$typed$6 = is$typed$g, validate$6 = validate$g;
2501
- const id$6 = 'org.hypercerts.claim.evaluation';
2502
- const hashScore = 'score';
2503
- function isScore(v) {
2504
- return is$typed$6(v, id$6, hashScore);
2505
- }
2506
- function validateScore(v) {
2507
- return validate$6(v, id$6, hashScore);
2508
- }
2839
+ const is$typed$6 = is$typed$i, validate$6 = validate$i;
2840
+ const id$6 = 'org.hypercerts.claim.contributorInformation';
2509
2841
  const hashMain$5 = 'main';
2510
2842
  function isMain$5(v) {
2511
2843
  return is$typed$6(v, id$6, hashMain$5);
@@ -2514,18 +2846,23 @@ function validateMain$5(v) {
2514
2846
  return validate$6(v, id$6, hashMain$5, true);
2515
2847
  }
2516
2848
 
2517
- var evaluation = /*#__PURE__*/Object.freeze({
2849
+ var contributorInformation = /*#__PURE__*/Object.freeze({
2518
2850
  __proto__: null,
2519
2851
  isMain: isMain$5,
2520
2852
  isRecord: isMain$5,
2521
- isScore: isScore,
2522
2853
  validateMain: validateMain$5,
2523
- validateRecord: validateMain$5,
2524
- validateScore: validateScore
2854
+ validateRecord: validateMain$5
2525
2855
  });
2526
2856
 
2527
- const is$typed$5 = is$typed$g, validate$5 = validate$g;
2528
- const id$5 = 'org.hypercerts.claim.evidence';
2857
+ const is$typed$5 = is$typed$i, validate$5 = validate$i;
2858
+ const id$5 = 'org.hypercerts.claim.evaluation';
2859
+ const hashScore = 'score';
2860
+ function isScore(v) {
2861
+ return is$typed$5(v, id$5, hashScore);
2862
+ }
2863
+ function validateScore(v) {
2864
+ return validate$5(v, id$5, hashScore);
2865
+ }
2529
2866
  const hashMain$4 = 'main';
2530
2867
  function isMain$4(v) {
2531
2868
  return is$typed$5(v, id$5, hashMain$4);
@@ -2534,15 +2871,17 @@ function validateMain$4(v) {
2534
2871
  return validate$5(v, id$5, hashMain$4, true);
2535
2872
  }
2536
2873
 
2537
- var evidence = /*#__PURE__*/Object.freeze({
2874
+ var evaluation = /*#__PURE__*/Object.freeze({
2538
2875
  __proto__: null,
2539
2876
  isMain: isMain$4,
2540
2877
  isRecord: isMain$4,
2878
+ isScore: isScore,
2541
2879
  validateMain: validateMain$4,
2542
- validateRecord: validateMain$4
2880
+ validateRecord: validateMain$4,
2881
+ validateScore: validateScore
2543
2882
  });
2544
2883
 
2545
- const is$typed$4 = is$typed$g, validate$4 = validate$g;
2884
+ const is$typed$4 = is$typed$i, validate$4 = validate$i;
2546
2885
  const id$4 = 'org.hypercerts.claim.measurement';
2547
2886
  const hashMain$3 = 'main';
2548
2887
  function isMain$3(v) {
@@ -2560,7 +2899,7 @@ var measurement = /*#__PURE__*/Object.freeze({
2560
2899
  validateRecord: validateMain$3
2561
2900
  });
2562
2901
 
2563
- const is$typed$3 = is$typed$g, validate$3 = validate$g;
2902
+ const is$typed$3 = is$typed$i, validate$3 = validate$i;
2564
2903
  const id$3 = 'org.hypercerts.claim.rights';
2565
2904
  const hashMain$2 = 'main';
2566
2905
  function isMain$2(v) {
@@ -2578,7 +2917,7 @@ var rights = /*#__PURE__*/Object.freeze({
2578
2917
  validateRecord: validateMain$2
2579
2918
  });
2580
2919
 
2581
- const is$typed$2 = is$typed$g, validate$2 = validate$g;
2920
+ const is$typed$2 = is$typed$i, validate$2 = validate$i;
2582
2921
  const id$2 = 'org.hypercerts.defs';
2583
2922
  const hashUri = 'uri';
2584
2923
  function isUri(v) {
@@ -2630,7 +2969,7 @@ var defs = /*#__PURE__*/Object.freeze({
2630
2969
  validateUri: validateUri
2631
2970
  });
2632
2971
 
2633
- const is$typed$1 = is$typed$g, validate$1 = validate$g;
2972
+ const is$typed$1 = is$typed$i, validate$1 = validate$i;
2634
2973
  const id$1 = 'org.hypercerts.funding.receipt';
2635
2974
  const hashMain$1 = 'main';
2636
2975
  function isMain$1(v) {
@@ -2648,7 +2987,7 @@ var receipt = /*#__PURE__*/Object.freeze({
2648
2987
  validateRecord: validateMain$1
2649
2988
  });
2650
2989
 
2651
- const is$typed = is$typed$g, validate = validate$g;
2990
+ const is$typed = is$typed$i, validate = validate$i;
2652
2991
  const id = 'org.hypercerts.helper.workScopeTag';
2653
2992
  const hashMain = 'main';
2654
2993
  function isMain(v) {
@@ -2672,7 +3011,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
2672
3011
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
2673
3012
  *
2674
3013
  * This file is automatically generated by scripts/generate-exports.js
2675
- * Generated: 2026-01-24T06:58:07.601Z
3014
+ * Generated: 2026-02-10T10:47:30.525Z
2676
3015
  *
2677
3016
  * To regenerate this file, run:
2678
3017
  * npm run gen-api
@@ -2689,6 +3028,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
2689
3028
  * @packageDocumentation
2690
3029
  */
2691
3030
  // Individual NSID constants
3031
+ const ACTOR_PROFILE_NSID = "app.certified.actor.profile";
2692
3032
  const BADGE_AWARD_NSID = "app.certified.badge.award";
2693
3033
  const BADGE_DEFINITION_NSID = "app.certified.badge.definition";
2694
3034
  const BADGE_RESPONSE_NSID = "app.certified.badge.response";
@@ -2696,11 +3036,11 @@ const CERTIFIED_DEFS_NSID = "app.certified.defs";
2696
3036
  const LOCATION_NSID = "app.certified.location";
2697
3037
  const STRONG_REF_NSID = "com.atproto.repo.strongRef";
2698
3038
  const ACTIVITY_NSID = "org.hypercerts.claim.activity";
3039
+ const ATTACHMENT_NSID = "org.hypercerts.claim.attachment";
2699
3040
  const COLLECTION_NSID = "org.hypercerts.claim.collection";
2700
3041
  const CONTRIBUTION_DETAILS_NSID = "org.hypercerts.claim.contributionDetails";
2701
3042
  const CONTRIBUTOR_INFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
2702
3043
  const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
2703
- const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
2704
3044
  const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
2705
3045
  const RIGHTS_NSID = "org.hypercerts.claim.rights";
2706
3046
  const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
@@ -2713,6 +3053,7 @@ const WORK_SCOPE_TAG_NSID = "org.hypercerts.helper.workScopeTag";
2713
3053
  * correct collection names.
2714
3054
  */
2715
3055
  const HYPERCERTS_NSIDS = {
3056
+ ACTOR_PROFILE: ACTOR_PROFILE_NSID,
2716
3057
  BADGE_AWARD: BADGE_AWARD_NSID,
2717
3058
  BADGE_DEFINITION: BADGE_DEFINITION_NSID,
2718
3059
  BADGE_RESPONSE: BADGE_RESPONSE_NSID,
@@ -2720,11 +3061,11 @@ const HYPERCERTS_NSIDS = {
2720
3061
  LOCATION: LOCATION_NSID,
2721
3062
  STRONG_REF: STRONG_REF_NSID,
2722
3063
  ACTIVITY: ACTIVITY_NSID,
3064
+ ATTACHMENT: ATTACHMENT_NSID,
2723
3065
  COLLECTION: COLLECTION_NSID,
2724
3066
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_NSID,
2725
3067
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_NSID,
2726
3068
  EVALUATION: EVALUATION_NSID,
2727
- EVIDENCE: EVIDENCE_NSID,
2728
3069
  MEASUREMENT: MEASUREMENT_NSID,
2729
3070
  RIGHTS: RIGHTS_NSID,
2730
3071
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
@@ -2735,6 +3076,7 @@ const HYPERCERTS_NSIDS = {
2735
3076
  * Lexicon JSON objects organized by semantic record type.
2736
3077
  */
2737
3078
  const HYPERCERTS_LEXICON_JSON = {
3079
+ ACTOR_PROFILE: ACTOR_PROFILE_LEXICON_JSON,
2738
3080
  BADGE_AWARD: BADGE_AWARD_LEXICON_JSON,
2739
3081
  BADGE_DEFINITION: BADGE_DEFINITION_LEXICON_JSON,
2740
3082
  BADGE_RESPONSE: BADGE_RESPONSE_LEXICON_JSON,
@@ -2742,11 +3084,11 @@ const HYPERCERTS_LEXICON_JSON = {
2742
3084
  LOCATION: LOCATION_LEXICON_JSON,
2743
3085
  STRONG_REF: STRONG_REF_LEXICON_JSON,
2744
3086
  ACTIVITY: ACTIVITY_LEXICON_JSON,
3087
+ ATTACHMENT: ATTACHMENT_LEXICON_JSON,
2745
3088
  COLLECTION: COLLECTION_LEXICON_JSON,
2746
3089
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_JSON,
2747
3090
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_JSON,
2748
3091
  EVALUATION: EVALUATION_LEXICON_JSON,
2749
- EVIDENCE: EVIDENCE_LEXICON_JSON,
2750
3092
  MEASUREMENT: MEASUREMENT_LEXICON_JSON,
2751
3093
  RIGHTS: RIGHTS_LEXICON_JSON,
2752
3094
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
@@ -2754,6 +3096,7 @@ const HYPERCERTS_LEXICON_JSON = {
2754
3096
  WORK_SCOPE_TAG: WORK_SCOPE_TAG_LEXICON_JSON,
2755
3097
  };
2756
3098
  // Individual lexicon objects (from lexicons.get())
3099
+ const ACTOR_PROFILE_LEXICON_DOC = lexicons.get(ACTOR_PROFILE_NSID);
2757
3100
  const BADGE_AWARD_LEXICON_DOC = lexicons.get(BADGE_AWARD_NSID);
2758
3101
  const BADGE_DEFINITION_LEXICON_DOC = lexicons.get(BADGE_DEFINITION_NSID);
2759
3102
  const BADGE_RESPONSE_LEXICON_DOC = lexicons.get(BADGE_RESPONSE_NSID);
@@ -2761,11 +3104,11 @@ const CERTIFIED_DEFS_LEXICON_DOC = lexicons.get(CERTIFIED_DEFS_NSID);
2761
3104
  const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
2762
3105
  const STRONG_REF_LEXICON_DOC = lexicons.get(STRONG_REF_NSID);
2763
3106
  const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
3107
+ const ATTACHMENT_LEXICON_DOC = lexicons.get(ATTACHMENT_NSID);
2764
3108
  const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
2765
3109
  const CONTRIBUTION_DETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTION_DETAILS_NSID);
2766
3110
  const CONTRIBUTOR_INFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTOR_INFORMATION_NSID);
2767
3111
  const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
2768
- const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
2769
3112
  const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
2770
3113
  const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
2771
3114
  const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
@@ -2775,6 +3118,7 @@ const WORK_SCOPE_TAG_LEXICON_DOC = lexicons.get(WORK_SCOPE_TAG_NSID);
2775
3118
  * Lexicon document objects organized by semantic record type.
2776
3119
  */
2777
3120
  const HYPERCERTS_LEXICON_DOC = {
3121
+ ACTOR_PROFILE: ACTOR_PROFILE_LEXICON_DOC,
2778
3122
  BADGE_AWARD: BADGE_AWARD_LEXICON_DOC,
2779
3123
  BADGE_DEFINITION: BADGE_DEFINITION_LEXICON_DOC,
2780
3124
  BADGE_RESPONSE: BADGE_RESPONSE_LEXICON_DOC,
@@ -2782,11 +3126,11 @@ const HYPERCERTS_LEXICON_DOC = {
2782
3126
  LOCATION: LOCATION_LEXICON_DOC,
2783
3127
  STRONG_REF: STRONG_REF_LEXICON_DOC,
2784
3128
  ACTIVITY: ACTIVITY_LEXICON_DOC,
3129
+ ATTACHMENT: ATTACHMENT_LEXICON_DOC,
2785
3130
  COLLECTION: COLLECTION_LEXICON_DOC,
2786
3131
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_DOC,
2787
3132
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_DOC,
2788
3133
  EVALUATION: EVALUATION_LEXICON_DOC,
2789
- EVIDENCE: EVIDENCE_LEXICON_DOC,
2790
3134
  MEASUREMENT: MEASUREMENT_LEXICON_DOC,
2791
3135
  RIGHTS: RIGHTS_LEXICON_DOC,
2792
3136
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
@@ -2794,5 +3138,5 @@ const HYPERCERTS_LEXICON_DOC = {
2794
3138
  WORK_SCOPE_TAG: WORK_SCOPE_TAG_LEXICON_DOC,
2795
3139
  };
2796
3140
 
2797
- export { ACTIVITY_LEXICON_DOC, ACTIVITY_LEXICON_JSON, ACTIVITY_NSID, award as AppCertifiedBadgeAward, definition as AppCertifiedBadgeDefinition, response as AppCertifiedBadgeResponse, defs$1 as AppCertifiedDefs, location as AppCertifiedLocation, BADGE_AWARD_LEXICON_DOC, BADGE_AWARD_LEXICON_JSON, BADGE_AWARD_NSID, BADGE_DEFINITION_LEXICON_DOC, BADGE_DEFINITION_LEXICON_JSON, BADGE_DEFINITION_NSID, BADGE_RESPONSE_LEXICON_DOC, BADGE_RESPONSE_LEXICON_JSON, BADGE_RESPONSE_NSID, CERTIFIED_DEFS_LEXICON_DOC, CERTIFIED_DEFS_LEXICON_JSON, CERTIFIED_DEFS_NSID, COLLECTION_LEXICON_DOC, COLLECTION_LEXICON_JSON, COLLECTION_NSID, CONTRIBUTION_DETAILS_LEXICON_DOC, CONTRIBUTION_DETAILS_LEXICON_JSON, CONTRIBUTION_DETAILS_NSID, CONTRIBUTOR_INFORMATION_LEXICON_DOC, CONTRIBUTOR_INFORMATION_LEXICON_JSON, CONTRIBUTOR_INFORMATION_NSID, strongRef as ComAtprotoRepoStrongRef, EVALUATION_LEXICON_DOC, EVALUATION_LEXICON_JSON, EVALUATION_NSID, EVIDENCE_LEXICON_DOC, EVIDENCE_LEXICON_JSON, EVIDENCE_NSID, FUNDING_RECEIPT_LEXICON_DOC, FUNDING_RECEIPT_LEXICON_JSON, FUNDING_RECEIPT_NSID, HYPERCERTS_DEFS_LEXICON_DOC, HYPERCERTS_DEFS_LEXICON_JSON, HYPERCERTS_DEFS_NSID, HYPERCERTS_LEXICON_DOC, HYPERCERTS_LEXICON_JSON, HYPERCERTS_NSIDS, ids as HYPERCERTS_NSIDS_BY_TYPE, schemas as HYPERCERTS_SCHEMAS, schemaDict as HYPERCERTS_SCHEMA_DICT, LOCATION_LEXICON_DOC, LOCATION_LEXICON_JSON, LOCATION_NSID, MEASUREMENT_LEXICON_DOC, MEASUREMENT_LEXICON_JSON, MEASUREMENT_NSID, activity as OrgHypercertsClaimActivity, collection as OrgHypercertsClaimCollection, contributionDetails as OrgHypercertsClaimContributionDetails, contributorInformation as OrgHypercertsClaimContributorInformation, evaluation as OrgHypercertsClaimEvaluation, evidence as OrgHypercertsClaimEvidence, measurement as OrgHypercertsClaimMeasurement, rights as OrgHypercertsClaimRights, defs as OrgHypercertsDefs, receipt as OrgHypercertsFundingReceipt, workScopeTag as OrgHypercertsHelperWorkScopeTag, RIGHTS_LEXICON_DOC, RIGHTS_LEXICON_JSON, RIGHTS_NSID, STRONG_REF_LEXICON_DOC, STRONG_REF_LEXICON_JSON, STRONG_REF_NSID, WORK_SCOPE_TAG_LEXICON_DOC, WORK_SCOPE_TAG_LEXICON_JSON, WORK_SCOPE_TAG_NSID, asPredicate, is$typed$g as is$typed, lexicons, maybe$typed, validate$g as validate };
3141
+ export { ACTIVITY_LEXICON_DOC, ACTIVITY_LEXICON_JSON, ACTIVITY_NSID, ACTOR_PROFILE_LEXICON_DOC, ACTOR_PROFILE_LEXICON_JSON, ACTOR_PROFILE_NSID, ATTACHMENT_LEXICON_DOC, ATTACHMENT_LEXICON_JSON, ATTACHMENT_NSID, profile as AppCertifiedActorProfile, award as AppCertifiedBadgeAward, definition as AppCertifiedBadgeDefinition, response as AppCertifiedBadgeResponse, defs$1 as AppCertifiedDefs, location as AppCertifiedLocation, BADGE_AWARD_LEXICON_DOC, BADGE_AWARD_LEXICON_JSON, BADGE_AWARD_NSID, BADGE_DEFINITION_LEXICON_DOC, BADGE_DEFINITION_LEXICON_JSON, BADGE_DEFINITION_NSID, BADGE_RESPONSE_LEXICON_DOC, BADGE_RESPONSE_LEXICON_JSON, BADGE_RESPONSE_NSID, CERTIFIED_DEFS_LEXICON_DOC, CERTIFIED_DEFS_LEXICON_JSON, CERTIFIED_DEFS_NSID, COLLECTION_LEXICON_DOC, COLLECTION_LEXICON_JSON, COLLECTION_NSID, CONTRIBUTION_DETAILS_LEXICON_DOC, CONTRIBUTION_DETAILS_LEXICON_JSON, CONTRIBUTION_DETAILS_NSID, CONTRIBUTOR_INFORMATION_LEXICON_DOC, CONTRIBUTOR_INFORMATION_LEXICON_JSON, CONTRIBUTOR_INFORMATION_NSID, strongRef as ComAtprotoRepoStrongRef, EVALUATION_LEXICON_DOC, EVALUATION_LEXICON_JSON, EVALUATION_NSID, FUNDING_RECEIPT_LEXICON_DOC, FUNDING_RECEIPT_LEXICON_JSON, FUNDING_RECEIPT_NSID, HYPERCERTS_DEFS_LEXICON_DOC, HYPERCERTS_DEFS_LEXICON_JSON, HYPERCERTS_DEFS_NSID, HYPERCERTS_LEXICON_DOC, HYPERCERTS_LEXICON_JSON, HYPERCERTS_NSIDS, ids as HYPERCERTS_NSIDS_BY_TYPE, schemas as HYPERCERTS_SCHEMAS, schemaDict as HYPERCERTS_SCHEMA_DICT, LOCATION_LEXICON_DOC, LOCATION_LEXICON_JSON, LOCATION_NSID, MEASUREMENT_LEXICON_DOC, MEASUREMENT_LEXICON_JSON, MEASUREMENT_NSID, activity as OrgHypercertsClaimActivity, attachment as OrgHypercertsClaimAttachment, collection as OrgHypercertsClaimCollection, contributionDetails as OrgHypercertsClaimContributionDetails, contributorInformation as OrgHypercertsClaimContributorInformation, evaluation as OrgHypercertsClaimEvaluation, measurement as OrgHypercertsClaimMeasurement, rights as OrgHypercertsClaimRights, defs as OrgHypercertsDefs, receipt as OrgHypercertsFundingReceipt, workScopeTag as OrgHypercertsHelperWorkScopeTag, RIGHTS_LEXICON_DOC, RIGHTS_LEXICON_JSON, RIGHTS_NSID, STRONG_REF_LEXICON_DOC, STRONG_REF_LEXICON_JSON, STRONG_REF_NSID, WORK_SCOPE_TAG_LEXICON_DOC, WORK_SCOPE_TAG_LEXICON_JSON, WORK_SCOPE_TAG_NSID, asPredicate, is$typed$i as is$typed, lexicons, maybe$typed, validate$i as validate };
2798
3142
  //# sourceMappingURL=index.mjs.map