@hypercerts-org/lexicon 0.10.0-beta.13 → 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 (34) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/SCHEMAS.md +46 -0
  3. package/dist/exports.d.ts +94 -7
  4. package/dist/exports.d.ts.map +1 -1
  5. package/dist/generated/exports.d.ts +94 -7
  6. package/dist/generated/exports.d.ts.map +1 -1
  7. package/dist/generated/lexicons.d.ts +182 -18
  8. package/dist/generated/lexicons.d.ts.map +1 -1
  9. package/dist/generated/types/app/certified/actor/profile.d.ts +27 -0
  10. package/dist/generated/types/app/certified/actor/profile.d.ts.map +1 -0
  11. package/dist/generated/types/app/certified/defs.d.ts +11 -1
  12. package/dist/generated/types/app/certified/defs.d.ts.map +1 -1
  13. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +21 -3
  14. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  15. package/dist/index.cjs +345 -90
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.mjs +337 -86
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/lexicons.cjs +98 -9
  20. package/dist/lexicons.cjs.map +1 -1
  21. package/dist/lexicons.d.ts +182 -18
  22. package/dist/lexicons.d.ts.map +1 -1
  23. package/dist/lexicons.mjs +98 -9
  24. package/dist/lexicons.mjs.map +1 -1
  25. package/dist/types/app/certified/actor/profile.d.ts +27 -0
  26. package/dist/types/app/certified/actor/profile.d.ts.map +1 -0
  27. package/dist/types/app/certified/defs.d.ts +11 -1
  28. package/dist/types/app/certified/defs.d.ts.map +1 -1
  29. package/dist/types/org/hypercerts/claim/activity.d.ts +21 -3
  30. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  31. package/lexicons/app/certified/actor/profile.json +51 -0
  32. package/lexicons/app/certified/defs.json +11 -3
  33. package/lexicons/org/hypercerts/claim/activity.json +31 -8
  34. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var lexicon$h = require('@atproto/lexicon');
3
+ var lexicon$i = require('@atproto/lexicon');
4
4
 
5
5
  /**
6
6
  * GENERATED CODE - DO NOT MODIFY
@@ -18,7 +18,7 @@ function is$type($type, id, hash) {
18
18
  $type.startsWith(id) &&
19
19
  $type.endsWith(hash);
20
20
  }
21
- function is$typed$g(v, id, hash) {
21
+ function is$typed$i(v, id, hash) {
22
22
  return isObject(v) && '$type' in v && is$type(v.$type, id, hash);
23
23
  }
24
24
  function maybe$typed(v, id, hash) {
@@ -39,6 +39,63 @@ function asPredicate(validate) {
39
39
  * GENERATED CODE - DO NOT MODIFY
40
40
  */
41
41
  const schemaDict = {
42
+ AppCertifiedActorProfile: {
43
+ lexicon: 1,
44
+ id: 'app.certified.actor.profile',
45
+ defs: {
46
+ main: {
47
+ type: 'record',
48
+ description: 'A declaration of a Hypercert account profile.',
49
+ key: 'literal:self',
50
+ record: {
51
+ type: 'object',
52
+ properties: {
53
+ displayName: {
54
+ type: 'string',
55
+ maxGraphemes: 64,
56
+ maxLength: 640,
57
+ },
58
+ description: {
59
+ type: 'string',
60
+ description: 'Free-form profile description text.',
61
+ maxGraphemes: 256,
62
+ maxLength: 2560,
63
+ },
64
+ pronouns: {
65
+ type: 'string',
66
+ description: 'Free-form pronouns text.',
67
+ maxGraphemes: 20,
68
+ maxLength: 200,
69
+ },
70
+ website: {
71
+ type: 'string',
72
+ format: 'uri',
73
+ },
74
+ avatar: {
75
+ type: 'union',
76
+ refs: [
77
+ 'lex:org.hypercerts.defs#uri',
78
+ 'lex:org.hypercerts.defs#smallImage',
79
+ ],
80
+ description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
81
+ },
82
+ banner: {
83
+ type: 'union',
84
+ refs: [
85
+ 'lex:org.hypercerts.defs#uri',
86
+ 'lex:org.hypercerts.defs#largeImage',
87
+ ],
88
+ description: 'Larger horizontal image to display behind profile view.',
89
+ },
90
+ createdAt: {
91
+ type: 'string',
92
+ format: 'datetime',
93
+ },
94
+ },
95
+ },
96
+ },
97
+ },
98
+ },
42
99
  AppCertifiedBadgeAward: {
43
100
  lexicon: 1,
44
101
  id: 'app.certified.badge.award',
@@ -173,9 +230,17 @@ const schemaDict = {
173
230
  description: 'Common type definitions used across certified protocols.',
174
231
  defs: {
175
232
  did: {
176
- type: 'string',
177
- format: 'did',
233
+ type: 'object',
178
234
  description: 'A Decentralized Identifier (DID) string.',
235
+ required: ['did'],
236
+ properties: {
237
+ did: {
238
+ type: 'string',
239
+ format: 'did',
240
+ description: 'The DID string value.',
241
+ maxLength: 256,
242
+ },
243
+ },
179
244
  },
180
245
  },
181
246
  },
@@ -406,20 +471,43 @@ const schemaDict = {
406
471
  },
407
472
  },
408
473
  contributorIdentity: {
409
- type: 'string',
474
+ type: 'object',
410
475
  description: 'Contributor information as a string (DID or identifier).',
476
+ required: ['identity'],
477
+ properties: {
478
+ identity: {
479
+ type: 'string',
480
+ description: 'The contributor identity string (DID or identifier).',
481
+ maxLength: 1000,
482
+ maxGraphemes: 100,
483
+ },
484
+ },
411
485
  },
412
486
  contributorRole: {
413
- type: 'string',
487
+ type: 'object',
414
488
  description: 'Contribution details as a string.',
415
- maxLength: 10000,
416
- maxGraphemes: 1000,
489
+ required: ['role'],
490
+ properties: {
491
+ role: {
492
+ type: 'string',
493
+ description: 'The contribution role or details.',
494
+ maxLength: 1000,
495
+ maxGraphemes: 100,
496
+ },
497
+ },
417
498
  },
418
499
  workScopeString: {
419
- type: 'string',
500
+ type: 'object',
420
501
  description: 'A free-form string describing the work scope for simple or legacy scopes.',
421
- maxLength: 10000,
422
- maxGraphemes: 1000,
502
+ required: ['scope'],
503
+ properties: {
504
+ scope: {
505
+ type: 'string',
506
+ description: 'The work scope description string.',
507
+ maxLength: 1000,
508
+ maxGraphemes: 100,
509
+ },
510
+ },
423
511
  },
424
512
  },
