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

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.
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var lexicon$i = require('@atproto/lexicon');
3
+ var lexicon$j = 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$i(v, id, hash) {
21
+ function is$typed$j(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) {
@@ -275,8 +275,17 @@ const schemaDict = {
275
275
  },
276
276
  locationType: {
277
277
  type: 'string',
278
- description: 'An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point)',
279
- knownValues: ['coordinate-decimal', 'geojson-point'],
278
+ description: 'An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point). See the Location Protocol spec for the full registry: https://spec.decentralizedgeo.org/specification/location-types/#location-type-registry',
279
+ knownValues: [
280
+ 'coordinate-decimal',
281
+ 'geojson-point',
282
+ 'geojson',
283
+ 'h3',
284
+ 'geohash',
285
+ 'wkt',
286
+ 'address',
287
+ 'scaledCoordinates',
288
+ ],
280
289
  maxLength: 20,
281
290
  },
282
291
  location: {
@@ -344,6 +353,47 @@ const schemaDict = {
344
353
  },
345
354
  },
346
355
  },
356
+ OrgHypercertsAcknowledgement: {
357
+ lexicon: 1,
358
+ id: 'org.hypercerts.acknowledgement',
359
+ defs: {
360
+ main: {
361
+ type: 'record',
362
+ description: "Acknowledges the inclusion of one record (subject) within another (context). Typically created in the subject owner's repo to form a bidirectional link. For example, a contributor acknowledging inclusion in an activity, or an activity owner acknowledging inclusion in a collection.",
363
+ key: 'tid',
364
+ record: {
365
+ type: 'object',
366
+ required: ['subject', 'context', 'acknowledged', 'createdAt'],
367
+ properties: {
368
+ subject: {
369
+ type: 'ref',
370
+ ref: 'lex:com.atproto.repo.strongRef',
371
+ description: 'The record whose inclusion is being acknowledged (e.g. an activity, a contributor information record).',
372
+ },
373
+ context: {
374
+ type: 'ref',
375
+ ref: 'lex:com.atproto.repo.strongRef',
376
+ description: 'The record that includes the subject (e.g. a collection/project that includes an activity, or an activity that includes a contributor).',
377
+ },
378
+ acknowledged: {
379
+ type: 'boolean',
380
+ description: 'Whether inclusion is acknowledged (true) or rejected (false).',
381
+ },
382
+ comment: {
383
+ type: 'string',
384
+ description: 'Optional comment providing additional context or reasoning.',
385
+ maxLength: 1000,
386
+ },
387
+ createdAt: {
388
+ type: 'string',
389
+ format: 'datetime',
390
+ description: 'Client-declared timestamp when this record was originally created.',
391
+ },
392
+ },
393
+ },
394
+ },
395
+ },
396
+ },
347
397
  OrgHypercertsClaimActivity: {
348
398
  lexicon: 1,
349
399
  id: 'org.hypercerts.claim.activity',
@@ -1214,13 +1264,13 @@ const schemaDict = {
1214
1264
  },
1215
1265
  };
1216
1266
  const schemas = Object.values(schemaDict);
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)
1267
+ const lexicons = new lexicon$j.Lexicons(schemas);
1268
+ function validate$j(v, id, hash, requiredType) {
1269
+ return (requiredType ? is$typed$j : maybe$typed)(v, id, hash)
1220
1270
  ? lexicons.validate(`${id}#${hash}`, v)
1221
1271
  : {
1222
1272
  success: false,
1223
- error: new lexicon$i.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
1273
+ error: new lexicon$j.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
1224
1274
  };
1225
1275
  }
