@hypercerts-org/lexicon 0.10.0-beta.7 → 0.10.0-beta.8

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 +26 -0
  2. package/SCHEMAS.md +12 -8
  3. package/dist/exports.d.ts +143 -3
  4. package/dist/exports.d.ts.map +1 -1
  5. package/dist/generated/exports.d.ts +143 -3
  6. package/dist/generated/exports.d.ts.map +1 -1
  7. package/dist/generated/lexicons.d.ts +276 -6
  8. package/dist/generated/lexicons.d.ts.map +1 -1
  9. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +3 -1
  10. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  11. package/dist/generated/types/org/hypercerts/defs.d.ts +44 -0
  12. package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
  13. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts +31 -0
  14. package/dist/generated/types/org/hypercerts/helper/workScopeTag.d.ts.map +1 -0
  15. package/dist/index.cjs +615 -216
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.mjs +607 -212
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/lexicons.cjs +162 -3
  20. package/dist/lexicons.cjs.map +1 -1
  21. package/dist/lexicons.d.ts +276 -6
  22. package/dist/lexicons.d.ts.map +1 -1
  23. package/dist/lexicons.mjs +162 -3
  24. package/dist/lexicons.mjs.map +1 -1
  25. package/dist/types/org/hypercerts/claim/activity.d.ts +3 -1
  26. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  27. package/dist/types/org/hypercerts/defs.d.ts +44 -0
  28. package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
  29. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts +31 -0
  30. package/dist/types/org/hypercerts/helper/workScopeTag.d.ts.map +1 -0
  31. package/lexicons/org/hypercerts/claim/activity.json +8 -3
  32. package/lexicons/org/hypercerts/defs.json +88 -0
  33. package/lexicons/org/hypercerts/helper/workScopeTag.json +65 -0
  34. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var lexicon$g = require('@atproto/lexicon');
3
+ var lexicon$h = 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$f(v, id, hash) {
21
+ function is$typed$g(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) {
@@ -319,9 +319,14 @@ const schemaDict = {
319
319
  description: 'The hypercert visual representation as a URI or image blob.',
320
320
  },
321
321
  workScope: {
322
- type: 'ref',
323
- ref: 'lex:com.atproto.repo.strongRef',
324
- description: 'A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions.',
322
+ type: 'union',
323
+ refs: [
324
+ 'lex:org.hypercerts.defs#workScopeAll',
325
+ 'lex:org.hypercerts.defs#workScopeAny',
326
+ 'lex:org.hypercerts.defs#workScopeNot',
327
+ 'lex:org.hypercerts.defs#workScopeAtom',
328
+ ],
329
+ description: 'Work scope logic expression using boolean operators (all/any/not) and atomic scope references.',
325
330
  },
326
331
  startDate: {
327
332
  type: 'string',
@@ -901,6 +906,94 @@ const schemaDict = {
901
906
  },
902
907
  },
903
908
  },
909
+ workScopeAll: {
910
+ type: 'object',
911
+ required: ['op', 'args'],
912
+ description: 'Logical AND operation: all arguments must be satisfied.',
913
+ properties: {
914
+ op: {
915
+ type: 'string',
916
+ const: 'all',
917
+ description: "Operator type: 'all' (logical AND)",
918
+ },
919
+ args: {
920
+ type: 'array',
921
+ items: {
922
+ type: 'union',
923
+ refs: [
924
+ 'lex:org.hypercerts.defs#workScopeAll',
925
+ 'lex:org.hypercerts.defs#workScopeAny',
926
+ 'lex:org.hypercerts.defs#workScopeNot',
927
+ 'lex:org.hypercerts.defs#workScopeAtom',
928
+ ],
929
+ },
930
+ minLength: 1,
931
+ maxLength: 100,
932
+ description: 'Array of work scope expressions that must all be satisfied',
933
+ },
934
+ },
935
+ },
936
+ workScopeAny: {
937
+ type: 'object',
938
+ required: ['op', 'args'],
939
+ description: 'Logical OR operation: at least one argument must be satisfied.',
940
+ properties: {
941
+ op: {
942
+ type: 'string',
943
+ const: 'any',
944
+ description: "Operator type: 'any' (logical OR)",
945
+ },
946
+ args: {
947
+ type: 'array',
948
+ items: {
949
+ type: 'union',
950
+ refs: [
951
+ 'lex:org.hypercerts.defs#workScopeAll',
952
+ 'lex:org.hypercerts.defs#workScopeAny',
953
+ 'lex:org.hypercerts.defs#workScopeNot',
954
+ 'lex:org.hypercerts.defs#workScopeAtom',
955
+ ],
956
+ },
957
+ minLength: 1,
958
+ maxLength: 100,
959
+ description: 'Array of work scope expressions, at least one of which must be satisfied',
960
+ },
961
+ },
962
+ },
963
+ workScopeNot: {
964
+ type: 'object',
965
+ required: ['op', 'arg'],
966
+ description: 'Logical NOT operation: the argument must not be satisfied.',
967
+ properties: {
968
+ op: {
969
+ type: 'string',
970
+ const: 'not',
971
+ description: "Operator type: 'not' (logical NOT)",
972
+ },
973
+ arg: {
974
+ type: 'union',
975
+ refs: [
976
+ 'lex:org.hypercerts.defs#workScopeAll',
977
+ 'lex:org.hypercerts.defs#workScopeAny',
978
+ 'lex:org.hypercerts.defs#workScopeNot',
979
+ 'lex:org.hypercerts.defs#workScopeAtom',
980
+ ],
981
+ description: 'Work scope expression that must not be satisfied',
982
+ },
983
+ },
984
+ },
985
+ workScopeAtom: {
986
+ type: 'object',
987
+ required: ['atom'],
988
+ description: 'Atomic scope reference: a strong reference to a scope record.',
989
+ properties: {
990
+ atom: {
991
+ type: 'ref',
992
+ ref: 'lex:com.atproto.repo.strongRef',
993
+ description: 'Strong reference to an org.hypercerts.helper.workScopeTag record',
994
+ },
995
+ },
996
+ },
904
997
  },
905
998
  },
906
999
  OrgHypercertsFundingReceipt: {
@@ -969,15 +1062,80 @@ const schemaDict = {
969
1062
  },
970
1063
  },
971
1064
  },
1065
+ OrgHypercertsHelperWorkScopeTag: {
1066
+ lexicon: 1,
1067
+ id: 'org.hypercerts.helper.workScopeTag',
1068
+ defs: {
1069
+ main: {
1070
+ type: 'record',
1071
+ description: 'A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels.',
1072
+ key: 'tid',
1073
+ record: {
1074
+ type: 'object',
1075
+ required: ['createdAt', 'key', 'label'],
1076
+ properties: {
1077
+ createdAt: {
1078
+ type: 'string',
1079
+ format: 'datetime',
1080
+ description: 'Client-declared timestamp when this record was originally created',
1081
+ },
1082
+ key: {
1083
+ type: 'string',
1084
+ description: "Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin').",
1085
+ maxLength: 120,
1086
+ },
1087
+ label: {
1088
+ type: 'string',
1089
+ description: 'Human-readable label for this scope.',
1090
+ maxLength: 200,
1091
+ },
1092
+ kind: {
1093
+ type: 'string',
1094
+ description: 'Category type of this scope. Recommended values: topic, language, domain, method, tag.',
1095
+ maxLength: 50,
1096
+ },
1097
+ description: {
1098
+ type: 'string',
1099
+ description: 'Optional longer description of this scope.',
1100
+ maxLength: 10000,
1101
+ maxGraphemes: 1000,
1102
+ },
1103
+ parent: {
1104
+ type: 'ref',
1105
+ ref: 'lex:com.atproto.repo.strongRef',
1106
+ description: 'Optional strong reference to a parent scope record for taxonomy/hierarchy support.',
1107
+ },
1108
+ aliases: {
1109
+ type: 'array',
1110
+ items: {
1111
+ type: 'string',
1112
+ maxLength: 200,
1113
+ },
1114
+ maxLength: 50,
1115
+ description: 'Optional array of alternative names or identifiers for this scope.',
1116
+ },
1117
+ externalReference: {
1118
+ type: 'union',
1119
+ refs: [
1120
+ 'lex:org.hypercerts.defs#uri',
1121
+ 'lex:org.hypercerts.defs#smallBlob',
1122
+ ],
1123
+ description: 'Optional external reference for this scope as a URI or blob.',
1124
+ },
1125
+ },
1126
+ },
1127
+ },
1128
+ },
1129
+ },
972
1130
  };