425
513
  },
@@ -1126,16 +1214,17 @@ const schemaDict = {
1126
1214
  },
1127
1215
  };
1128
1216
  const schemas = Object.values(schemaDict);
1129
- const lexicons = new lexicon$h.Lexicons(schemas);
1130
- function validate$g(v, id, hash, requiredType) {
1131
- return (requiredType ? is$typed$g : maybe$typed)(v, id, hash)
1217
+ const lexicons = new lexicon$i.Lexicons(schemas);
1218
+ function validate$i(v, id, hash, requiredType) {
1219
+ return (requiredType ? is$typed$i : maybe$typed)(v, id, hash)
1132
1220
  ? lexicons.validate(`${id}#${hash}`, v)
1133
1221
  : {
1134
1222
  success: false,
1135
- error: new lexicon$h.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
1223
+ error: new lexicon$i.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
1136
1224
  };
1137
1225
  }
1138
1226
  const ids = {
1227
+ AppCertifiedActorProfile: 'app.certified.actor.profile',
1139
1228
  AppCertifiedBadgeAward: 'app.certified.badge.award',
1140
1229
  AppCertifiedBadgeDefinition: 'app.certified.badge.definition',
1141
1230
  AppCertifiedBadgeResponse: 'app.certified.badge.response',
@@ -1155,8 +1244,69 @@ const ids = {
1155
1244
  OrgHypercertsHelperWorkScopeTag: 'org.hypercerts.helper.workScopeTag',
1156
1245
  };
1157
1246
 
1247
+ var lexicon$h = 1;
1248
+ var id$z = "app.certified.actor.profile";
1249
+ var defs$j = {
1250
+ main: {
1251
+ type: "record",
1252
+ description: "A declaration of a Hypercert account profile.",
1253
+ key: "literal:self",
1254
+ record: {
1255
+ type: "object",
1256
+ properties: {
1257
+ displayName: {
1258
+ type: "string",
1259
+ maxGraphemes: 64,
1260
+ maxLength: 640
1261
+ },
1262
+ description: {
1263
+ type: "string",
1264
+ description: "Free-form profile description text.",
1265
+ maxGraphemes: 256,
1266
+ maxLength: 2560
1267
+ },
1268
+ pronouns: {
1269
+ type: "string",
1270
+ description: "Free-form pronouns text.",
1271
+ maxGraphemes: 20,
1272
+ maxLength: 200
1273
+ },
1274
+ website: {
1275
+ type: "string",
1276
+ format: "uri"
1277
+ },
1278
+ avatar: {
1279
+ type: "union",
1280
+ refs: [
1281
+ "org.hypercerts.defs#uri",
1282
+ "org.hypercerts.defs#smallImage"
1283
+ ],
1284
+ description: "Small image to be displayed next to posts from account. AKA, 'profile picture'"
1285
+ },
1286
+ banner: {
1287
+ type: "union",
1288
+ refs: [
1289
+ "org.hypercerts.defs#uri",
1290
+ "org.hypercerts.defs#largeImage"
1291
+ ],
1292
+ description: "Larger horizontal image to display behind profile view."
1293
+ },
1294
+ createdAt: {
1295
+ type: "string",
1296
+ format: "datetime"
1297
+ }
1298
+ }
1299
+ }
1300
+ }
1301
+ };
1302
+ var ACTOR_PROFILE_LEXICON_JSON = {
1303
+ lexicon: lexicon$h,
1304
+ id: id$z,
1305
+ defs: defs$j
1306
+ };
1307
+
1158
1308
  var lexicon$g = 1;
1159
- var id$w = "app.certified.badge.award";
1309
+ var id$y = "app.certified.badge.award";
1160
1310
  var defs$i = {
1161
1311
  main: {
1162
1312
  type: "record",
@@ -1198,12 +1348,12 @@ var defs$i = {
1198
1348
  };
1199
1349
  var BADGE_AWARD_LEXICON_JSON = {
1200
1350
  lexicon: lexicon$g,
1201
- id: id$w,
1351
+ id: id$y,
1202
1352
  defs: defs$i
1203
1353
  };
1204
1354
 
1205
1355
  var lexicon$f = 1;
1206
- var id$v = "app.certified.badge.definition";
1356
+ var id$x = "app.certified.badge.definition";
1207
1357
  var defs$h = {
1208
1358
  main: {
1209
1359
  type: "record",
@@ -1260,12 +1410,12 @@ var defs$h = {
1260
1410
  };
1261
1411
  var BADGE_DEFINITION_LEXICON_JSON = {
1262
1412
  lexicon: lexicon$f,
1263
- id: id$v,
1413
+ id: id$x,
1264
1414
  defs: defs$h
1265
1415
  };
1266
1416
 
1267
1417
  var lexicon$e = 1;
1268
- var id$u = "app.certified.badge.response";
1418
+ var id$w = "app.certified.badge.response";
1269
1419
  var defs$g = {
1270
1420
  main: {
1271
1421
  type: "record",
@@ -1307,29 +1457,39 @@ var defs$g = {
1307
1457
  };
1308
1458
  var BADGE_RESPONSE_LEXICON_JSON = {
1309
1459
  lexicon: lexicon$e,
1310
- id: id$u,
1460
+ id: id$w,
1311
1461
  defs: defs$g
1312
1462
  };
1313
1463
 
1314
1464
  var lexicon$d = 1;
1315
- var id$t = "app.certified.defs";
1465
+ var id$v = "app.certified.defs";
1316
1466
  var description$1 = "Common type definitions used across certified protocols.";
1317
1467
  var defs$f = {
1318
1468
  did: {
1319
- type: "string",
1320
- format: "did",
1321
- description: "A Decentralized Identifier (DID) string."
1469
+ type: "object",
1470
+ description: "A Decentralized Identifier (DID) string.",
1471
+ required: [
1472
+ "did"
1473
+ ],
1474
+ properties: {
1475
+ did: {
1476
+ type: "string",
1477
+ format: "did",
1478
+ description: "The DID string value.",
1479
+ maxLength: 256
1480
+ }
1481
+ }
1322
1482
  }
1323
1483
  };
1324
1484
  var CERTIFIED_DEFS_LEXICON_JSON = {
1325
1485
  lexicon: lexicon$d,
1326
- id: id$t,
1486
+ id: id$v,
1327
1487
  description: description$1,
1328
1488
  defs: defs$f
1329
1489
  };
1330
1490
 
1331
1491
  var lexicon$c = 1;
1332
- var id$s = "app.certified.location";
1492
+ var id$u = "app.certified.location";
1333
1493
  var defs$e = {
1334
1494
  main: {
1335
1495
  type: "record",
@@ -1412,12 +1572,12 @@ var defs$e = {
1412
1572
  };
1413
1573
  var LOCATION_LEXICON_JSON = {
1414
1574
  lexicon: lexicon$c,
1415
- id: id$s,
1575
+ id: id$u,
1416
1576
  defs: defs$e
1417
1577
  };
1418
1578
 
1419
1579
  var lexicon$b = 1;
1420
- var id$r = "com.atproto.repo.strongRef";
1580
+ var id$t = "com.atproto.repo.strongRef";
1421
1581
  var description = "A URI with a content-hash fingerprint.";
1422
1582
  var defs$d = {
1423
1583
  main: {
@@ -1440,13 +1600,13 @@ var defs$d = {
1440
1600
  };
1441
1601
  var STRONG_REF_LEXICON_JSON = {
1442
1602
  lexicon: lexicon$b,
1443
- id: id$r,
1603
+ id: id$t,
1444
1604
  description: description,
1445
1605
  defs: defs$d
1446
1606
  };
1447
1607
 
1448
1608
  var lexicon$a = 1;
1449
- var id$q = "org.hypercerts.claim.activity";
1609
+ var id$s = "org.hypercerts.claim.activity";
1450
1610
  var defs$c = {
1451
1611
  main: {
1452
1612
  type: "record",
@@ -1577,30 +1737,59 @@ var defs$c = {
1577
1737
  }
1578
1738
  },
1579
1739
  contributorIdentity: {
1580
- type: "string",
1581
- description: "Contributor information as a string (DID or identifier)."
1740
+ type: "object",
1741
+ description: "Contributor information as a string (DID or identifier).",
1742
+ required: [
1743
+ "identity"
1744
+ ],
1745
+ properties: {
1746
+ identity: {
1747
+ type: "string",
1748
+ description: "The contributor identity string (DID or identifier).",
1749
+ maxLength: 1000,
1750
+ maxGraphemes: 100
1751
+ }
1752
+ }
1582
1753
  },
1583
1754
  contributorRole: {
1584
- type: "string",
1755
+ type: "object",
1585
1756
  description: "Contribution details as a string.",
1586
- maxLength: 10000,
1587
- maxGraphemes: 1000
1757
+ required: [
1758
+ "role"
1759
+ ],
1760
+ properties: {
1761
+ role: {
1762
+ type: "string",
1763
+ description: "The contribution role or details.",
1764
+ maxLength: 1000,
1765
+ maxGraphemes: 100
1766
+ }
1767
+ }
1588
1768
  },
1589
1769
  workScopeString: {
1590
- type: "string",
1770
+ type: "object",
1591
1771
  description: "A free-form string describing the work scope for simple or legacy scopes.",
1592
- maxLength: 10000,
1593
- maxGraphemes: 1000
1772
+ required: [
1773
+ "scope"
1774
+ ],
1775
+ properties: {
1776
+ scope: {
1777
+ type: "string",
1778
+ description: "The work scope description string.",
1779
+ maxLength: 1000,
1780
+ maxGraphemes: 100
1781
+ }
1782
+ }
1594
1783
  }
1595
1784
  };
1596
1785
  var ACTIVITY_LEXICON_JSON = {
1597
1786
  lexicon: lexicon$a,
1598
- id: id$q,
1787
+ id: id$s,
1599
1788
  defs: defs$c
1600
1789
  };
1601
1790
 
1602
1791
  var lexicon$9 = 1;
1603
- var id$p = "org.hypercerts.claim.attachment";
1792
+ var id$r = "org.hypercerts.claim.attachment";
1604
1793
  var defs$b = {
1605
1794
  main: {
1606
1795
  type: "record",
@@ -1689,12 +1878,12 @@ var defs$b = {
1689
1878
  };
1690
1879
  var ATTACHMENT_LEXICON_JSON = {
1691
1880
  lexicon: lexicon$9,
1692
- id: id$p,
1881
+ id: id$r,
1693
1882
  defs: defs$b
1694
1883
  };
1695
1884
 
1696
1885
  var lexicon$8 = 1;
1697
- var id$o = "org.hypercerts.claim.collection";
1886
+ var id$q = "org.hypercerts.claim.collection";
1698
1887
  var defs$a = {
1699
1888
  main: {
1700
1889
  type: "record",
@@ -1786,12 +1975,12 @@ var defs$a = {
1786
1975
  };
1787
1976
  var COLLECTION_LEXICON_JSON = {
1788
1977
  lexicon: lexicon$8,
1789
- id: id$o,
1978
+ id: id$q,
1790
1979
  defs: defs$a
1791
1980
  };
1792
1981
 
1793
1982
  var lexicon$7 = 1;
1794
- var id$n = "org.hypercerts.claim.contributionDetails";
1983
+ var id$p = "org.hypercerts.claim.contributionDetails";
1795
1984
  var defs$9 = {
1796
1985
  main: {
1797
1986
  type: "record",
@@ -1835,12 +2024,12 @@ var defs$9 = {
1835
2024
  };
1836
2025
  var CONTRIBUTION_DETAILS_LEXICON_JSON = {
1837
2026
  lexicon: lexicon$7,
1838
- id: id$n,
2027
+ id: id$p,
1839
2028
  defs: defs$9
1840
2029
  };
1841
2030
 
1842
2031
  var lexicon$6 = 1;
1843
- var id$m = "org.hypercerts.claim.contributorInformation";
2032
+ var id$o = "org.hypercerts.claim.contributorInformation";
1844
2033
  var defs$8 = {
1845
2034
  main: {
1846
2035
  type: "record",
@@ -1880,12 +2069,12 @@ var defs$8 = {
1880
2069
  };
1881
2070
  var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
1882
2071
  lexicon: lexicon$6,
1883
- id: id$m,
2072
+ id: id$o,
1884
2073
  defs: defs$8
1885
2074
  };
1886
2075
 
1887
2076
  var lexicon$5 = 1;
1888
- var id$l = "org.hypercerts.claim.evaluation";
2077
+ var id$n = "org.hypercerts.claim.evaluation";
1889
2078
  var defs$7 = {
1890
2079
  score: {
1891
2080
  type: "object",
@@ -1984,12 +2173,12 @@ var defs$7 = {
1984
2173
  };
1985
2174
  var EVALUATION_LEXICON_JSON = {
1986
2175
  lexicon: lexicon$5,
1987
- id: id$l,
2176
+ id: id$n,
1988
2177
  defs: defs$7
1989
2178
  };
1990
2179
 
1991
2180
  var lexicon$4 = 1;
1992
- var id$k = "org.hypercerts.claim.measurement";
2181
+ var id$m = "org.hypercerts.claim.measurement";
1993
2182
  var defs$6 = {
1994
2183
  main: {
1995
2184
  type: "record",
@@ -2096,12 +2285,12 @@ var defs$6 = {
2096
2285
  };
2097
2286
  var MEASUREMENT_LEXICON_JSON = {
2098
2287
  lexicon: lexicon$4,
2099
- id: id$k,
2288
+ id: id$m,
2100
2289
  defs: defs$6
2101
2290
  };
2102
2291
 
2103
2292
  var lexicon$3 = 1;
2104
- var id$j = "org.hypercerts.claim.rights";
2293
+ var id$l = "org.hypercerts.claim.rights";
2105
2294
  var defs$5 = {
2106
2295
  main: {
2107
2296
  type: "record",
@@ -2149,12 +2338,12 @@ var defs$5 = {
2149
2338
  };
2150
2339
  var RIGHTS_LEXICON_JSON = {
2151
2340
  lexicon: lexicon$3,
2152
- id: id$j,
2341
+ id: id$l,
2153
2342
  defs: defs$5
2154
2343
  };
2155
2344
 
2156
2345
  var lexicon$2 = 1;
2157
- var id$i = "org.hypercerts.defs";
2346
+ var id$k = "org.hypercerts.defs";
2158
2347
  var defs$4 = {
2159
2348
  uri: {
2160
2349
  type: "object",
@@ -2248,12 +2437,12 @@ var defs$4 = {
2248
2437
  };
2249
2438
  var HYPERCERTS_DEFS_LEXICON_JSON = {
2250
2439
  lexicon: lexicon$2,
2251
- id: id$i,
2440
+ id: id$k,
2252
2441
  defs: defs$4
2253
2442
  };
2254
2443
 
2255
2444
  var lexicon$1 = 1;
2256
- var id$h = "org.hypercerts.funding.receipt";
2445
+ var id$j = "org.hypercerts.funding.receipt";
2257
2446
  var defs$3 = {
2258
2447
  main: {
2259
2448
  type: "record",
@@ -2324,12 +2513,12 @@ var defs$3 = {
2324
2513
  };
2325
2514
  var FUNDING_RECEIPT_LEXICON_JSON = {
2326
2515
  lexicon: lexicon$1,
2327
- id: id$h,
2516
+ id: id$j,
2328
2517
  defs: defs$3
2329
2518
  };
2330
2519
 
2331
2520
  var lexicon = 1;
2332
- var id$g = "org.hypercerts.helper.workScopeTag";
2521
+ var id$i = "org.hypercerts.helper.workScopeTag";
2333
2522
  var defs$2 = {
2334
2523
  main: {
2335
2524
  type: "record",
@@ -2397,18 +2586,36 @@ var defs$2 = {
2397
2586
  };
2398
2587
  var WORK_SCOPE_TAG_LEXICON_JSON = {
2399
2588
  lexicon: lexicon,
2400
- id: id$g,
2589
+ id: id$i,
2401
2590
  defs: defs$2
2402
2591
  };
2403
2592
 
2404
- const is$typed$f = is$typed$g, validate$f = validate$g;
2405
- const id$f = 'app.certified.badge.award';
2593
+ const is$typed$h = is$typed$i, validate$h = validate$i;
2594
+ const id$h = 'app.certified.actor.profile';
2595
+ const hashMain$f = 'main';
2596
+ function isMain$f(v) {
2597
+ return is$typed$h(v, id$h, hashMain$f);
2598
+ }
2599
+ function validateMain$f(v) {
2600
+ return validate$h(v, id$h, hashMain$f, true);
2601
+ }
2602
+
2603
+ var profile = /*#__PURE__*/Object.freeze({
2604
+ __proto__: null,
2605
+ isMain: isMain$f,
2606
+ isRecord: isMain$f,
2607
+ validateMain: validateMain$f,
2608
+ validateRecord: validateMain$f
2609
+ });
2610
+
2611
+ const is$typed$g = is$typed$i, validate$g = validate$i;
2612
+ const id$g = 'app.certified.badge.award';
2406
2613
  const hashMain$e = 'main';
2407
2614
  function isMain$e(v) {
2408
- return is$typed$f(v, id$f, hashMain$e);
2615
+ return is$typed$g(v, id$g, hashMain$e);
2409
2616
  }
2410
2617
  function validateMain$e(v) {
2411
- return validate$f(v, id$f, hashMain$e, true);
2618
+ return validate$g(v, id$g, hashMain$e, true);
2412
2619
  }
2413
2620
 
2414
2621
  var award = /*#__PURE__*/Object.freeze({
@@ -2419,14 +2626,14 @@ var award = /*#__PURE__*/Object.freeze({
2419
2626
  validateRecord: validateMain$e
2420
2627
  });
2421
2628
 
2422
- const is$typed$e = is$typed$g, validate$e = validate$g;
2423
- const id$e = 'app.certified.badge.definition';
2629
+ const is$typed$f = is$typed$i, validate$f = validate$i;
2630
+ const id$f = 'app.certified.badge.definition';
2424
2631
  const hashMain$d = 'main';
2425
2632
  function isMain$d(v) {
2426
- return is$typed$e(v, id$e, hashMain$d);
2633
+ return is$typed$f(v, id$f, hashMain$d);
2427
2634
  }
2428
2635
  function validateMain$d(v) {
2429
- return validate$e(v, id$e, hashMain$d, true);
2636
+ return validate$f(v, id$f, hashMain$d, true);
2430
2637
  }
2431
2638
 
2432
2639
  var definition = /*#__PURE__*/Object.freeze({
@@ -2437,14 +2644,14 @@ var definition = /*#__PURE__*/Object.freeze({
2437
2644
  validateRecord: validateMain$d
2438
2645
  });
2439
2646
 
2440
- const is$typed$d = is$typed$g, validate$d = validate$g;
2441
- const id$d = 'app.certified.badge.response';
2647
+ const is$typed$e = is$typed$i, validate$e = validate$i;
2648
+ const id$e = 'app.certified.badge.response';
2442
2649
  const hashMain$c = 'main';
2443
2650
  function isMain$c(v) {
2444
- return is$typed$d(v, id$d, hashMain$c);
2651
+ return is$typed$e(v, id$e, hashMain$c);
2445
2652
  }
2446
2653
  function validateMain$c(v) {
2447
- return validate$d(v, id$d, hashMain$c, true);
2654
+ return validate$e(v, id$e, hashMain$c, true);
2448
2655
  }
2449
2656
 
2450
2657
  var response = /*#__PURE__*/Object.freeze({
@@ -2455,11 +2662,23 @@ var response = /*#__PURE__*/Object.freeze({
2455
2662
  validateRecord: validateMain$c
2456
2663
  });
2457
2664
 
2665
+ const is$typed$d = is$typed$i, validate$d = validate$i;
2666
+ const id$d = 'app.certified.defs';
2667
+ const hashDid = 'did';
2668
+ function isDid(v) {
2669
+ return is$typed$d(v, id$d, hashDid);
2670
+ }
2671
+ function validateDid(v) {
2672
+ return validate$d(v, id$d, hashDid);
2673
+ }
2674
+
2458
2675
  var defs$1 = /*#__PURE__*/Object.freeze({
2459
- __proto__: null
2676
+ __proto__: null,
2677
+ isDid: isDid,
2678
+ validateDid: validateDid
2460
2679
  });
2461
2680
 
2462
- const is$typed$c = is$typed$g, validate$c = validate$g;
2681
+ const is$typed$c = is$typed$i, validate$c = validate$i;
2463
2682
  const id$c = 'app.certified.location';
2464
2683
  const hashMain$b = 'main';
2465
2684
  function isMain$b(v) {
@@ -2486,7 +2705,7 @@ var location = /*#__PURE__*/Object.freeze({
2486
2705
  validateString: validateString
2487
2706
  });
2488
2707
 
2489
- const is$typed$b = is$typed$g, validate$b = validate$g;
2708
+ const is$typed$b = is$typed$i, validate$b = validate$i;
2490
2709
  const id$b = 'com.atproto.repo.strongRef';
2491
2710
  const hashMain$a = 'main';
2492
2711
  function isMain$a(v) {
@@ -2502,7 +2721,7 @@ var strongRef = /*#__PURE__*/Object.freeze({
2502
2721
  validateMain: validateMain$a
2503
2722
  });
2504
2723
 
2505
- const is$typed$a = is$typed$g, validate$a = validate$g;
2724
+ const is$typed$a = is$typed$i, validate$a = validate$i;
2506
2725
  const id$a = 'org.hypercerts.claim.activity';
2507
2726
  const hashMain$9 = 'main';
2508
2727
  function isMain$9(v) {
@@ -2518,18 +2737,45 @@ function isContributor(v) {
2518
2737
  function validateContributor(v) {
2519
2738
  return validate$a(v, id$a, hashContributor);
2520
2739
  }
2740
+ const hashContributorIdentity = 'contributorIdentity';
2741
+ function isContributorIdentity(v) {
2742
+ return is$typed$a(v, id$a, hashContributorIdentity);
2743
+ }
2744
+ function validateContributorIdentity(v) {
2745
+ return validate$a(v, id$a, hashContributorIdentity);
2746
+ }
2747
+ const hashContributorRole = 'contributorRole';
2748
+ function isContributorRole(v) {
2749
+ return is$typed$a(v, id$a, hashContributorRole);
2750
+ }
2751
+ function validateContributorRole(v) {
2752
+ return validate$a(v, id$a, hashContributorRole);
2753
+ }
2754
+ const hashWorkScopeString = 'workScopeString';
2755
+ function isWorkScopeString(v) {
2756
+ return is$typed$a(v, id$a, hashWorkScopeString);
2757
+ }
2758
+ function validateWorkScopeString(v) {
2759
+ return validate$a(v, id$a, hashWorkScopeString);
2760
+ }
2521
2761
 
2522
2762
  var activity = /*#__PURE__*/Object.freeze({
2523
2763
  __proto__: null,
2524
2764
  isContributor: isContributor,
2765
+ isContributorIdentity: isContributorIdentity,
2766
+ isContributorRole: isContributorRole,
2525
2767
  isMain: isMain$9,
2526
2768
  isRecord: isMain$9,
2769
+ isWorkScopeString: isWorkScopeString,
2527
2770
  validateContributor: validateContributor,
2771
+ validateContributorIdentity: validateContributorIdentity,
2772
+ validateContributorRole: validateContributorRole,
2528
2773
  validateMain: validateMain$9,
2529
- validateRecord: validateMain$9
2774
+ validateRecord: validateMain$9,
2775
+ validateWorkScopeString: validateWorkScopeString
2530
2776
  });
2531
2777
 
2532
- const is$typed$9 = is$typed$g, validate$9 = validate$g;
2778
+ const is$typed$9 = is$typed$i, validate$9 = validate$i;
2533
2779
  const id$9 = 'org.hypercerts.claim.attachment';
2534
2780
  const hashMain$8 = 'main';
2535
2781
  function isMain$8(v) {
@@ -2547,7 +2793,7 @@ var attachment = /*#__PURE__*/Object.freeze({
2547
2793
  validateRecord: validateMain$8
2548
2794
  });
2549
2795
 
2550
- const is$typed$8 = is$typed$g, validate$8 = validate$g;
2796
+ const is$typed$8 = is$typed$i, validate$8 = validate$i;
2551
2797
  const id$8 = 'org.hypercerts.claim.collection';
2552
2798
  const hashMain$7 = 'main';
2553
2799
  function isMain$7(v) {
@@ -2574,7 +2820,7 @@ var collection = /*#__PURE__*/Object.freeze({
2574
2820
  validateRecord: validateMain$7
2575
2821
  });
2576
2822
 
2577
- const is$typed$7 = is$typed$g, validate$7 = validate$g;
2823
+ const is$typed$7 = is$typed$i, validate$7 = validate$i;
2578
2824
  const id$7 = 'org.hypercerts.claim.contributionDetails';
2579
2825
  const hashMain$6 = 'main';
2580
2826
  function isMain$6(v) {
@@ -2592,7 +2838,7 @@ var contributionDetails = /*#__PURE__*/Object.freeze({
2592
2838
  validateRecord: validateMain$6
2593
2839
  });
2594
2840
 
2595
- const is$typed$6 = is$typed$g, validate$6 = validate$g;
2841
+ const is$typed$6 = is$typed$i, validate$6 = validate$i;
2596
2842
  const id$6 = 'org.hypercerts.claim.contributorInformation';
2597
2843
  const hashMain$5 = 'main';
2598
2844
  function isMain$5(v) {
@@ -2610,7 +2856,7 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
2610
2856
  validateRecord: validateMain$5
2611
2857
  });
2612
2858
 
2613
- const is$typed$5 = is$typed$g, validate$5 = validate$g;
2859
+ const is$typed$5 = is$typed$i, validate$5 = validate$i;
2614
2860
  const id$5 = 'org.hypercerts.claim.evaluation';
2615
2861
  const hashScore = 'score';
2616
2862
  function isScore(v) {
@@ -2637,7 +2883,7 @@ var evaluation = /*#__PURE__*/Object.freeze({
2637
2883
  validateScore: validateScore
2638
2884
  });
2639
2885
 
2640
- const is$typed$4 = is$typed$g, validate$4 = validate$g;
2886
+ const is$typed$4 = is$typed$i, validate$4 = validate$i;
2641
2887
  const id$4 = 'org.hypercerts.claim.measurement';
2642
2888
  const hashMain$3 = 'main';
2643
2889
  function isMain$3(v) {
@@ -2655,7 +2901,7 @@ var measurement = /*#__PURE__*/Object.freeze({
2655
2901
  validateRecord: validateMain$3
2656
2902
  });
2657
2903
 
2658
- const is$typed$3 = is$typed$g, validate$3 = validate$g;
2904
+ const is$typed$3 = is$typed$i, validate$3 = validate$i;
2659
2905
  const id$3 = 'org.hypercerts.claim.rights';
2660
2906
  const hashMain$2 = 'main';
2661
2907
  function isMain$2(v) {
@@ -2673,7 +2919,7 @@ var rights = /*#__PURE__*/Object.freeze({
2673
2919
  validateRecord: validateMain$2
2674
2920
  });
2675
2921
 
2676
- const is$typed$2 = is$typed$g, validate$2 = validate$g;
2922
+ const is$typed$2 = is$typed$i, validate$2 = validate$i;
2677
2923
  const id$2 = 'org.hypercerts.defs';
2678
2924
  const hashUri = 'uri';
2679
2925
  function isUri(v) {
@@ -2725,7 +2971,7 @@ var defs = /*#__PURE__*/Object.freeze({
2725
2971
  validateUri: validateUri
2726
2972
  });
2727
2973
 
2728
- const is$typed$1 = is$typed$g, validate$1 = validate$g;
2974
+ const is$typed$1 = is$typed$i, validate$1 = validate$i;
2729
2975
  const id$1 = 'org.hypercerts.funding.receipt';
2730
2976
  const hashMain$1 = 'main';
2731
2977
  function isMain$1(v) {
@@ -2743,7 +2989,7 @@ var receipt = /*#__PURE__*/Object.freeze({
2743
2989
  validateRecord: validateMain$1
2744
2990
  });
2745
2991
 
2746
- const is$typed = is$typed$g, validate = validate$g;
2992
+ const is$typed = is$typed$i, validate = validate$i;
2747
2993
  const id = 'org.hypercerts.helper.workScopeTag';
2748
2994
  const hashMain = 'main';
2749
2995
  function isMain(v) {
@@ -2767,7 +3013,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
2767
3013
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
2768
3014
  *
2769
3015
  * This file is automatically generated by scripts/generate-exports.js
2770
- * Generated: 2026-01-25T04:32:42.985Z
3016
+ * Generated: 2026-02-10T10:47:30.525Z
2771
3017
  *
2772
3018
  * To regenerate this file, run:
2773
3019
  * npm run gen-api
@@ -2784,6 +3030,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
2784
3030
  * @packageDocumentation
2785
3031
  */
2786
3032
  // Individual NSID constants
3033
+ const ACTOR_PROFILE_NSID = "app.certified.actor.profile";
2787
3034
  const BADGE_AWARD_NSID = "app.certified.badge.award";
2788
3035
  const BADGE_DEFINITION_NSID = "app.certified.badge.definition";
2789
3036
  const BADGE_RESPONSE_NSID = "app.certified.badge.response";
@@ -2808,6 +3055,7 @@ const WORK_SCOPE_TAG_NSID = "org.hypercerts.helper.workScopeTag";
2808
3055
  * correct collection names.
2809
3056
  */
2810
3057
  const HYPERCERTS_NSIDS = {
3058
+ ACTOR_PROFILE: ACTOR_PROFILE_NSID,
2811
3059
  BADGE_AWARD: BADGE_AWARD_NSID,
2812
3060
  BADGE_DEFINITION: BADGE_DEFINITION_NSID,
2813
3061
  BADGE_RESPONSE: BADGE_RESPONSE_NSID,
@@ -2830,6 +3078,7 @@ const HYPERCERTS_NSIDS = {
2830
3078
  * Lexicon JSON objects organized by semantic record type.
2831
3079
  */
2832
3080
  const HYPERCERTS_LEXICON_JSON = {
3081
+ ACTOR_PROFILE: ACTOR_PROFILE_LEXICON_JSON,
2833
3082
  BADGE_AWARD: BADGE_AWARD_LEXICON_JSON,
2834
3083
  BADGE_DEFINITION: BADGE_DEFINITION_LEXICON_JSON,
2835
3084
  BADGE_RESPONSE: BADGE_RESPONSE_LEXICON_JSON,
@@ -2849,6 +3098,7 @@ const HYPERCERTS_LEXICON_JSON = {
2849
3098
  WORK_SCOPE_TAG: WORK_SCOPE_TAG_LEXICON_JSON,
2850
3099
  };
2851
3100
  // Individual lexicon objects (from lexicons.get())
3101
+ const ACTOR_PROFILE_LEXICON_DOC = lexicons.get(ACTOR_PROFILE_NSID);
2852
3102
  const BADGE_AWARD_LEXICON_DOC = lexicons.get(BADGE_AWARD_NSID);
2853
3103
  const BADGE_DEFINITION_LEXICON_DOC = lexicons.get(BADGE_DEFINITION_NSID);
2854
3104
  const BADGE_RESPONSE_LEXICON_DOC = lexicons.get(BADGE_RESPONSE_NSID);
@@ -2870,6 +3120,7 @@ const WORK_SCOPE_TAG_LEXICON_DOC = lexicons.get(WORK_SCOPE_TAG_NSID);
2870
3120
  * Lexicon document objects organized by semantic record type.
2871
3121
  */
2872
3122
  const HYPERCERTS_LEXICON_DOC = {
3123
+ ACTOR_PROFILE: ACTOR_PROFILE_LEXICON_DOC,
2873
3124
  BADGE_AWARD: BADGE_AWARD_LEXICON_DOC,
2874
3125
  BADGE_DEFINITION: BADGE_DEFINITION_LEXICON_DOC,
2875
3126
  BADGE_RESPONSE: BADGE_RESPONSE_LEXICON_DOC,
@@ -2892,9 +3143,13 @@ const HYPERCERTS_LEXICON_DOC = {
2892
3143
  exports.ACTIVITY_LEXICON_DOC = ACTIVITY_LEXICON_DOC;
2893
3144
  exports.ACTIVITY_LEXICON_JSON = ACTIVITY_LEXICON_JSON;
2894
3145
  exports.ACTIVITY_NSID = ACTIVITY_NSID;
3146
+ exports.ACTOR_PROFILE_LEXICON_DOC = ACTOR_PROFILE_LEXICON_DOC;
3147
+ exports.ACTOR_PROFILE_LEXICON_JSON = ACTOR_PROFILE_LEXICON_JSON;
3148
+ exports.ACTOR_PROFILE_NSID = ACTOR_PROFILE_NSID;
2895
3149
  exports.ATTACHMENT_LEXICON_DOC = ATTACHMENT_LEXICON_DOC;
2896
3150
  exports.ATTACHMENT_LEXICON_JSON = ATTACHMENT_LEXICON_JSON;
2897
3151
  exports.ATTACHMENT_NSID = ATTACHMENT_NSID;
3152
+ exports.AppCertifiedActorProfile = profile;
2898
3153
  exports.AppCertifiedBadgeAward = award;
2899
3154
  exports.AppCertifiedBadgeDefinition = definition;
2900
3155
  exports.AppCertifiedBadgeResponse = response;
@@ -2964,8 +3219,8 @@ exports.WORK_SCOPE_TAG_LEXICON_DOC = WORK_SCOPE_TAG_LEXICON_DOC;
2964
3219
  exports.WORK_SCOPE_TAG_LEXICON_JSON = WORK_SCOPE_TAG_LEXICON_JSON;
2965
3220
  exports.WORK_SCOPE_TAG_NSID = WORK_SCOPE_TAG_NSID;
2966
3221
  exports.asPredicate = asPredicate;
2967
- exports.is$typed = is$typed$g;
3222
+ exports.is$typed = is$typed$i;
2968
3223
  exports.lexicons = lexicons;
2969
3224
  exports.maybe$typed = maybe$typed;
2970
- exports.validate = validate$g;
3225
+ exports.validate = validate$i;
2971
3226
  //# sourceMappingURL=index.cjs.map