1226
1276
  const ids = {
@@ -1231,6 +1281,7 @@ const ids = {
1231
1281
  AppCertifiedDefs: 'app.certified.defs',
1232
1282
  AppCertifiedLocation: 'app.certified.location',
1233
1283
  ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
1284
+ OrgHypercertsAcknowledgement: 'org.hypercerts.acknowledgement',
1234
1285
  OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
1235
1286
  OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
1236
1287
  OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
@@ -1244,9 +1295,9 @@ const ids = {
1244
1295
  OrgHypercertsHelperWorkScopeTag: 'org.hypercerts.helper.workScopeTag',
1245
1296
  };
1246
1297
 
1247
- var lexicon$h = 1;
1248
- var id$z = "app.certified.actor.profile";
1249
- var defs$j = {
1298
+ var lexicon$i = 1;
1299
+ var id$B = "app.certified.actor.profile";
1300
+ var defs$k = {
1250
1301
  main: {
1251
1302
  type: "record",
1252
1303
  description: "A declaration of a Hypercert account profile.",
@@ -1300,14 +1351,14 @@ var defs$j = {
1300
1351
  }
1301
1352
  };
1302
1353
  var ACTOR_PROFILE_LEXICON_JSON = {
1303
- lexicon: lexicon$h,
1304
- id: id$z,
1305
- defs: defs$j
1354
+ lexicon: lexicon$i,
1355
+ id: id$B,
1356
+ defs: defs$k
1306
1357
  };
1307
1358
 
1308
- var lexicon$g = 1;
1309
- var id$y = "app.certified.badge.award";
1310
- var defs$i = {
1359
+ var lexicon$h = 1;
1360
+ var id$A = "app.certified.badge.award";
1361
+ var defs$j = {
1311
1362
  main: {
1312
1363
  type: "record",
1313
1364
  description: "Records a badge award to a user, project, or activity claim.",
@@ -1347,14 +1398,14 @@ var defs$i = {
1347
1398
  }
1348
1399
  };
1349
1400
  var BADGE_AWARD_LEXICON_JSON = {
1350
- lexicon: lexicon$g,
1351
- id: id$y,
1352
- defs: defs$i
1401
+ lexicon: lexicon$h,
1402
+ id: id$A,
1403
+ defs: defs$j
1353
1404
  };
1354
1405
 
1355
- var lexicon$f = 1;
1356
- var id$x = "app.certified.badge.definition";
1357
- var defs$h = {
1406
+ var lexicon$g = 1;
1407
+ var id$z = "app.certified.badge.definition";
1408
+ var defs$i = {
1358
1409
  main: {
1359
1410
  type: "record",
1360
1411
  description: "Defines a badge that can be awarded via badge award records to users, projects, or activity claims.",
@@ -1409,14 +1460,14 @@ var defs$h = {
1409
1460
  }
1410
1461
  };
1411
1462
  var BADGE_DEFINITION_LEXICON_JSON = {
1412
- lexicon: lexicon$f,
1413
- id: id$x,
1414
- defs: defs$h
1463
+ lexicon: lexicon$g,
1464
+ id: id$z,
1465
+ defs: defs$i
1415
1466
  };
1416
1467
 
1417
- var lexicon$e = 1;
1418
- var id$w = "app.certified.badge.response";
1419
- var defs$g = {
1468
+ var lexicon$f = 1;
1469
+ var id$y = "app.certified.badge.response";
1470
+ var defs$h = {
1420
1471
  main: {
1421
1472
  type: "record",
1422
1473
  description: "Recipient response to a badge award.",
@@ -1456,15 +1507,15 @@ var defs$g = {
1456
1507
  }
1457
1508
  };
1458
1509
  var BADGE_RESPONSE_LEXICON_JSON = {
1459
- lexicon: lexicon$e,
1460
- id: id$w,
1461
- defs: defs$g
1510
+ lexicon: lexicon$f,
1511
+ id: id$y,
1512
+ defs: defs$h
1462
1513
  };
1463
1514
 
1464
- var lexicon$d = 1;
1465
- var id$v = "app.certified.defs";
1515
+ var lexicon$e = 1;
1516
+ var id$x = "app.certified.defs";
1466
1517
  var description$1 = "Common type definitions used across certified protocols.";
1467
- var defs$f = {
1518
+ var defs$g = {
1468
1519
  did: {
1469
1520
  type: "object",
1470
1521
  description: "A Decentralized Identifier (DID) string.",
@@ -1482,15 +1533,15 @@ var defs$f = {
1482
1533
  }
1483
1534
  };
1484
1535
  var CERTIFIED_DEFS_LEXICON_JSON = {
1485
- lexicon: lexicon$d,
1486
- id: id$v,
1536
+ lexicon: lexicon$e,
1537
+ id: id$x,
1487
1538
  description: description$1,
1488
- defs: defs$f
1539
+ defs: defs$g
1489
1540
  };
1490
1541
 
1491
- var lexicon$c = 1;
1492
- var id$u = "app.certified.location";
1493
- var defs$e = {
1542
+ var lexicon$d = 1;
1543
+ var id$w = "app.certified.location";
1544
+ var defs$f = {
1494
1545
  main: {
1495
1546
  type: "record",
1496
1547
  description: "A location reference",
@@ -1518,10 +1569,16 @@ var defs$e = {
1518
1569
  },
1519
1570
  locationType: {
1520
1571
  type: "string",
1521
- description: "An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point)",
1572
+ description: "An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point). See the Location Protocol spec for the full registry: https://spec.decentralizedgeo.org/specification/location-types/#location-type-registry",
1522
1573
  knownValues: [
1523
1574
  "coordinate-decimal",
1524
- "geojson-point"
1575
+ "geojson-point",
1576
+ "geojson",
1577
+ "h3",
1578
+ "geohash",
1579
+ "wkt",
1580
+ "address",
1581
+ "scaledCoordinates"
1525
1582
  ],
1526
1583
  maxLength: 20
1527
1584
  },
@@ -1571,15 +1628,15 @@ var defs$e = {
1571
1628
  }
1572
1629
  };
1573
1630
  var LOCATION_LEXICON_JSON = {
1574
- lexicon: lexicon$c,
1575
- id: id$u,
1576
- defs: defs$e
1631
+ lexicon: lexicon$d,
1632
+ id: id$w,
1633
+ defs: defs$f
1577
1634
  };
1578
1635
 
1579
- var lexicon$b = 1;
1580
- var id$t = "com.atproto.repo.strongRef";
1636
+ var lexicon$c = 1;
1637
+ var id$v = "com.atproto.repo.strongRef";
1581
1638
  var description = "A URI with a content-hash fingerprint.";
1582
- var defs$d = {
1639
+ var defs$e = {
1583
1640
  main: {
1584
1641
  type: "object",
1585
1642
  required: [
@@ -1599,14 +1656,64 @@ var defs$d = {
1599
1656
  }
1600
1657
  };
1601
1658
  var STRONG_REF_LEXICON_JSON = {
1602
- lexicon: lexicon$b,
1603
- id: id$t,
1659
+ lexicon: lexicon$c,
1660
+ id: id$v,
1604
1661
  description: description,
1662
+ defs: defs$e
1663
+ };
1664
+
1665
+ var lexicon$b = 1;
1666
+ var id$u = "org.hypercerts.acknowledgement";
1667
+ var defs$d = {
1668
+ main: {
1669
+ type: "record",
1670
+ description: "Acknowledges the inclusion of one record (subject) within another (context). Typically created in the subject owner's repo to form a bidirectional link. For example, a contributor acknowledging inclusion in an activity, or an activity owner acknowledging inclusion in a collection.",
1671
+ key: "tid",
1672
+ record: {
1673
+ type: "object",
1674
+ required: [
1675
+ "subject",
1676
+ "context",
1677
+ "acknowledged",
1678
+ "createdAt"
1679
+ ],
1680
+ properties: {
1681
+ subject: {
1682
+ type: "ref",
1683
+ ref: "com.atproto.repo.strongRef",
1684
+ description: "The record whose inclusion is being acknowledged (e.g. an activity, a contributor information record)."
1685
+ },
1686
+ context: {
1687
+ type: "ref",
1688
+ ref: "com.atproto.repo.strongRef",
1689
+ description: "The record that includes the subject (e.g. a collection/project that includes an activity, or an activity that includes a contributor)."
1690
+ },
1691
+ acknowledged: {
1692
+ type: "boolean",
1693
+ description: "Whether inclusion is acknowledged (true) or rejected (false)."
1694
+ },
1695
+ comment: {
1696
+ type: "string",
1697
+ description: "Optional comment providing additional context or reasoning.",
1698
+ maxLength: 1000
1699
+ },
1700
+ createdAt: {
1701
+ type: "string",
1702
+ format: "datetime",
1703
+ description: "Client-declared timestamp when this record was originally created."
1704
+ }
1705
+ }
1706
+ }
1707
+ }
1708
+ };
1709
+ var HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_JSON = {
1710
+ lexicon: lexicon$b,
1711
+ id: id$u,
1605
1712
  defs: defs$d
1606
1713
  };
1607
1714
 
1608
1715
  var lexicon$a = 1;
1609
- var id$s = "org.hypercerts.claim.activity";
1716
+ var id$t = "org.hypercerts.claim.activity";
1610
1717
  var defs$c = {
1611
1718
  main: {
1612
1719
  type: "record",
@@ -1784,12 +1891,12 @@ var defs$c = {
1784
1891
  };
1785
1892
  var ACTIVITY_LEXICON_JSON = {
1786
1893
  lexicon: lexicon$a,
1787
- id: id$s,
1894
+ id: id$t,
1788
1895
  defs: defs$c
1789
1896
  };
1790
1897
 
1791
1898
  var lexicon$9 = 1;
1792
- var id$r = "org.hypercerts.claim.attachment";
1899
+ var id$s = "org.hypercerts.claim.attachment";
1793
1900
  var defs$b = {
1794
1901
  main: {
1795
1902
  type: "record",
@@ -1878,12 +1985,12 @@ var defs$b = {
1878
1985
  };
1879
1986
  var ATTACHMENT_LEXICON_JSON = {
1880
1987
  lexicon: lexicon$9,
1881
- id: id$r,
1988
+ id: id$s,
1882
1989
  defs: defs$b
1883
1990
  };
1884
1991
 
1885
1992
  var lexicon$8 = 1;
1886
- var id$q = "org.hypercerts.claim.collection";
1993
+ var id$r = "org.hypercerts.claim.collection";
1887
1994
  var defs$a = {
1888
1995
  main: {
1889
1996
  type: "record",
@@ -1975,12 +2082,12 @@ var defs$a = {
1975
2082
  };
1976
2083
  var COLLECTION_LEXICON_JSON = {
1977
2084
  lexicon: lexicon$8,
1978
- id: id$q,
2085
+ id: id$r,
1979
2086
  defs: defs$a
1980
2087
  };
1981
2088
 
1982
2089
  var lexicon$7 = 1;
1983
- var id$p = "org.hypercerts.claim.contributionDetails";
2090
+ var id$q = "org.hypercerts.claim.contributionDetails";
1984
2091
  var defs$9 = {
1985
2092
  main: {
1986
2093
  type: "record",
@@ -2024,12 +2131,12 @@ var defs$9 = {
2024
2131
  };
2025
2132
  var CONTRIBUTION_DETAILS_LEXICON_JSON = {
2026
2133
  lexicon: lexicon$7,
2027
- id: id$p,
2134
+ id: id$q,
2028
2135
  defs: defs$9
2029
2136
  };
2030
2137
 
2031
2138
  var lexicon$6 = 1;
2032
- var id$o = "org.hypercerts.claim.contributorInformation";
2139
+ var id$p = "org.hypercerts.claim.contributorInformation";
2033
2140
  var defs$8 = {
2034
2141
  main: {
2035
2142
  type: "record",
@@ -2069,12 +2176,12 @@ var defs$8 = {
2069
2176
  };
2070
2177
  var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
2071
2178
  lexicon: lexicon$6,
2072
- id: id$o,
2179
+ id: id$p,
2073
2180
  defs: defs$8
2074
2181
  };
2075
2182
 
2076
2183
  var lexicon$5 = 1;
2077
- var id$n = "org.hypercerts.claim.evaluation";
2184
+ var id$o = "org.hypercerts.claim.evaluation";
2078
2185
  var defs$7 = {
2079
2186
  score: {
2080
2187
  type: "object",
@@ -2173,12 +2280,12 @@ var defs$7 = {
2173
2280
  };
2174
2281
  var EVALUATION_LEXICON_JSON = {
2175
2282
  lexicon: lexicon$5,
2176
- id: id$n,
2283
+ id: id$o,
2177
2284
  defs: defs$7
2178
2285
  };
2179
2286
 
2180
2287
  var lexicon$4 = 1;
2181
- var id$m = "org.hypercerts.claim.measurement";
2288
+ var id$n = "org.hypercerts.claim.measurement";
2182
2289
  var defs$6 = {
2183
2290
  main: {
2184
2291
  type: "record",
@@ -2285,12 +2392,12 @@ var defs$6 = {
2285
2392
  };
2286
2393
  var MEASUREMENT_LEXICON_JSON = {
2287
2394
  lexicon: lexicon$4,
2288
- id: id$m,
2395
+ id: id$n,
2289
2396
  defs: defs$6
2290
2397
  };
2291
2398
 
2292
2399
  var lexicon$3 = 1;
2293
- var id$l = "org.hypercerts.claim.rights";
2400
+ var id$m = "org.hypercerts.claim.rights";
2294
2401
  var defs$5 = {
2295
2402
  main: {
2296
2403
  type: "record",
@@ -2338,12 +2445,12 @@ var defs$5 = {
2338
2445
  };
2339
2446
  var RIGHTS_LEXICON_JSON = {
2340
2447
  lexicon: lexicon$3,
2341
- id: id$l,
2448
+ id: id$m,
2342
2449
  defs: defs$5
2343
2450
  };
2344
2451
 
2345
2452
  var lexicon$2 = 1;
2346
- var id$k = "org.hypercerts.defs";
2453
+ var id$l = "org.hypercerts.defs";
2347
2454
  var defs$4 = {
2348
2455
  uri: {
2349
2456
  type: "object",
@@ -2437,12 +2544,12 @@ var defs$4 = {
2437
2544
  };
2438
2545
  var HYPERCERTS_DEFS_LEXICON_JSON = {
2439
2546
  lexicon: lexicon$2,
2440
- id: id$k,
2547
+ id: id$l,
2441
2548
  defs: defs$4
2442
2549
  };
2443
2550
 
2444
2551
  var lexicon$1 = 1;
2445
- var id$j = "org.hypercerts.funding.receipt";
2552
+ var id$k = "org.hypercerts.funding.receipt";
2446
2553
  var defs$3 = {
2447
2554
  main: {
2448
2555
  type: "record",
@@ -2513,12 +2620,12 @@ var defs$3 = {
2513
2620
  };
2514
2621
  var FUNDING_RECEIPT_LEXICON_JSON = {
2515
2622
  lexicon: lexicon$1,
2516
- id: id$j,
2623
+ id: id$k,
2517
2624
  defs: defs$3
2518
2625
  };
2519
2626
 
2520
2627
  var lexicon = 1;
2521
- var id$i = "org.hypercerts.helper.workScopeTag";
2628
+ var id$j = "org.hypercerts.helper.workScopeTag";
2522
2629
  var defs$2 = {
2523
2630
  main: {
2524
2631
  type: "record",
@@ -2586,12 +2693,30 @@ var defs$2 = {
2586
2693
  };
2587
2694
  var WORK_SCOPE_TAG_LEXICON_JSON = {
2588
2695
  lexicon: lexicon,
2589
- id: id$i,
2696
+ id: id$j,
2590
2697
  defs: defs$2
2591
2698
  };
2592
2699
 
2593
- const is$typed$h = is$typed$i, validate$h = validate$i;
2594
- const id$h = 'app.certified.actor.profile';
2700
+ const is$typed$i = is$typed$j, validate$i = validate$j;
2701
+ const id$i = 'app.certified.actor.profile';
2702
+ const hashMain$g = 'main';
2703
+ function isMain$g(v) {
2704
+ return is$typed$i(v, id$i, hashMain$g);
2705
+ }
2706
+ function validateMain$g(v) {
2707
+ return validate$i(v, id$i, hashMain$g, true);
2708
+ }
2709
+
2710
+ var profile = /*#__PURE__*/Object.freeze({
2711
+ __proto__: null,
2712
+ isMain: isMain$g,
2713
+ isRecord: isMain$g,
2714
+ validateMain: validateMain$g,
2715
+ validateRecord: validateMain$g
2716
+ });
2717
+
2718
+ const is$typed$h = is$typed$j, validate$h = validate$j;
2719
+ const id$h = 'app.certified.badge.award';
2595
2720
  const hashMain$f = 'main';
2596
2721
  function isMain$f(v) {
2597
2722
  return is$typed$h(v, id$h, hashMain$f);
@@ -2600,7 +2725,7 @@ function validateMain$f(v) {
2600
2725
  return validate$h(v, id$h, hashMain$f, true);
2601
2726
  }
2602
2727
 
2603
- var profile = /*#__PURE__*/Object.freeze({
2728
+ var award = /*#__PURE__*/Object.freeze({
2604
2729
  __proto__: null,
2605
2730
  isMain: isMain$f,
2606
2731
  isRecord: isMain$f,
@@ -2608,8 +2733,8 @@ var profile = /*#__PURE__*/Object.freeze({
2608
2733
  validateRecord: validateMain$f
2609
2734
  });
2610
2735
 
2611
- const is$typed$g = is$typed$i, validate$g = validate$i;
2612
- const id$g = 'app.certified.badge.award';
2736
+ const is$typed$g = is$typed$j, validate$g = validate$j;
2737
+ const id$g = 'app.certified.badge.definition';
2613
2738
  const hashMain$e = 'main';
2614
2739
  function isMain$e(v) {
2615
2740
  return is$typed$g(v, id$g, hashMain$e);
@@ -2618,7 +2743,7 @@ function validateMain$e(v) {
2618
2743
  return validate$g(v, id$g, hashMain$e, true);
2619
2744
  }
2620
2745
 
2621
- var award = /*#__PURE__*/Object.freeze({
2746
+ var definition = /*#__PURE__*/Object.freeze({
2622
2747
  __proto__: null,
2623
2748
  isMain: isMain$e,
2624
2749
  isRecord: isMain$e,
@@ -2626,8 +2751,8 @@ var award = /*#__PURE__*/Object.freeze({
2626
2751
  validateRecord: validateMain$e
2627
2752
  });
2628
2753
 
2629
- const is$typed$f = is$typed$i, validate$f = validate$i;
2630
- const id$f = 'app.certified.badge.definition';
2754
+ const is$typed$f = is$typed$j, validate$f = validate$j;
2755
+ const id$f = 'app.certified.badge.response';
2631
2756
  const hashMain$d = 'main';
2632
2757
  function isMain$d(v) {
2633
2758
  return is$typed$f(v, id$f, hashMain$d);
@@ -2636,7 +2761,7 @@ function validateMain$d(v) {
2636
2761
  return validate$f(v, id$f, hashMain$d, true);
2637
2762
  }
2638
2763
 
2639
- var definition = /*#__PURE__*/Object.freeze({
2764
+ var response = /*#__PURE__*/Object.freeze({
2640
2765
  __proto__: null,
2641
2766
  isMain: isMain$d,
2642
2767
  isRecord: isMain$d,
@@ -2644,32 +2769,14 @@ var definition = /*#__PURE__*/Object.freeze({
2644
2769
  validateRecord: validateMain$d
2645
2770
  });
2646
2771
 
2647
- const is$typed$e = is$typed$i, validate$e = validate$i;
2648
- const id$e = 'app.certified.badge.response';
2649
- const hashMain$c = 'main';
2650
- function isMain$c(v) {
2651
- return is$typed$e(v, id$e, hashMain$c);
2652
- }
2653
- function validateMain$c(v) {
2654
- return validate$e(v, id$e, hashMain$c, true);
2655
- }
2656
-
2657
- var response = /*#__PURE__*/Object.freeze({
2658
- __proto__: null,
2659
- isMain: isMain$c,
2660
- isRecord: isMain$c,
2661
- validateMain: validateMain$c,
2662
- validateRecord: validateMain$c
2663
- });
2664
-
2665
- const is$typed$d = is$typed$i, validate$d = validate$i;
2666
- const id$d = 'app.certified.defs';
2772
+ const is$typed$e = is$typed$j, validate$e = validate$j;
2773
+ const id$e = 'app.certified.defs';
2667
2774
  const hashDid = 'did';
2668
2775
  function isDid(v) {
2669
- return is$typed$d(v, id$d, hashDid);
2776
+ return is$typed$e(v, id$e, hashDid);
2670
2777
  }
2671
2778
  function validateDid(v) {
2672
- return validate$d(v, id$d, hashDid);
2779
+ return validate$e(v, id$e, hashDid);
2673
2780
  }
2674
2781
 
2675
2782
  var defs$1 = /*#__PURE__*/Object.freeze({
@@ -2678,50 +2785,68 @@ var defs$1 = /*#__PURE__*/Object.freeze({
2678
2785
  validateDid: validateDid
2679
2786
  });
2680
2787
 
2681
- const is$typed$c = is$typed$i, validate$c = validate$i;
2682
- const id$c = 'app.certified.location';
2683
- const hashMain$b = 'main';
2684
- function isMain$b(v) {
2685
- return is$typed$c(v, id$c, hashMain$b);
2788
+ const is$typed$d = is$typed$j, validate$d = validate$j;
2789
+ const id$d = 'app.certified.location';
2790
+ const hashMain$c = 'main';
2791
+ function isMain$c(v) {
2792
+ return is$typed$d(v, id$d, hashMain$c);
2686
2793
  }
2687
- function validateMain$b(v) {
2688
- return validate$c(v, id$c, hashMain$b, true);
2794
+ function validateMain$c(v) {
2795
+ return validate$d(v, id$d, hashMain$c, true);
2689
2796
  }
2690
2797
  const hashString = 'string';
2691
2798
  function isString(v) {
2692
- return is$typed$c(v, id$c, hashString);
2799
+ return is$typed$d(v, id$d, hashString);
2693
2800
  }
2694
2801
  function validateString(v) {
2695
- return validate$c(v, id$c, hashString);
2802
+ return validate$d(v, id$d, hashString);
2696
2803
  }
2697
2804
 
2698
2805
  var location = /*#__PURE__*/Object.freeze({
2699
2806
  __proto__: null,
2700
- isMain: isMain$b,
2701
- isRecord: isMain$b,
2807
+ isMain: isMain$c,
2808
+ isRecord: isMain$c,
2702
2809
  isString: isString,
2703
- validateMain: validateMain$b,
2704
- validateRecord: validateMain$b,
2810
+ validateMain: validateMain$c,
2811
+ validateRecord: validateMain$c,
2705
2812
  validateString: validateString
2706
2813
  });
2707
2814
 
2708
- const is$typed$b = is$typed$i, validate$b = validate$i;
2709
- const id$b = 'com.atproto.repo.strongRef';
2815
+ const is$typed$c = is$typed$j, validate$c = validate$j;
2816
+ const id$c = 'com.atproto.repo.strongRef';
2817
+ const hashMain$b = 'main';
2818
+ function isMain$b(v) {
2819
+ return is$typed$c(v, id$c, hashMain$b);
2820
+ }
2821
+ function validateMain$b(v) {
2822
+ return validate$c(v, id$c, hashMain$b);
2823
+ }
2824
+
2825
+ var strongRef = /*#__PURE__*/Object.freeze({
2826
+ __proto__: null,
2827
+ isMain: isMain$b,
2828
+ validateMain: validateMain$b
2829
+ });
2830
+
2831
+ const is$typed$b = is$typed$j, validate$b = validate$j;
2832
+ const id$b = 'org.hypercerts.acknowledgement';
2710
2833
  const hashMain$a = 'main';
2711
2834
  function isMain$a(v) {
2712
2835
  return is$typed$b(v, id$b, hashMain$a);
2713
2836
  }
2714
2837
  function validateMain$a(v) {
2715
- return validate$b(v, id$b, hashMain$a);
2838
+ return validate$b(v, id$b, hashMain$a, true);
2716
2839
  }
2717
2840
 
2718
- var strongRef = /*#__PURE__*/Object.freeze({
2841
+ var acknowledgement = /*#__PURE__*/Object.freeze({
2719
2842
  __proto__: null,
2720
2843
  isMain: isMain$a,
2721
- validateMain: validateMain$a
2844
+ isRecord: isMain$a,
2845
+ validateMain: validateMain$a,
2846
+ validateRecord: validateMain$a
2722
2847
  });
2723
2848
 
2724
- const is$typed$a = is$typed$i, validate$a = validate$i;
2849
+ const is$typed$a = is$typed$j, validate$a = validate$j;
2725
2850
  const id$a = 'org.hypercerts.claim.activity';
2726
2851
  const hashMain$9 = 'main';
2727
2852
  function isMain$9(v) {
@@ -2775,7 +2900,7 @@ var activity = /*#__PURE__*/Object.freeze({
2775
2900
  validateWorkScopeString: validateWorkScopeString
2776
2901
  });
2777
2902
 
2778
- const is$typed$9 = is$typed$i, validate$9 = validate$i;
2903
+ const is$typed$9 = is$typed$j, validate$9 = validate$j;
2779
2904
  const id$9 = 'org.hypercerts.claim.attachment';
2780
2905
  const hashMain$8 = 'main';
2781
2906
  function isMain$8(v) {
@@ -2793,7 +2918,7 @@ var attachment = /*#__PURE__*/Object.freeze({
2793
2918
  validateRecord: validateMain$8
2794
2919
  });
2795
2920
 
2796
- const is$typed$8 = is$typed$i, validate$8 = validate$i;
2921
+ const is$typed$8 = is$typed$j, validate$8 = validate$j;
2797
2922
  const id$8 = 'org.hypercerts.claim.collection';
2798
2923
  const hashMain$7 = 'main';
2799
2924
  function isMain$7(v) {
@@ -2820,7 +2945,7 @@ var collection = /*#__PURE__*/Object.freeze({
2820
2945
  validateRecord: validateMain$7
2821
2946
  });
2822
2947
 
2823
- const is$typed$7 = is$typed$i, validate$7 = validate$i;
2948
+ const is$typed$7 = is$typed$j, validate$7 = validate$j;
2824
2949
  const id$7 = 'org.hypercerts.claim.contributionDetails';
2825
2950
  const hashMain$6 = 'main';
2826
2951
  function isMain$6(v) {
@@ -2838,7 +2963,7 @@ var contributionDetails = /*#__PURE__*/Object.freeze({
2838
2963
  validateRecord: validateMain$6
2839
2964
  });
2840
2965
 
2841
- const is$typed$6 = is$typed$i, validate$6 = validate$i;
2966
+ const is$typed$6 = is$typed$j, validate$6 = validate$j;
2842
2967
  const id$6 = 'org.hypercerts.claim.contributorInformation';
2843
2968
  const hashMain$5 = 'main';
2844
2969
  function isMain$5(v) {
@@ -2856,7 +2981,7 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
2856
2981
  validateRecord: validateMain$5
2857
2982
  });
2858
2983
 
2859
- const is$typed$5 = is$typed$i, validate$5 = validate$i;
2984
+ const is$typed$5 = is$typed$j, validate$5 = validate$j;
2860
2985
  const id$5 = 'org.hypercerts.claim.evaluation';
2861
2986
  const hashScore = 'score';
2862
2987
  function isScore(v) {
@@ -2883,7 +3008,7 @@ var evaluation = /*#__PURE__*/Object.freeze({
2883
3008
  validateScore: validateScore
2884
3009
  });
2885
3010
 
2886
- const is$typed$4 = is$typed$i, validate$4 = validate$i;
3011
+ const is$typed$4 = is$typed$j, validate$4 = validate$j;
2887
3012
  const id$4 = 'org.hypercerts.claim.measurement';
2888
3013
  const hashMain$3 = 'main';
2889
3014
  function isMain$3(v) {
@@ -2901,7 +3026,7 @@ var measurement = /*#__PURE__*/Object.freeze({
2901
3026
  validateRecord: validateMain$3
2902
3027
  });
2903
3028
 
2904
- const is$typed$3 = is$typed$i, validate$3 = validate$i;
3029
+ const is$typed$3 = is$typed$j, validate$3 = validate$j;
2905
3030
  const id$3 = 'org.hypercerts.claim.rights';
2906
3031
  const hashMain$2 = 'main';
2907
3032
  function isMain$2(v) {
@@ -2919,7 +3044,7 @@ var rights = /*#__PURE__*/Object.freeze({
2919
3044
  validateRecord: validateMain$2
2920
3045
  });
2921
3046
 
2922
- const is$typed$2 = is$typed$i, validate$2 = validate$i;
3047
+ const is$typed$2 = is$typed$j, validate$2 = validate$j;
2923
3048
  const id$2 = 'org.hypercerts.defs';
2924
3049
  const hashUri = 'uri';
2925
3050
  function isUri(v) {
@@ -2971,7 +3096,7 @@ var defs = /*#__PURE__*/Object.freeze({
2971
3096
  validateUri: validateUri
2972
3097
  });
2973
3098
 
2974
- const is$typed$1 = is$typed$i, validate$1 = validate$i;
3099
+ const is$typed$1 = is$typed$j, validate$1 = validate$j;
2975
3100
  const id$1 = 'org.hypercerts.funding.receipt';
2976
3101
  const hashMain$1 = 'main';
2977
3102
  function isMain$1(v) {
@@ -2989,7 +3114,7 @@ var receipt = /*#__PURE__*/Object.freeze({
2989
3114
  validateRecord: validateMain$1
2990
3115
  });
2991
3116
 
2992
- const is$typed = is$typed$i, validate = validate$i;
3117
+ const is$typed = is$typed$j, validate = validate$j;
2993
3118
  const id = 'org.hypercerts.helper.workScopeTag';
2994
3119
  const hashMain = 'main';
2995
3120
  function isMain(v) {
@@ -3013,7 +3138,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
3013
3138
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
3014
3139
  *
3015
3140
  * This file is automatically generated by scripts/generate-exports.js
3016
- * Generated: 2026-02-10T10:47:30.525Z
3141
+ * Generated: 2026-02-12T03:41:04.097Z
3017
3142
  *
3018
3143
  * To regenerate this file, run:
3019
3144
  * npm run gen-api
@@ -3037,6 +3162,7 @@ const BADGE_RESPONSE_NSID = "app.certified.badge.response";
3037
3162
  const CERTIFIED_DEFS_NSID = "app.certified.defs";
3038
3163
  const LOCATION_NSID = "app.certified.location";
3039
3164
  const STRONG_REF_NSID = "com.atproto.repo.strongRef";
3165
+ const HYPERCERTS_ACKNOWLEDGEMENT_NSID = "org.hypercerts.acknowledgement";
3040
3166
  const ACTIVITY_NSID = "org.hypercerts.claim.activity";
3041
3167
  const ATTACHMENT_NSID = "org.hypercerts.claim.attachment";
3042
3168
  const COLLECTION_NSID = "org.hypercerts.claim.collection";
@@ -3062,6 +3188,7 @@ const HYPERCERTS_NSIDS = {
3062
3188
  CERTIFIED_DEFS: CERTIFIED_DEFS_NSID,
3063
3189
  LOCATION: LOCATION_NSID,
3064
3190
  STRONG_REF: STRONG_REF_NSID,
3191
+ HYPERCERTS_ACKNOWLEDGEMENT: HYPERCERTS_ACKNOWLEDGEMENT_NSID,
3065
3192
  ACTIVITY: ACTIVITY_NSID,
3066
3193
  ATTACHMENT: ATTACHMENT_NSID,
3067
3194
  COLLECTION: COLLECTION_NSID,
@@ -3085,6 +3212,7 @@ const HYPERCERTS_LEXICON_JSON = {
3085
3212
  CERTIFIED_DEFS: CERTIFIED_DEFS_LEXICON_JSON,
3086
3213
  LOCATION: LOCATION_LEXICON_JSON,
3087
3214
  STRONG_REF: STRONG_REF_LEXICON_JSON,
3215
+ HYPERCERTS_ACKNOWLEDGEMENT: HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_JSON,
3088
3216
  ACTIVITY: ACTIVITY_LEXICON_JSON,
3089
3217
  ATTACHMENT: ATTACHMENT_LEXICON_JSON,
3090
3218
  COLLECTION: COLLECTION_LEXICON_JSON,
@@ -3105,6 +3233,7 @@ const BADGE_RESPONSE_LEXICON_DOC = lexicons.get(BADGE_RESPONSE_NSID);
3105
3233
  const CERTIFIED_DEFS_LEXICON_DOC = lexicons.get(CERTIFIED_DEFS_NSID);
3106
3234
  const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
3107
3235
  const STRONG_REF_LEXICON_DOC = lexicons.get(STRONG_REF_NSID);
3236
+ const HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_DOC = lexicons.get(HYPERCERTS_ACKNOWLEDGEMENT_NSID);
3108
3237
  const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
3109
3238
  const ATTACHMENT_LEXICON_DOC = lexicons.get(ATTACHMENT_NSID);
3110
3239
  const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
@@ -3127,6 +3256,7 @@ const HYPERCERTS_LEXICON_DOC = {
3127
3256
  CERTIFIED_DEFS: CERTIFIED_DEFS_LEXICON_DOC,
3128
3257
  LOCATION: LOCATION_LEXICON_DOC,
3129
3258
  STRONG_REF: STRONG_REF_LEXICON_DOC,
3259
+ HYPERCERTS_ACKNOWLEDGEMENT: HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_DOC,
3130
3260
  ACTIVITY: ACTIVITY_LEXICON_DOC,
3131
3261
  ATTACHMENT: ATTACHMENT_LEXICON_DOC,
3132
3262
  COLLECTION: COLLECTION_LEXICON_DOC,
@@ -3183,6 +3313,9 @@ exports.EVALUATION_NSID = EVALUATION_NSID;
3183
3313
  exports.FUNDING_RECEIPT_LEXICON_DOC = FUNDING_RECEIPT_LEXICON_DOC;
3184
3314
  exports.FUNDING_RECEIPT_LEXICON_JSON = FUNDING_RECEIPT_LEXICON_JSON;
3185
3315
  exports.FUNDING_RECEIPT_NSID = FUNDING_RECEIPT_NSID;
3316
+ exports.HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_DOC = HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_DOC;
3317
+ exports.HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_JSON = HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_JSON;
3318
+ exports.HYPERCERTS_ACKNOWLEDGEMENT_NSID = HYPERCERTS_ACKNOWLEDGEMENT_NSID;
3186
3319
  exports.HYPERCERTS_DEFS_LEXICON_DOC = HYPERCERTS_DEFS_LEXICON_DOC;
3187
3320
  exports.HYPERCERTS_DEFS_LEXICON_JSON = HYPERCERTS_DEFS_LEXICON_JSON;
3188
3321
  exports.HYPERCERTS_DEFS_NSID = HYPERCERTS_DEFS_NSID;
@@ -3198,6 +3331,7 @@ exports.LOCATION_NSID = LOCATION_NSID;
3198
3331
  exports.MEASUREMENT_LEXICON_DOC = MEASUREMENT_LEXICON_DOC;
3199
3332
  exports.MEASUREMENT_LEXICON_JSON = MEASUREMENT_LEXICON_JSON;
3200
3333
  exports.MEASUREMENT_NSID = MEASUREMENT_NSID;
3334
+ exports.OrgHypercertsAcknowledgement = acknowledgement;
3201
3335
  exports.OrgHypercertsClaimActivity = activity;
3202
3336
  exports.OrgHypercertsClaimAttachment = attachment;
3203
3337
  exports.OrgHypercertsClaimCollection = collection;
@@ -3219,8 +3353,8 @@ exports.WORK_SCOPE_TAG_LEXICON_DOC = WORK_SCOPE_TAG_LEXICON_DOC;
3219
3353
  exports.WORK_SCOPE_TAG_LEXICON_JSON = WORK_SCOPE_TAG_LEXICON_JSON;
3220
3354
  exports.WORK_SCOPE_TAG_NSID = WORK_SCOPE_TAG_NSID;
3221
3355
  exports.asPredicate = asPredicate;
3222
- exports.is$typed = is$typed$i;
3356
+ exports.is$typed = is$typed$j;
3223
3357
  exports.lexicons = lexicons;
3224
3358
  exports.maybe$typed = maybe$typed;
3225
- exports.validate = validate$i;
3359
+ exports.validate = validate$j;
3226
3360
  //# sourceMappingURL=index.cjs.map