973
1131
  const schemas = Object.values(schemaDict);
974
- const lexicons = new lexicon$g.Lexicons(schemas);
975
- function validate$f(v, id, hash, requiredType) {
976
- return (requiredType ? is$typed$f : maybe$typed)(v, id, hash)
1132
+ const lexicons = new lexicon$h.Lexicons(schemas);
1133
+ function validate$g(v, id, hash, requiredType) {
1134
+ return (requiredType ? is$typed$g : maybe$typed)(v, id, hash)
977
1135
  ? lexicons.validate(`${id}#${hash}`, v)
978
1136
  : {
979
1137
  success: false,
980
- error: new lexicon$g.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
1138
+ error: new lexicon$h.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
981
1139
  };
982
1140
  }
983
1141
  const ids = {
@@ -997,11 +1155,12 @@ const ids = {
997
1155
  OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
998
1156
  OrgHypercertsDefs: 'org.hypercerts.defs',
999
1157
  OrgHypercertsFundingReceipt: 'org.hypercerts.funding.receipt',
1158
+ OrgHypercertsHelperWorkScopeTag: 'org.hypercerts.helper.workScopeTag',
1000
1159
  };
1001
1160
 
1002
- var lexicon$f = 1;
1003
- var id$u = "app.certified.badge.award";
1004
- var defs$h = {
1161
+ var lexicon$g = 1;
1162
+ var id$w = "app.certified.badge.award";
1163
+ var defs$i = {
1005
1164
  main: {
1006
1165
  type: "record",
1007
1166
  description: "Records a badge award to a user, project, or activity claim.",
@@ -1041,14 +1200,14 @@ var defs$h = {
1041
1200
  }
1042
1201
  };
1043
1202
  var BADGE_AWARD_LEXICON_JSON = {
1044
- lexicon: lexicon$f,
1045
- id: id$u,
1046
- defs: defs$h
1203
+ lexicon: lexicon$g,
1204
+ id: id$w,
1205
+ defs: defs$i
1047
1206
  };
1048
1207
 
1049
- var lexicon$e = 1;
1050
- var id$t = "app.certified.badge.definition";
1051
- var defs$g = {
1208
+ var lexicon$f = 1;
1209
+ var id$v = "app.certified.badge.definition";
1210
+ var defs$h = {
1052
1211
  main: {
1053
1212
  type: "record",
1054
1213
  description: "Defines a badge that can be awarded via badge award records to users, projects, or activity claims.",
@@ -1103,14 +1262,14 @@ var defs$g = {
1103
1262
  }
1104
1263
  };
1105
1264
  var BADGE_DEFINITION_LEXICON_JSON = {
1106
- lexicon: lexicon$e,
1107
- id: id$t,
1108
- defs: defs$g
1265
+ lexicon: lexicon$f,
1266
+ id: id$v,
1267
+ defs: defs$h
1109
1268
  };
1110
1269
 
1111
- var lexicon$d = 1;
1112
- var id$s = "app.certified.badge.response";
1113
- var defs$f = {
1270
+ var lexicon$e = 1;
1271
+ var id$u = "app.certified.badge.response";
1272
+ var defs$g = {
1114
1273
  main: {
1115
1274
  type: "record",
1116
1275
  description: "Recipient response to a badge award.",
@@ -1150,15 +1309,15 @@ var defs$f = {
1150
1309
  }
1151
1310
  };
1152
1311
  var BADGE_RESPONSE_LEXICON_JSON = {
1153
- lexicon: lexicon$d,
1154
- id: id$s,
1155
- defs: defs$f
1312
+ lexicon: lexicon$e,
1313
+ id: id$u,
1314
+ defs: defs$g
1156
1315
  };
1157
1316
 
1158
- var lexicon$c = 1;
1159
- var id$r = "app.certified.defs";
1317
+ var lexicon$d = 1;
1318
+ var id$t = "app.certified.defs";
1160
1319
  var description$1 = "Common type definitions used across certified protocols.";
1161
- var defs$e = {
1320
+ var defs$f = {
1162
1321
  did: {
1163
1322
  type: "string",
1164
1323
  format: "did",
@@ -1166,15 +1325,15 @@ var defs$e = {
1166
1325
  }
1167
1326
  };
1168
1327
  var CERTIFIED_DEFS_LEXICON_JSON = {
1169
- lexicon: lexicon$c,
1170
- id: id$r,
1328
+ lexicon: lexicon$d,
1329
+ id: id$t,
1171
1330
  description: description$1,
1172
- defs: defs$e
1331
+ defs: defs$f
1173
1332
  };
1174
1333
 
1175
- var lexicon$b = 1;
1176
- var id$q = "app.certified.location";
1177
- var defs$d = {
1334
+ var lexicon$c = 1;
1335
+ var id$s = "app.certified.location";
1336
+ var defs$e = {
1178
1337
  main: {
1179
1338
  type: "record",
1180
1339
  description: "A location reference",
@@ -1239,15 +1398,15 @@ var defs$d = {
1239
1398
  }
1240
1399
  };
1241
1400
  var LOCATION_LEXICON_JSON = {
1242
- lexicon: lexicon$b,
1243
- id: id$q,
1244
- defs: defs$d
1401
+ lexicon: lexicon$c,
1402
+ id: id$s,
1403
+ defs: defs$e
1245
1404
  };
1246
1405
 
1247
- var lexicon$a = 1;
1248
- var id$p = "com.atproto.repo.strongRef";
1406
+ var lexicon$b = 1;
1407
+ var id$r = "com.atproto.repo.strongRef";
1249
1408
  var description = "A URI with a content-hash fingerprint.";
1250
- var defs$c = {
1409
+ var defs$d = {
1251
1410
  main: {
1252
1411
  type: "object",
1253
1412
  required: [
@@ -1267,15 +1426,15 @@ var defs$c = {
1267
1426
  }
1268
1427
  };
1269
1428
  var STRONGREF_LEXICON_JSON = {
1270
- lexicon: lexicon$a,
1271
- id: id$p,
1429
+ lexicon: lexicon$b,
1430
+ id: id$r,
1272
1431
  description: description,
1273
- defs: defs$c
1432
+ defs: defs$d
1274
1433
  };
1275
1434
 
1276
- var lexicon$9 = 1;
1277
- var id$o = "org.hypercerts.claim.activity";
1278
- var defs$b = {
1435
+ var lexicon$a = 1;
1436
+ var id$q = "org.hypercerts.claim.activity";
1437
+ var defs$c = {
1279
1438
  main: {
1280
1439
  type: "record",
1281
1440
  description: "A hypercert record tracking impact work.",
@@ -1330,9 +1489,14 @@ var defs$b = {
1330
1489
  description: "The hypercert visual representation as a URI or image blob."
1331
1490
  },
1332
1491
  workScope: {
1333
- type: "ref",
1334
- ref: "com.atproto.repo.strongRef",
1335
- description: "A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions."
1492
+ type: "union",
1493
+ refs: [
1494
+ "org.hypercerts.defs#workScopeAll",
1495
+ "org.hypercerts.defs#workScopeAny",
1496
+ "org.hypercerts.defs#workScopeNot",
1497
+ "org.hypercerts.defs#workScopeAtom"
1498
+ ],
1499
+ description: "Work scope logic expression using boolean operators (all/any/not) and atomic scope references."
1336
1500
  },
1337
1501
  startDate: {
1338
1502
  type: "string",
@@ -1413,14 +1577,14 @@ var defs$b = {
1413
1577
  }
1414
1578
  };
1415
1579
  var ACTIVITY_LEXICON_JSON = {
1416
- lexicon: lexicon$9,
1417
- id: id$o,
1418
- defs: defs$b
1580
+ lexicon: lexicon$a,
1581
+ id: id$q,
1582
+ defs: defs$c
1419
1583
  };
1420
1584
 
1421
- var lexicon$8 = 1;
1422
- var id$n = "org.hypercerts.claim.collection";
1423
- var defs$a = {
1585
+ var lexicon$9 = 1;
1586
+ var id$p = "org.hypercerts.claim.collection";
1587
+ var defs$b = {
1424
1588
  main: {
1425
1589
  type: "record",
1426
1590
  description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.",
@@ -1505,14 +1669,14 @@ var defs$a = {
1505
1669
  }
1506
1670
  };
1507
1671
  var COLLECTION_LEXICON_JSON = {
1508
- lexicon: lexicon$8,
1509
- id: id$n,
1510
- defs: defs$a
1672
+ lexicon: lexicon$9,
1673
+ id: id$p,
1674
+ defs: defs$b
1511
1675
  };
1512
1676
 
1513
- var lexicon$7 = 1;
1514
- var id$m = "org.hypercerts.claim.contributionDetails";
1515
- var defs$9 = {
1677
+ var lexicon$8 = 1;
1678
+ var id$o = "org.hypercerts.claim.contributionDetails";
1679
+ var defs$a = {
1516
1680
  main: {
1517
1681
  type: "record",
1518
1682
  description: "Details about a specific contribution including role, description, and timeframe.",
@@ -1554,14 +1718,14 @@ var defs$9 = {
1554
1718
  }
1555
1719
  };
1556
1720
  var CONTRIBUTIONDETAILS_LEXICON_JSON = {
1557
- lexicon: lexicon$7,
1558
- id: id$m,
1559
- defs: defs$9
1721
+ lexicon: lexicon$8,
1722
+ id: id$o,
1723
+ defs: defs$a
1560
1724
  };
1561
1725
 
1562
- var lexicon$6 = 1;
1563
- var id$l = "org.hypercerts.claim.contributorInformation";
1564
- var defs$8 = {
1726
+ var lexicon$7 = 1;
1727
+ var id$n = "org.hypercerts.claim.contributorInformation";
1728
+ var defs$9 = {
1565
1729
  main: {
1566
1730
  type: "record",
1567
1731
  description: "Contributor information including identifier, display name, and image.",
@@ -1599,14 +1763,14 @@ var defs$8 = {
1599
1763
  }
1600
1764
  };
1601
1765
  var CONTRIBUTORINFORMATION_LEXICON_JSON = {
1602
- lexicon: lexicon$6,
1603
- id: id$l,
1604
- defs: defs$8
1766
+ lexicon: lexicon$7,
1767
+ id: id$n,
1768
+ defs: defs$9
1605
1769
  };
1606
1770
 
1607
- var lexicon$5 = 1;
1608
- var id$k = "org.hypercerts.claim.evaluation";
1609
- var defs$7 = {
1771
+ var lexicon$6 = 1;
1772
+ var id$m = "org.hypercerts.claim.evaluation";
1773
+ var defs$8 = {
1610
1774
  score: {
1611
1775
  type: "object",
1612
1776
  description: "Overall score for an evaluation on a numeric scale.",
@@ -1703,14 +1867,14 @@ var defs$7 = {
1703
1867
  }
1704
1868
  };
1705
1869
  var EVALUATION_LEXICON_JSON = {
1706
- lexicon: lexicon$5,
1707
- id: id$k,
1708
- defs: defs$7
1870
+ lexicon: lexicon$6,
1871
+ id: id$m,
1872
+ defs: defs$8
1709
1873
  };
1710
1874
 
1711
- var lexicon$4 = 1;
1712
- var id$j = "org.hypercerts.claim.evidence";
1713
- var defs$6 = {
1875
+ var lexicon$5 = 1;
1876
+ var id$l = "org.hypercerts.claim.evidence";
1877
+ var defs$7 = {
1714
1878
  main: {
1715
1879
  type: "record",
1716
1880
  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.",
@@ -1772,14 +1936,14 @@ var defs$6 = {
1772
1936
  }
1773
1937
  };
1774
1938
  var EVIDENCE_LEXICON_JSON = {
1775
- lexicon: lexicon$4,
1776
- id: id$j,
1777
- defs: defs$6
1939
+ lexicon: lexicon$5,
1940
+ id: id$l,
1941
+ defs: defs$7
1778
1942
  };
1779
1943
 
1780
- var lexicon$3 = 1;
1781
- var id$i = "org.hypercerts.claim.measurement";
1782
- var defs$5 = {
1944
+ var lexicon$4 = 1;
1945
+ var id$k = "org.hypercerts.claim.measurement";
1946
+ var defs$6 = {
1783
1947
  main: {
1784
1948
  type: "record",
1785
1949
  description: "Measurement data related to a hypercert record (e.g. an activity and its impact).",
@@ -1851,14 +2015,14 @@ var defs$5 = {
1851
2015
  }
1852
2016
  };
1853
2017
  var MEASUREMENT_LEXICON_JSON = {
1854
- lexicon: lexicon$3,
1855
- id: id$i,
1856
- defs: defs$5
2018
+ lexicon: lexicon$4,
2019
+ id: id$k,
2020
+ defs: defs$6
1857
2021
  };
1858
2022
 
1859
- var lexicon$2 = 1;
1860
- var id$h = "org.hypercerts.claim.rights";
1861
- var defs$4 = {
2023
+ var lexicon$3 = 1;
2024
+ var id$j = "org.hypercerts.claim.rights";
2025
+ var defs$5 = {
1862
2026
  main: {
1863
2027
  type: "record",
1864
2028
  description: "Describes the rights that a contributor and/or an owner has, such as whether the hypercert can be sold, transferred, and under what conditions.",
@@ -1904,14 +2068,14 @@ var defs$4 = {
1904
2068
  }
1905
2069
  };
1906
2070
  var RIGHTS_LEXICON_JSON = {
1907
- lexicon: lexicon$2,
1908
- id: id$h,
1909
- defs: defs$4
2071
+ lexicon: lexicon$3,
2072
+ id: id$j,
2073
+ defs: defs$5
1910
2074
  };
1911
2075
 
1912
- var lexicon$1 = 1;
1913
- var id$g = "org.hypercerts.defs";
1914
- var defs$3 = {
2076
+ var lexicon$2 = 1;
2077
+ var id$i = "org.hypercerts.defs";
2078
+ var defs$4 = {
1915
2079
  uri: {
1916
2080
  type: "object",
1917
2081
  required: [
@@ -2000,17 +2164,116 @@ var defs$3 = {
2000
2164
  description: "Image (up to 10MB)"
2001
2165
  }
2002
2166
  }
2167
+ },
2168
+ workScopeAll: {
2169
+ type: "object",
2170
+ required: [
2171
+ "op",
2172
+ "args"
2173
+ ],
2174
+ description: "Logical AND operation: all arguments must be satisfied.",
2175
+ properties: {
2176
+ op: {
2177
+ type: "string",
2178
+ "const": "all",
2179
+ description: "Operator type: 'all' (logical AND)"
2180
+ },
2181
+ args: {
2182
+ type: "array",
2183
+ items: {
2184
+ type: "union",
2185
+ refs: [
2186
+ "#workScopeAll",
2187
+ "#workScopeAny",
2188
+ "#workScopeNot",
2189
+ "#workScopeAtom"
2190
+ ]
2191
+ },
2192
+ minLength: 1,
2193
+ maxLength: 100,
2194
+ description: "Array of work scope expressions that must all be satisfied"
2195
+ }
2196
+ }
2197
+ },
2198
+ workScopeAny: {
2199
+ type: "object",
2200
+ required: [
2201
+ "op",
2202
+ "args"
2203
+ ],
2204
+ description: "Logical OR operation: at least one argument must be satisfied.",
2205
+ properties: {
2206
+ op: {
2207
+ type: "string",
2208
+ "const": "any",
2209
+ description: "Operator type: 'any' (logical OR)"
2210
+ },
2211
+ args: {
2212
+ type: "array",
2213
+ items: {
2214
+ type: "union",
2215
+ refs: [
2216
+ "#workScopeAll",
2217
+ "#workScopeAny",
2218
+ "#workScopeNot",
2219
+ "#workScopeAtom"
2220
+ ]
2221
+ },
2222
+ minLength: 1,
2223
+ maxLength: 100,
2224
+ description: "Array of work scope expressions, at least one of which must be satisfied"
2225
+ }
2226
+ }
2227
+ },
2228
+ workScopeNot: {
2229
+ type: "object",
2230
+ required: [
2231
+ "op",
2232
+ "arg"
2233
+ ],
2234
+ description: "Logical NOT operation: the argument must not be satisfied.",
2235
+ properties: {
2236
+ op: {
2237
+ type: "string",
2238
+ "const": "not",
2239
+ description: "Operator type: 'not' (logical NOT)"
2240
+ },
2241
+ arg: {
2242
+ type: "union",
2243
+ refs: [
2244
+ "#workScopeAll",
2245
+ "#workScopeAny",
2246
+ "#workScopeNot",
2247
+ "#workScopeAtom"
2248
+ ],
2249
+ description: "Work scope expression that must not be satisfied"
2250
+ }
2251
+ }
2252
+ },
2253
+ workScopeAtom: {
2254
+ type: "object",
2255
+ required: [
2256
+ "atom"
2257
+ ],
2258
+ description: "Atomic scope reference: a strong reference to a scope record.",
2259
+ properties: {
2260
+ atom: {
2261
+ type: "ref",
2262
+ ref: "com.atproto.repo.strongRef",
2263
+ description: "Strong reference to an org.hypercerts.helper.workScopeTag record"
2264
+ }
2265
+ }
2003
2266
  }
2004
2267
  };
2005
2268
  var HYPERCERTS_DEFS_LEXICON_JSON = {
2006
- lexicon: lexicon$1,
2007
- id: id$g,
2008
- defs: defs$3
2269
+ lexicon: lexicon$2,
2270
+ id: id$i,
2271
+ defs: defs$4
2009
2272
  };
2010
2273
 
2011
- var lexicon = 1;
2012
- var id$f = "org.hypercerts.funding.receipt";
2013
- var defs$2 = {
2274
+ var lexicon$1 = 1;
2275
+ var id$h = "org.hypercerts.funding.receipt";
2276
+ var defs$3 = {
2014
2277
  main: {
2015
2278
  type: "record",
2016
2279
  description: "Records a funding receipt for a payment from one user to another user. It may be recorded by the recipient, by the sender, or by a third party. The sender may remain anonymous.",
@@ -2079,13 +2342,104 @@ var defs$2 = {
2079
2342
  }
2080
2343
  };
2081
2344
  var FUNDING_RECEIPT_LEXICON_JSON = {
2345
+ lexicon: lexicon$1,
2346
+ id: id$h,
2347
+ defs: defs$3
2348
+ };
2349
+
2350
+ var lexicon = 1;
2351
+ var id$g = "org.hypercerts.helper.workScopeTag";
2352
+ var defs$2 = {
2353
+ main: {
2354
+ type: "record",
2355
+ description: "A reusable scope atom for work scope logic expressions. Scopes can represent topics, languages, domains, deliverables, methods, regions, tags, or other categorical labels.",
2356
+ key: "tid",
2357
+ record: {
2358
+ type: "object",
2359
+ required: [
2360
+ "createdAt",
2361
+ "key",
2362
+ "label"
2363
+ ],
2364
+ properties: {
2365
+ createdAt: {
2366
+ type: "string",
2367
+ format: "datetime",
2368
+ description: "Client-declared timestamp when this record was originally created"
2369
+ },
2370
+ key: {
2371
+ type: "string",
2372
+ description: "Lowercase, hyphenated machine-readable key for this scope (e.g., 'ipfs', 'go-lang', 'filecoin').",
2373
+ maxLength: 120
2374
+ },
2375
+ label: {
2376
+ type: "string",
2377
+ description: "Human-readable label for this scope.",
2378
+ maxLength: 200
2379
+ },
2380
+ kind: {
2381
+ type: "string",
2382
+ description: "Category type of this scope. Recommended values: topic, language, domain, method, tag.",
2383
+ maxLength: 50
2384
+ },
2385
+ description: {
2386
+ type: "string",
2387
+ description: "Optional longer description of this scope.",
2388
+ maxLength: 10000,
2389
+ maxGraphemes: 1000
2390
+ },
2391
+ parent: {
2392
+ type: "ref",
2393
+ ref: "com.atproto.repo.strongRef",
2394
+ description: "Optional strong reference to a parent scope record for taxonomy/hierarchy support."
2395
+ },
2396
+ aliases: {
2397
+ type: "array",
2398
+ items: {
2399
+ type: "string",
2400
+ maxLength: 200
2401
+ },
2402
+ maxLength: 50,
2403
+ description: "Optional array of alternative names or identifiers for this scope."
2404
+ },
2405
+ externalReference: {
2406
+ type: "union",
2407
+ refs: [
2408
+ "org.hypercerts.defs#uri",
2409
+ "org.hypercerts.defs#smallBlob"
2410
+ ],
2411
+ description: "Optional external reference for this scope as a URI or blob."
2412
+ }
2413
+ }
2414
+ }
2415
+ }
2416
+ };
2417
+ var HELPER_WORKSCOPETAG_LEXICON_JSON = {
2082
2418
  lexicon: lexicon,
2083
- id: id$f,
2419
+ id: id$g,
2084
2420
  defs: defs$2
2085
2421
  };
2086
2422
 
2087
- const is$typed$e = is$typed$f, validate$e = validate$f;
2088
- const id$e = 'app.certified.badge.award';
2423
+ const is$typed$f = is$typed$g, validate$f = validate$g;
2424
+ const id$f = 'app.certified.badge.award';
2425
+ const hashMain$e = 'main';
2426
+ function isMain$e(v) {
2427
+ return is$typed$f(v, id$f, hashMain$e);
2428
+ }
2429
+ function validateMain$e(v) {
2430
+ return validate$f(v, id$f, hashMain$e, true);
2431
+ }
2432
+
2433
+ var award = /*#__PURE__*/Object.freeze({
2434
+ __proto__: null,
2435
+ isMain: isMain$e,
2436
+ isRecord: isMain$e,
2437
+ validateMain: validateMain$e,
2438
+ validateRecord: validateMain$e
2439
+ });
2440
+
2441
+ const is$typed$e = is$typed$g, validate$e = validate$g;
2442
+ const id$e = 'app.certified.badge.definition';
2089
2443
  const hashMain$d = 'main';
2090
2444
  function isMain$d(v) {
2091
2445
  return is$typed$e(v, id$e, hashMain$d);
@@ -2094,7 +2448,7 @@ function validateMain$d(v) {
2094
2448
  return validate$e(v, id$e, hashMain$d, true);
2095
2449
  }
2096
2450
 
2097
- var award = /*#__PURE__*/Object.freeze({
2451
+ var definition = /*#__PURE__*/Object.freeze({
2098
2452
  __proto__: null,
2099
2453
  isMain: isMain$d,
2100
2454
  isRecord: isMain$d,
@@ -2102,8 +2456,8 @@ var award = /*#__PURE__*/Object.freeze({
2102
2456
  validateRecord: validateMain$d
2103
2457
  });
2104
2458
 
2105
- const is$typed$d = is$typed$f, validate$d = validate$f;
2106
- const id$d = 'app.certified.badge.definition';
2459
+ const is$typed$d = is$typed$g, validate$d = validate$g;
2460
+ const id$d = 'app.certified.badge.response';
2107
2461
  const hashMain$c = 'main';
2108
2462
  function isMain$c(v) {
2109
2463
  return is$typed$d(v, id$d, hashMain$c);
@@ -2112,7 +2466,7 @@ function validateMain$c(v) {
2112
2466
  return validate$d(v, id$d, hashMain$c, true);
2113
2467
  }
2114
2468
 
2115
- var definition = /*#__PURE__*/Object.freeze({
2469
+ var response = /*#__PURE__*/Object.freeze({
2116
2470
  __proto__: null,
2117
2471
  isMain: isMain$c,
2118
2472
  isRecord: isMain$c,
@@ -2120,8 +2474,12 @@ var definition = /*#__PURE__*/Object.freeze({
2120
2474
  validateRecord: validateMain$c
2121
2475
  });
2122
2476
 
2123
- const is$typed$c = is$typed$f, validate$c = validate$f;
2124
- const id$c = 'app.certified.badge.response';
2477
+ var defs$1 = /*#__PURE__*/Object.freeze({
2478
+ __proto__: null
2479
+ });
2480
+
2481
+ const is$typed$c = is$typed$g, validate$c = validate$g;
2482
+ const id$c = 'app.certified.location';
2125
2483
  const hashMain$b = 'main';
2126
2484
  function isMain$b(v) {
2127
2485
  return is$typed$c(v, id$c, hashMain$b);
@@ -2130,7 +2488,7 @@ function validateMain$b(v) {
2130
2488
  return validate$c(v, id$c, hashMain$b, true);
2131
2489
  }
2132
2490
 
2133
- var response = /*#__PURE__*/Object.freeze({
2491
+ var location = /*#__PURE__*/Object.freeze({
2134
2492
  __proto__: null,
2135
2493
  isMain: isMain$b,
2136
2494
  isRecord: isMain$b,
@@ -2138,46 +2496,51 @@ var response = /*#__PURE__*/Object.freeze({
2138
2496
  validateRecord: validateMain$b
2139
2497
  });
2140
2498
 
2141
- var defs$1 = /*#__PURE__*/Object.freeze({
2142
- __proto__: null
2143
- });
2144
-
2145
- const is$typed$b = is$typed$f, validate$b = validate$f;
2146
- const id$b = 'app.certified.location';
2499
+ const is$typed$b = is$typed$g, validate$b = validate$g;
2500
+ const id$b = 'com.atproto.repo.strongRef';
2147
2501
  const hashMain$a = 'main';
2148
2502
  function isMain$a(v) {
2149
2503
  return is$typed$b(v, id$b, hashMain$a);
2150
2504
  }
2151
2505
  function validateMain$a(v) {
2152
- return validate$b(v, id$b, hashMain$a, true);
2506
+ return validate$b(v, id$b, hashMain$a);
2153
2507
  }
2154
2508
 
2155
- var location = /*#__PURE__*/Object.freeze({
2509
+ var strongRef = /*#__PURE__*/Object.freeze({
2156
2510
  __proto__: null,
2157
2511
  isMain: isMain$a,
2158
- isRecord: isMain$a,
2159
- validateMain: validateMain$a,
2160
- validateRecord: validateMain$a
2512
+ validateMain: validateMain$a
2161
2513
  });
2162
2514
 
2163
- const is$typed$a = is$typed$f, validate$a = validate$f;
2164
- const id$a = 'com.atproto.repo.strongRef';
2515
+ const is$typed$a = is$typed$g, validate$a = validate$g;
2516
+ const id$a = 'org.hypercerts.claim.activity';
2165
2517
  const hashMain$9 = 'main';
2166
2518
  function isMain$9(v) {
2167
2519
  return is$typed$a(v, id$a, hashMain$9);
2168
2520
  }
2169
2521
  function validateMain$9(v) {
2170
- return validate$a(v, id$a, hashMain$9);
2522
+ return validate$a(v, id$a, hashMain$9, true);
2523
+ }
2524
+ const hashContributor = 'contributor';
2525
+ function isContributor(v) {
2526
+ return is$typed$a(v, id$a, hashContributor);
2527
+ }
2528
+ function validateContributor(v) {
2529
+ return validate$a(v, id$a, hashContributor);
2171
2530
  }
2172
2531
 
2173
- var strongRef = /*#__PURE__*/Object.freeze({
2532
+ var activity = /*#__PURE__*/Object.freeze({
2174
2533
  __proto__: null,
2534
+ isContributor: isContributor,
2175
2535
  isMain: isMain$9,
2176
- validateMain: validateMain$9
2536
+ isRecord: isMain$9,
2537
+ validateContributor: validateContributor,
2538
+ validateMain: validateMain$9,
2539
+ validateRecord: validateMain$9
2177
2540
  });
2178
2541
 
2179
- const is$typed$9 = is$typed$f, validate$9 = validate$f;
2180
- const id$9 = 'org.hypercerts.claim.activity';
2542
+ const is$typed$9 = is$typed$g, validate$9 = validate$g;
2543
+ const id$9 = 'org.hypercerts.claim.collection';
2181
2544
  const hashMain$8 = 'main';
2182
2545
  function isMain$8(v) {
2183
2546
  return is$typed$9(v, id$9, hashMain$8);
@@ -2185,26 +2548,26 @@ function isMain$8(v) {
2185
2548
  function validateMain$8(v) {
2186
2549
  return validate$9(v, id$9, hashMain$8, true);
2187
2550
  }
2188
- const hashContributor = 'contributor';
2189
- function isContributor(v) {
2190
- return is$typed$9(v, id$9, hashContributor);
2551
+ const hashItem = 'item';
2552
+ function isItem(v) {
2553
+ return is$typed$9(v, id$9, hashItem);
2191
2554
  }
2192
- function validateContributor(v) {
2193
- return validate$9(v, id$9, hashContributor);
2555
+ function validateItem(v) {
2556
+ return validate$9(v, id$9, hashItem);
2194
2557
  }
2195
2558
 
2196
- var activity = /*#__PURE__*/Object.freeze({
2559
+ var collection = /*#__PURE__*/Object.freeze({
2197
2560
  __proto__: null,
2198
- isContributor: isContributor,
2561
+ isItem: isItem,
2199
2562
  isMain: isMain$8,
2200
2563
  isRecord: isMain$8,
2201
- validateContributor: validateContributor,
2564
+ validateItem: validateItem,
2202
2565
  validateMain: validateMain$8,
2203
2566
  validateRecord: validateMain$8
2204
2567
  });
2205
2568
 
2206
- const is$typed$8 = is$typed$f, validate$8 = validate$f;
2207
- const id$8 = 'org.hypercerts.claim.collection';
2569
+ const is$typed$8 = is$typed$g, validate$8 = validate$g;
2570
+ const id$8 = 'org.hypercerts.claim.contributionDetails';
2208
2571
  const hashMain$7 = 'main';
2209
2572
  function isMain$7(v) {
2210
2573
  return is$typed$8(v, id$8, hashMain$7);
@@ -2212,26 +2575,17 @@ function isMain$7(v) {
2212
2575
  function validateMain$7(v) {
2213
2576
  return validate$8(v, id$8, hashMain$7, true);
2214
2577
  }
2215
- const hashItem = 'item';
2216
- function isItem(v) {
2217
- return is$typed$8(v, id$8, hashItem);
2218
- }
2219
- function validateItem(v) {
2220
- return validate$8(v, id$8, hashItem);
2221
- }
2222
2578
 
2223
- var collection = /*#__PURE__*/Object.freeze({
2579
+ var contributionDetails = /*#__PURE__*/Object.freeze({
2224
2580
  __proto__: null,
2225
- isItem: isItem,
2226
2581
  isMain: isMain$7,
2227
2582
  isRecord: isMain$7,
2228
- validateItem: validateItem,
2229
2583
  validateMain: validateMain$7,
2230
2584
  validateRecord: validateMain$7
2231
2585
  });
2232
2586
 
2233
- const is$typed$7 = is$typed$f, validate$7 = validate$f;
2234
- const id$7 = 'org.hypercerts.claim.contributionDetails';
2587
+ const is$typed$7 = is$typed$g, validate$7 = validate$g;
2588
+ const id$7 = 'org.hypercerts.claim.contributorInformation';
2235
2589
  const hashMain$6 = 'main';
2236
2590
  function isMain$6(v) {
2237
2591
  return is$typed$7(v, id$7, hashMain$6);
@@ -2240,7 +2594,7 @@ function validateMain$6(v) {
2240
2594
  return validate$7(v, id$7, hashMain$6, true);
2241
2595
  }
2242
2596
 
2243
- var contributionDetails = /*#__PURE__*/Object.freeze({
2597
+ var contributorInformation = /*#__PURE__*/Object.freeze({
2244
2598
  __proto__: null,
2245
2599
  isMain: isMain$6,
2246
2600
  isRecord: isMain$6,
@@ -2248,8 +2602,15 @@ var contributionDetails = /*#__PURE__*/Object.freeze({
2248
2602
  validateRecord: validateMain$6
2249
2603
  });
2250
2604
 
2251
- const is$typed$6 = is$typed$f, validate$6 = validate$f;
2252
- const id$6 = 'org.hypercerts.claim.contributorInformation';
2605
+ const is$typed$6 = is$typed$g, validate$6 = validate$g;
2606
+ const id$6 = 'org.hypercerts.claim.evaluation';
2607
+ const hashScore = 'score';
2608
+ function isScore(v) {
2609
+ return is$typed$6(v, id$6, hashScore);
2610
+ }
2611
+ function validateScore(v) {
2612
+ return validate$6(v, id$6, hashScore);
2613
+ }
2253
2614
  const hashMain$5 = 'main';
2254
2615
  function isMain$5(v) {
2255
2616
  return is$typed$6(v, id$6, hashMain$5);
@@ -2258,23 +2619,18 @@ function validateMain$5(v) {
2258
2619
  return validate$6(v, id$6, hashMain$5, true);
2259
2620
  }
2260
2621
 
2261
- var contributorInformation = /*#__PURE__*/Object.freeze({
2622
+ var evaluation = /*#__PURE__*/Object.freeze({
2262
2623
  __proto__: null,
2263
2624
  isMain: isMain$5,
2264
2625
  isRecord: isMain$5,
2626
+ isScore: isScore,
2265
2627
  validateMain: validateMain$5,
2266
- validateRecord: validateMain$5
2628
+ validateRecord: validateMain$5,
2629
+ validateScore: validateScore
2267
2630
  });
2268
2631
 
2269
- const is$typed$5 = is$typed$f, validate$5 = validate$f;
2270
- const id$5 = 'org.hypercerts.claim.evaluation';
2271
- const hashScore = 'score';
2272
- function isScore(v) {
2273
- return is$typed$5(v, id$5, hashScore);
2274
- }
2275
- function validateScore(v) {
2276
- return validate$5(v, id$5, hashScore);
2277
- }
2632
+ const is$typed$5 = is$typed$g, validate$5 = validate$g;
2633
+ const id$5 = 'org.hypercerts.claim.evidence';
2278
2634
  const hashMain$4 = 'main';
2279
2635
  function isMain$4(v) {
2280
2636
  return is$typed$5(v, id$5, hashMain$4);
@@ -2283,18 +2639,16 @@ function validateMain$4(v) {
2283
2639
  return validate$5(v, id$5, hashMain$4, true);
2284
2640
  }
2285
2641
 
2286
- var evaluation = /*#__PURE__*/Object.freeze({
2642
+ var evidence = /*#__PURE__*/Object.freeze({
2287
2643
  __proto__: null,
2288
2644
  isMain: isMain$4,
2289
2645
  isRecord: isMain$4,
2290
- isScore: isScore,
2291
2646
  validateMain: validateMain$4,
2292
- validateRecord: validateMain$4,
2293
- validateScore: validateScore
2647
+ validateRecord: validateMain$4
2294
2648
  });
2295
2649
 
2296
- const is$typed$4 = is$typed$f, validate$4 = validate$f;
2297
- const id$4 = 'org.hypercerts.claim.evidence';
2650
+ const is$typed$4 = is$typed$g, validate$4 = validate$g;
2651
+ const id$4 = 'org.hypercerts.claim.measurement';
2298
2652
  const hashMain$3 = 'main';
2299
2653
  function isMain$3(v) {
2300
2654
  return is$typed$4(v, id$4, hashMain$3);
@@ -2303,7 +2657,7 @@ function validateMain$3(v) {
2303
2657
  return validate$4(v, id$4, hashMain$3, true);
2304
2658
  }
2305
2659
 
2306
- var evidence = /*#__PURE__*/Object.freeze({
2660
+ var measurement = /*#__PURE__*/Object.freeze({
2307
2661
  __proto__: null,
2308
2662
  isMain: isMain$3,
2309
2663
  isRecord: isMain$3,
@@ -2311,8 +2665,8 @@ var evidence = /*#__PURE__*/Object.freeze({
2311
2665
  validateRecord: validateMain$3
2312
2666
  });
2313
2667
 
2314
- const is$typed$3 = is$typed$f, validate$3 = validate$f;
2315
- const id$3 = 'org.hypercerts.claim.measurement';
2668
+ const is$typed$3 = is$typed$g, validate$3 = validate$g;
2669
+ const id$3 = 'org.hypercerts.claim.rights';
2316
2670
  const hashMain$2 = 'main';
2317
2671
  function isMain$2(v) {
2318
2672
  return is$typed$3(v, id$3, hashMain$2);
@@ -2321,7 +2675,7 @@ function validateMain$2(v) {
2321
2675
  return validate$3(v, id$3, hashMain$2, true);
2322
2676
  }
2323
2677
 
2324
- var measurement = /*#__PURE__*/Object.freeze({
2678
+ var rights = /*#__PURE__*/Object.freeze({
2325
2679
  __proto__: null,
2326
2680
  isMain: isMain$2,
2327
2681
  isRecord: isMain$2,
@@ -2329,60 +2683,70 @@ var measurement = /*#__PURE__*/Object.freeze({
2329
2683
  validateRecord: validateMain$2
2330
2684
  });
2331
2685
 
2332
- const is$typed$2 = is$typed$f, validate$2 = validate$f;
2333
- const id$2 = 'org.hypercerts.claim.rights';
2334
- const hashMain$1 = 'main';
2335
- function isMain$1(v) {
2336
- return is$typed$2(v, id$2, hashMain$1);
2337
- }
2338
- function validateMain$1(v) {
2339
- return validate$2(v, id$2, hashMain$1, true);
2340
- }
2341
-
2342
- var rights = /*#__PURE__*/Object.freeze({
2343
- __proto__: null,
2344
- isMain: isMain$1,
2345
- isRecord: isMain$1,
2346
- validateMain: validateMain$1,
2347
- validateRecord: validateMain$1
2348
- });
2349
-
2350
- const is$typed$1 = is$typed$f, validate$1 = validate$f;
2351
- const id$1 = 'org.hypercerts.defs';
2686
+ const is$typed$2 = is$typed$g, validate$2 = validate$g;
2687
+ const id$2 = 'org.hypercerts.defs';
2352
2688
  const hashUri = 'uri';
2353
2689
  function isUri(v) {
2354
- return is$typed$1(v, id$1, hashUri);
2690
+ return is$typed$2(v, id$2, hashUri);
2355
2691
  }
2356
2692
  function validateUri(v) {
2357
- return validate$1(v, id$1, hashUri);
2693
+ return validate$2(v, id$2, hashUri);
2358
2694
  }
2359
2695
  const hashSmallBlob = 'smallBlob';
2360
2696
  function isSmallBlob(v) {
2361
- return is$typed$1(v, id$1, hashSmallBlob);
2697
+ return is$typed$2(v, id$2, hashSmallBlob);
2362
2698
  }
2363
2699
  function validateSmallBlob(v) {
2364
- return validate$1(v, id$1, hashSmallBlob);
2700
+ return validate$2(v, id$2, hashSmallBlob);
2365
2701
  }
2366
2702
  const hashLargeBlob = 'largeBlob';
2367
2703
  function isLargeBlob(v) {
2368
- return is$typed$1(v, id$1, hashLargeBlob);
2704
+ return is$typed$2(v, id$2, hashLargeBlob);
2369
2705
  }
2370
2706
  function validateLargeBlob(v) {
2371
- return validate$1(v, id$1, hashLargeBlob);
2707
+ return validate$2(v, id$2, hashLargeBlob);
2372
2708
  }
2373
2709
  const hashSmallImage = 'smallImage';
2374
2710
  function isSmallImage(v) {
2375
- return is$typed$1(v, id$1, hashSmallImage);
2711
+ return is$typed$2(v, id$2, hashSmallImage);
2376
2712
  }
2377
2713
  function validateSmallImage(v) {
2378
- return validate$1(v, id$1, hashSmallImage);
2714
+ return validate$2(v, id$2, hashSmallImage);
2379
2715
  }
2380
2716
  const hashLargeImage = 'largeImage';
2381
2717
  function isLargeImage(v) {
2382
- return is$typed$1(v, id$1, hashLargeImage);
2718
+ return is$typed$2(v, id$2, hashLargeImage);
2383
2719
  }
2384
2720
  function validateLargeImage(v) {
2385
- return validate$1(v, id$1, hashLargeImage);
2721
+ return validate$2(v, id$2, hashLargeImage);
2722
+ }
2723
+ const hashWorkScopeAll = 'workScopeAll';
2724
+ function isWorkScopeAll(v) {
2725
+ return is$typed$2(v, id$2, hashWorkScopeAll);
2726
+ }
2727
+ function validateWorkScopeAll(v) {
2728
+ return validate$2(v, id$2, hashWorkScopeAll);
2729
+ }
2730
+ const hashWorkScopeAny = 'workScopeAny';
2731
+ function isWorkScopeAny(v) {
2732
+ return is$typed$2(v, id$2, hashWorkScopeAny);
2733
+ }
2734
+ function validateWorkScopeAny(v) {
2735
+ return validate$2(v, id$2, hashWorkScopeAny);
2736
+ }
2737
+ const hashWorkScopeNot = 'workScopeNot';
2738
+ function isWorkScopeNot(v) {
2739
+ return is$typed$2(v, id$2, hashWorkScopeNot);
2740
+ }
2741
+ function validateWorkScopeNot(v) {
2742
+ return validate$2(v, id$2, hashWorkScopeNot);
2743
+ }
2744
+ const hashWorkScopeAtom = 'workScopeAtom';
2745
+ function isWorkScopeAtom(v) {
2746
+ return is$typed$2(v, id$2, hashWorkScopeAtom);
2747
+ }
2748
+ function validateWorkScopeAtom(v) {
2749
+ return validate$2(v, id$2, hashWorkScopeAtom);
2386
2750
  }
2387
2751
 
2388
2752
  var defs = /*#__PURE__*/Object.freeze({
@@ -2392,15 +2756,41 @@ var defs = /*#__PURE__*/Object.freeze({
2392
2756
  isSmallBlob: isSmallBlob,
2393
2757
  isSmallImage: isSmallImage,
2394
2758
  isUri: isUri,
2759
+ isWorkScopeAll: isWorkScopeAll,
2760
+ isWorkScopeAny: isWorkScopeAny,
2761
+ isWorkScopeAtom: isWorkScopeAtom,
2762
+ isWorkScopeNot: isWorkScopeNot,
2395
2763
  validateLargeBlob: validateLargeBlob,
2396
2764
  validateLargeImage: validateLargeImage,
2397
2765
  validateSmallBlob: validateSmallBlob,
2398
2766
  validateSmallImage: validateSmallImage,
2399
- validateUri: validateUri
2767
+ validateUri: validateUri,
2768
+ validateWorkScopeAll: validateWorkScopeAll,
2769
+ validateWorkScopeAny: validateWorkScopeAny,
2770
+ validateWorkScopeAtom: validateWorkScopeAtom,
2771
+ validateWorkScopeNot: validateWorkScopeNot
2772
+ });
2773
+
2774
+ const is$typed$1 = is$typed$g, validate$1 = validate$g;
2775
+ const id$1 = 'org.hypercerts.funding.receipt';
2776
+ const hashMain$1 = 'main';
2777
+ function isMain$1(v) {
2778
+ return is$typed$1(v, id$1, hashMain$1);
2779
+ }
2780
+ function validateMain$1(v) {
2781
+ return validate$1(v, id$1, hashMain$1, true);
2782
+ }
2783
+
2784
+ var receipt = /*#__PURE__*/Object.freeze({
2785
+ __proto__: null,
2786
+ isMain: isMain$1,
2787
+ isRecord: isMain$1,
2788
+ validateMain: validateMain$1,
2789
+ validateRecord: validateMain$1
2400
2790
  });
2401
2791
 
2402
- const is$typed = is$typed$f, validate = validate$f;
2403
- const id = 'org.hypercerts.funding.receipt';
2792
+ const is$typed = is$typed$g, validate = validate$g;
2793
+ const id = 'org.hypercerts.helper.workScopeTag';
2404
2794
  const hashMain = 'main';
2405
2795
  function isMain(v) {
2406
2796
  return is$typed(v, id, hashMain);
@@ -2409,7 +2799,7 @@ function validateMain(v) {
2409
2799
  return validate(v, id, hashMain, true);
2410
2800
  }
2411
2801
 
2412
- var receipt = /*#__PURE__*/Object.freeze({
2802
+ var workScopeTag = /*#__PURE__*/Object.freeze({
2413
2803
  __proto__: null,
2414
2804
  isMain: isMain,
2415
2805
  isRecord: isMain,
@@ -2423,7 +2813,7 @@ var receipt = /*#__PURE__*/Object.freeze({
2423
2813
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
2424
2814
  *
2425
2815
  * This file is automatically generated by scripts/generate-exports.js
2426
- * Generated: 2026-01-21T23:12:40.384Z
2816
+ * Generated: 2026-01-21T23:19:57.583Z
2427
2817
  *
2428
2818
  * To regenerate this file, run:
2429
2819
  * npm run gen-api
@@ -2456,6 +2846,7 @@ const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
2456
2846
  const RIGHTS_NSID = "org.hypercerts.claim.rights";
2457
2847
  const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
2458
2848
  const FUNDING_RECEIPT_NSID = "org.hypercerts.funding.receipt";
2849
+ const HELPER_WORKSCOPETAG_NSID = "org.hypercerts.helper.workScopeTag";
2459
2850
  /**
2460
2851
  * Collection NSIDs organized by semantic record type.
2461
2852
  *
@@ -2479,6 +2870,7 @@ const HYPERCERTS_NSIDS = {
2479
2870
  RIGHTS: RIGHTS_NSID,
2480
2871
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
2481
2872
  FUNDING_RECEIPT: FUNDING_RECEIPT_NSID,
2873
+ HELPER_WORKSCOPETAG: HELPER_WORKSCOPETAG_NSID,
2482
2874
  };
2483
2875
  /**
2484
2876
  * Lexicon JSON objects organized by semantic record type.
@@ -2500,6 +2892,7 @@ const HYPERCERTS_LEXICON_JSON = {
2500
2892
  RIGHTS: RIGHTS_LEXICON_JSON,
2501
2893
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
2502
2894
  FUNDING_RECEIPT: FUNDING_RECEIPT_LEXICON_JSON,
2895
+ HELPER_WORKSCOPETAG: HELPER_WORKSCOPETAG_LEXICON_JSON,
2503
2896
  };
2504
2897
  // Individual lexicon objects (from lexicons.get())
2505
2898
  const BADGE_AWARD_LEXICON_DOC = lexicons.get(BADGE_AWARD_NSID);
@@ -2518,6 +2911,7 @@ const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
2518
2911
  const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
2519
2912
  const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
2520
2913
  const FUNDING_RECEIPT_LEXICON_DOC = lexicons.get(FUNDING_RECEIPT_NSID);
2914
+ const HELPER_WORKSCOPETAG_LEXICON_DOC = lexicons.get(HELPER_WORKSCOPETAG_NSID);
2521
2915
  /**
2522
2916
  * Lexicon document objects organized by semantic record type.
2523
2917
  */
@@ -2538,6 +2932,7 @@ const HYPERCERTS_LEXICON_DOC = {
2538
2932
  RIGHTS: RIGHTS_LEXICON_DOC,
2539
2933
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
2540
2934
  FUNDING_RECEIPT: FUNDING_RECEIPT_LEXICON_DOC,
2935
+ HELPER_WORKSCOPETAG: HELPER_WORKSCOPETAG_LEXICON_DOC,
2541
2936
  };
2542
2937
 
2543
2938
  exports.ACTIVITY_LEXICON_DOC = ACTIVITY_LEXICON_DOC;
@@ -2579,6 +2974,9 @@ exports.EVIDENCE_NSID = EVIDENCE_NSID;
2579
2974
  exports.FUNDING_RECEIPT_LEXICON_DOC = FUNDING_RECEIPT_LEXICON_DOC;
2580
2975
  exports.FUNDING_RECEIPT_LEXICON_JSON = FUNDING_RECEIPT_LEXICON_JSON;
2581
2976
  exports.FUNDING_RECEIPT_NSID = FUNDING_RECEIPT_NSID;
2977
+ exports.HELPER_WORKSCOPETAG_LEXICON_DOC = HELPER_WORKSCOPETAG_LEXICON_DOC;
2978
+ exports.HELPER_WORKSCOPETAG_LEXICON_JSON = HELPER_WORKSCOPETAG_LEXICON_JSON;
2979
+ exports.HELPER_WORKSCOPETAG_NSID = HELPER_WORKSCOPETAG_NSID;
2582
2980
  exports.HYPERCERTS_DEFS_LEXICON_DOC = HYPERCERTS_DEFS_LEXICON_DOC;
2583
2981
  exports.HYPERCERTS_DEFS_LEXICON_JSON = HYPERCERTS_DEFS_LEXICON_JSON;
2584
2982
  exports.HYPERCERTS_DEFS_NSID = HYPERCERTS_DEFS_NSID;
@@ -2604,6 +3002,7 @@ exports.OrgHypercertsClaimMeasurement = measurement;
2604
3002
  exports.OrgHypercertsClaimRights = rights;
2605
3003
  exports.OrgHypercertsDefs = defs;
2606
3004
  exports.OrgHypercertsFundingReceipt = receipt;
3005
+ exports.OrgHypercertsHelperWorkScopeTag = workScopeTag;
2607
3006
  exports.RIGHTS_LEXICON_DOC = RIGHTS_LEXICON_DOC;
2608
3007
  exports.RIGHTS_LEXICON_JSON = RIGHTS_LEXICON_JSON;
2609
3008
  exports.RIGHTS_NSID = RIGHTS_NSID;
@@ -2611,8 +3010,8 @@ exports.STRONGREF_LEXICON_DOC = STRONGREF_LEXICON_DOC;
2611
3010
  exports.STRONGREF_LEXICON_JSON = STRONGREF_LEXICON_JSON;
2612
3011
  exports.STRONGREF_NSID = STRONGREF_NSID;
2613
3012
  exports.asPredicate = asPredicate;
2614
- exports.is$typed = is$typed$f;
3013
+ exports.is$typed = is$typed$g;
2615
3014
  exports.lexicons = lexicons;
2616
3015
  exports.maybe$typed = maybe$typed;
2617
- exports.validate = validate$f;
3016
+ exports.validate = validate$g;
2618
3017
  //# sourceMappingURL=index.cjs.map