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

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 (35) hide show
  1. package/CHANGELOG.md +93 -0
  2. package/README.md +142 -0
  3. package/SCHEMAS.md +174 -67
  4. package/dist/exports.d.ts +103 -61
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +103 -61
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +196 -112
  9. package/dist/generated/lexicons.d.ts.map +1 -1
  10. package/dist/generated/types/app/certified/location.d.ts +9 -1
  11. package/dist/generated/types/app/certified/location.d.ts.map +1 -1
  12. package/dist/generated/types/org/hypercerts/claim/attachment.d.ts +37 -0
  13. package/dist/generated/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
  14. package/dist/index.cjs +283 -190
  15. package/dist/index.cjs.map +1 -1
  16. package/dist/index.mjs +280 -187
  17. package/dist/index.mjs.map +1 -1
  18. package/dist/lexicons.cjs +102 -59
  19. package/dist/lexicons.cjs.map +1 -1
  20. package/dist/lexicons.d.ts +196 -112
  21. package/dist/lexicons.d.ts.map +1 -1
  22. package/dist/lexicons.mjs +102 -59
  23. package/dist/lexicons.mjs.map +1 -1
  24. package/dist/types/app/certified/location.d.ts +9 -1
  25. package/dist/types/app/certified/location.d.ts.map +1 -1
  26. package/dist/types/org/hypercerts/claim/attachment.d.ts +37 -0
  27. package/dist/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
  28. package/lexicons/app/certified/location.json +16 -2
  29. package/lexicons/org/hypercerts/claim/attachment.json +86 -0
  30. package/package.json +1 -1
  31. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts +0 -29
  32. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  33. package/dist/types/org/hypercerts/claim/evidence.d.ts +0 -29
  34. package/dist/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  35. package/lexicons/org/hypercerts/claim/evidence.json +0 -57
package/dist/index.mjs CHANGED
@@ -217,8 +217,9 @@ const schemaDict = {
217
217
  refs: [
218
218
  'lex:org.hypercerts.defs#uri',
219
219
  'lex:org.hypercerts.defs#smallBlob',
220
+ 'lex:app.certified.location#string',
220
221
  ],
221
- description: 'The location of where the work was performed as a URI or blob.',
222
+ description: 'The location of where the work was performed as a URI, blob, or inline string.',
222
223
  },
223
224
  name: {
224
225
  type: 'string',
@@ -240,6 +241,19 @@ const schemaDict = {
240
241
  },
241
242
  },
242
243
  },
244
+ string: {
245
+ type: 'object',
246
+ required: ['string'],
247
+ description: 'A location represented as a string, e.g. coordinates or a small GeoJSON string.',
248
+ properties: {
249
+ string: {
250
+ type: 'string',
251
+ description: 'The location string value',
252
+ maxLength: 10000,
253
+ maxGraphemes: 1000,
254
+ },
255
+ },
256
+ },
243
257
  },
244
258
  },
245
259
  ComAtprotoRepoStrongRef: {
@@ -407,6 +421,92 @@ const schemaDict = {
407
421
  },
408
422
  },
409
423
  },
424
+ OrgHypercertsClaimAttachment: {
425
+ lexicon: 1,
426
+ id: 'org.hypercerts.claim.attachment',
427
+ defs: {
428
+ main: {
429
+ type: 'record',
430
+ description: 'An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).',
431
+ key: 'tid',
432
+ record: {
433
+ type: 'object',
434
+ required: ['title', 'content', 'createdAt'],
435
+ properties: {
436
+ subjects: {
437
+ type: 'array',
438
+ description: 'References to the subject(s) the attachment is connected to—this may be an activity claim, outcome claim, measurement, evaluation, or even another attachment. This is optional as the attachment can exist before the claim is recorded.',
439
+ items: {
440
+ type: 'ref',
441
+ ref: 'lex:com.atproto.repo.strongRef',
442
+ },
443
+ maxLength: 100,
444
+ },
445
+ contentType: {
446
+ type: 'string',
447
+ maxLength: 64,
448
+ description: 'The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.',
449
+ },
450
+ content: {
451
+ type: 'array',
452
+ description: 'The files, documents, or external references included in this attachment record.',
453
+ items: {
454
+ type: 'union',
455
+ refs: [
456
+ 'lex:org.hypercerts.defs#uri',
457
+ 'lex:org.hypercerts.defs#smallBlob',
458
+ ],
459
+ },
460
+ maxLength: 100,
461
+ },
462
+ title: {
463
+ type: 'string',
464
+ maxLength: 256,
465
+ description: 'Title of this attachment.',
466
+ },
467
+ shortDescription: {
468
+ type: 'string',
469
+ description: 'Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',
470
+ maxLength: 3000,
471
+ maxGraphemes: 300,
472
+ },
473
+ shortDescriptionFacets: {
474
+ type: 'array',
475
+ description: 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',
476
+ items: {
477
+ type: 'ref',
478
+ ref: 'lex:app.bsky.richtext.facet',
479
+ },
480
+ },
481
+ description: {
482
+ type: 'string',
483
+ description: 'Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',
484
+ maxLength: 30000,
485
+ maxGraphemes: 3000,
486
+ },
487
+ descriptionFacets: {
488
+ type: 'array',
489
+ description: 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',
490
+ items: {
491
+ type: 'ref',
492
+ ref: 'lex:app.bsky.richtext.facet',
493
+ },
494
+ },
495
+ location: {
496
+ type: 'ref',
497
+ ref: 'lex:com.atproto.repo.strongRef',
498
+ description: "A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location.",
499
+ },
500
+ createdAt: {
501
+ type: 'string',
502
+ format: 'datetime',
503
+ description: 'Client-declared timestamp when this record was originally created.',
504
+ },
505
+ },
506
+ },
507
+ },
508
+ },
509
+ },
410
510
  OrgHypercertsClaimCollection: {
411
511
  lexicon: 1,
412
512
  id: 'org.hypercerts.claim.collection',
@@ -668,63 +768,6 @@ const schemaDict = {
668
768
  },
669
769
  },
670
770
  },
671
- OrgHypercertsClaimEvidence: {
672
- lexicon: 1,
673
- id: 'org.hypercerts.claim.evidence',
674
- defs: {
675
- main: {
676
- type: 'record',
677
- description: 'A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.',
678
- key: 'tid',
679
- record: {
680
- type: 'object',
681
- required: ['content', 'title', 'createdAt'],
682
- properties: {
683
- subject: {
684
- type: 'ref',
685
- ref: 'lex:com.atproto.repo.strongRef',
686
- description: 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',
687
- },
688
- content: {
689
- type: 'union',
690
- refs: [
691
- 'lex:org.hypercerts.defs#uri',
692
- 'lex:org.hypercerts.defs#smallBlob',
693
- ],
694
- description: 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',
695
- },
696
- title: {
697
- type: 'string',
698
- maxLength: 256,
699
- description: 'Title to describe the nature of the evidence.',
700
- },
701
- shortDescription: {
702
- type: 'string',
703
- maxLength: 3000,
704
- maxGraphemes: 300,
705
- description: 'Short description explaining what this evidence shows.',
706
- },
707
- description: {
708
- type: 'string',
709
- description: 'Longer description describing the evidence in more detail.',
710
- maxLength: 30000,
711
- maxGraphemes: 3000,
712
- },
713
- relationType: {
714
- type: 'string',
715
- description: 'How this evidence relates to the subject.',
716
- knownValues: ['supports', 'challenges', 'clarifies'],
717
- },
718
- createdAt: {
719
- type: 'string',
720
- format: 'datetime',
721
- description: 'Client-declared timestamp when this record was originally created',
722
- },
723
- },
724
- },
725
- },
726
- },
727
- },
728
771
  OrgHypercertsClaimMeasurement: {
729
772
  lexicon: 1,
730
773
  id: 'org.hypercerts.claim.measurement',
@@ -1098,11 +1141,11 @@ const ids = {
1098
1141
  AppCertifiedLocation: 'app.certified.location',
1099
1142
  ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
1100
1143
  OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
1144
+ OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
1101
1145
  OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
1102
1146
  OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
1103
1147
  OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
1104
1148
  OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
1105
- OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
1106
1149
  OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
1107
1150
  OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
1108
1151
  OrgHypercertsDefs: 'org.hypercerts.defs',
@@ -1324,9 +1367,10 @@ var defs$e = {
1324
1367
  type: "union",
1325
1368
  refs: [
1326
1369
  "org.hypercerts.defs#uri",
1327
- "org.hypercerts.defs#smallBlob"
1370
+ "org.hypercerts.defs#smallBlob",
1371
+ "#string"
1328
1372
  ],
1329
- description: "The location of where the work was performed as a URI or blob."
1373
+ description: "The location of where the work was performed as a URI, blob, or inline string."
1330
1374
  },
1331
1375
  name: {
1332
1376
  type: "string",
@@ -1347,6 +1391,21 @@ var defs$e = {
1347
1391
  }
1348
1392
  }
1349
1393
  }
1394
+ },
1395
+ string: {
1396
+ type: "object",
1397
+ required: [
1398
+ "string"
1399
+ ],
1400
+ description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.",
1401
+ properties: {
1402
+ string: {
1403
+ type: "string",
1404
+ description: "The location string value",
1405
+ maxLength: 10000,
1406
+ maxGraphemes: 1000
1407
+ }
1408
+ }
1350
1409
  }
1351
1410
  };
1352
1411
  var LOCATION_LEXICON_JSON = {
@@ -1539,8 +1598,102 @@ var ACTIVITY_LEXICON_JSON = {
1539
1598
  };
1540
1599
 
1541
1600
  var lexicon$9 = 1;
1542
- var id$p = "org.hypercerts.claim.collection";
1601
+ var id$p = "org.hypercerts.claim.attachment";
1543
1602
  var defs$b = {
1603
+ main: {
1604
+ type: "record",
1605
+ description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).",
1606
+ key: "tid",
1607
+ record: {
1608
+ type: "object",
1609
+ required: [
1610
+ "title",
1611
+ "content",
1612
+ "createdAt"
1613
+ ],
1614
+ properties: {
1615
+ subjects: {
1616
+ type: "array",
1617
+ description: "References to the subject(s) the attachment is connected to—this may be an activity claim, outcome claim, measurement, evaluation, or even another attachment. This is optional as the attachment can exist before the claim is recorded.",
1618
+ items: {
1619
+ type: "ref",
1620
+ ref: "com.atproto.repo.strongRef"
1621
+ },
1622
+ maxLength: 100
1623
+ },
1624
+ contentType: {
1625
+ type: "string",
1626
+ maxLength: 64,
1627
+ description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc."
1628
+ },
1629
+ content: {
1630
+ type: "array",
1631
+ description: "The files, documents, or external references included in this attachment record.",
1632
+ items: {
1633
+ type: "union",
1634
+ refs: [
1635
+ "org.hypercerts.defs#uri",
1636
+ "org.hypercerts.defs#smallBlob"
1637
+ ]
1638
+ },
1639
+ maxLength: 100
1640
+ },
1641
+ title: {
1642
+ type: "string",
1643
+ maxLength: 256,
1644
+ description: "Title of this attachment."
1645
+ },
1646
+ shortDescription: {
1647
+ type: "string",
1648
+ description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
1649
+ maxLength: 3000,
1650
+ maxGraphemes: 300
1651
+ },
1652
+ shortDescriptionFacets: {
1653
+ type: "array",
1654
+ description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
1655
+ items: {
1656
+ type: "ref",
1657
+ ref: "app.bsky.richtext.facet"
1658
+ }
1659
+ },
1660
+ description: {
1661
+ type: "string",
1662
+ description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.",
1663
+ maxLength: 30000,
1664
+ maxGraphemes: 3000
1665
+ },
1666
+ descriptionFacets: {
1667
+ type: "array",
1668
+ description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).",
1669
+ items: {
1670
+ type: "ref",
1671
+ ref: "app.bsky.richtext.facet"
1672
+ }
1673
+ },
1674
+ location: {
1675
+ type: "ref",
1676
+ ref: "com.atproto.repo.strongRef",
1677
+ description: "A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location."
1678
+ },
1679
+ createdAt: {
1680
+ type: "string",
1681
+ format: "datetime",
1682
+ description: "Client-declared timestamp when this record was originally created."
1683
+ }
1684
+ }
1685
+ }
1686
+ }
1687
+ };
1688
+ var ATTACHMENT_LEXICON_JSON = {
1689
+ lexicon: lexicon$9,
1690
+ id: id$p,
1691
+ defs: defs$b
1692
+ };
1693
+
1694
+ var lexicon$8 = 1;
1695
+ var id$o = "org.hypercerts.claim.collection";
1696
+ var defs$a = {
1544
1697
  main: {
1545
1698
  type: "record",
1546
1699
  description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
@@ -1630,14 +1783,14 @@ var defs$b = {
1630
1783
  }
1631
1784
  };
1632
1785
  var COLLECTION_LEXICON_JSON = {
1633
- lexicon: lexicon$9,
1634
- id: id$p,
1635
- defs: defs$b
1786
+ lexicon: lexicon$8,
1787
+ id: id$o,
1788
+ defs: defs$a
1636
1789
  };
1637
1790
 
1638
- var lexicon$8 = 1;
1639
- var id$o = "org.hypercerts.claim.contributionDetails";
1640
- var defs$a = {
1791
+ var lexicon$7 = 1;
1792
+ var id$n = "org.hypercerts.claim.contributionDetails";
1793
+ var defs$9 = {
1641
1794
  main: {
1642
1795
  type: "record",
1643
1796
  description: "Details about a specific contribution including role, description, and timeframe.",
@@ -1679,14 +1832,14 @@ var defs$a = {
1679
1832
  }
1680
1833
  };
1681
1834
  var CONTRIBUTION_DETAILS_LEXICON_JSON = {
1682
- lexicon: lexicon$8,
1683
- id: id$o,
1684
- defs: defs$a
1835
+ lexicon: lexicon$7,
1836
+ id: id$n,
1837
+ defs: defs$9
1685
1838
  };
1686
1839
 
1687
- var lexicon$7 = 1;
1688
- var id$n = "org.hypercerts.claim.contributorInformation";
1689
- var defs$9 = {
1840
+ var lexicon$6 = 1;
1841
+ var id$m = "org.hypercerts.claim.contributorInformation";
1842
+ var defs$8 = {
1690
1843
  main: {
1691
1844
  type: "record",
1692
1845
  description: "Contributor information including identifier, display name, and image.",
@@ -1724,14 +1877,14 @@ var defs$9 = {
1724
1877
  }
1725
1878
  };
1726
1879
  var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
1727
- lexicon: lexicon$7,
1728
- id: id$n,
1729
- defs: defs$9
1880
+ lexicon: lexicon$6,
1881
+ id: id$m,
1882
+ defs: defs$8
1730
1883
  };
1731
1884
 
1732
- var lexicon$6 = 1;
1733
- var id$m = "org.hypercerts.claim.evaluation";
1734
- var defs$8 = {
1885
+ var lexicon$5 = 1;
1886
+ var id$l = "org.hypercerts.claim.evaluation";
1887
+ var defs$7 = {
1735
1888
  score: {
1736
1889
  type: "object",
1737
1890
  description: "Overall score for an evaluation on a numeric scale.",
@@ -1828,75 +1981,6 @@ var defs$8 = {
1828
1981
  }
1829
1982
  };
1830
1983
  var EVALUATION_LEXICON_JSON = {
1831
- lexicon: lexicon$6,
1832
- id: id$m,
1833
- defs: defs$8
1834
- };
1835
-
1836
- var lexicon$5 = 1;
1837
- var id$l = "org.hypercerts.claim.evidence";
1838
- var defs$7 = {
1839
- main: {
1840
- type: "record",
1841
- description: "A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.",
1842
- key: "tid",
1843
- record: {
1844
- type: "object",
1845
- required: [
1846
- "content",
1847
- "title",
1848
- "createdAt"
1849
- ],
1850
- properties: {
1851
- subject: {
1852
- type: "ref",
1853
- ref: "com.atproto.repo.strongRef",
1854
- description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation)."
1855
- },
1856
- content: {
1857
- type: "union",
1858
- refs: [
1859
- "org.hypercerts.defs#uri",
1860
- "org.hypercerts.defs#smallBlob"
1861
- ],
1862
- description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim."
1863
- },
1864
- title: {
1865
- type: "string",
1866
- maxLength: 256,
1867
- description: "Title to describe the nature of the evidence."
1868
- },
1869
- shortDescription: {
1870
- type: "string",
1871
- maxLength: 3000,
1872
- maxGraphemes: 300,
1873
- description: "Short description explaining what this evidence shows."
1874
- },
1875
- description: {
1876
- type: "string",
1877
- description: "Longer description describing the evidence in more detail.",
1878
- maxLength: 30000,
1879
- maxGraphemes: 3000
1880
- },
1881
- relationType: {
1882
- type: "string",
1883
- description: "How this evidence relates to the subject.",
1884
- knownValues: [
1885
- "supports",
1886
- "challenges",
1887
- "clarifies"
1888
- ]
1889
- },
1890
- createdAt: {
1891
- type: "string",
1892
- format: "datetime",
1893
- description: "Client-declared timestamp when this record was originally created"
1894
- }
1895
- }
1896
- }
1897
- }
1898
- };
1899
- var EVIDENCE_LEXICON_JSON = {
1900
1984
  lexicon: lexicon$5,
1901
1985
  id: id$l,
1902
1986
  defs: defs$7
@@ -2382,13 +2466,22 @@ function isMain$b(v) {
2382
2466
  function validateMain$b(v) {
2383
2467
  return validate$c(v, id$c, hashMain$b, true);
2384
2468
  }
2469
+ const hashString = 'string';
2470
+ function isString(v) {
2471
+ return is$typed$c(v, id$c, hashString);
2472
+ }
2473
+ function validateString(v) {
2474
+ return validate$c(v, id$c, hashString);
2475
+ }
2385
2476
 
2386
2477
  var location = /*#__PURE__*/Object.freeze({
2387
2478
  __proto__: null,
2388
2479
  isMain: isMain$b,
2389
2480
  isRecord: isMain$b,
2481
+ isString: isString,
2390
2482
  validateMain: validateMain$b,
2391
- validateRecord: validateMain$b
2483
+ validateRecord: validateMain$b,
2484
+ validateString: validateString
2392
2485
  });
2393
2486
 
2394
2487
  const is$typed$b = is$typed$g, validate$b = validate$g;
@@ -2435,7 +2528,7 @@ var activity = /*#__PURE__*/Object.freeze({
2435
2528
  });
2436
2529
 
2437
2530
  const is$typed$9 = is$typed$g, validate$9 = validate$g;
2438
- const id$9 = 'org.hypercerts.claim.collection';
2531
+ const id$9 = 'org.hypercerts.claim.attachment';
2439
2532
  const hashMain$8 = 'main';
2440
2533
  function isMain$8(v) {
2441
2534
  return is$typed$9(v, id$9, hashMain$8);
@@ -2443,26 +2536,17 @@ function isMain$8(v) {
2443
2536
  function validateMain$8(v) {
2444
2537
  return validate$9(v, id$9, hashMain$8, true);
2445
2538
  }
2446
- const hashItem = 'item';
2447
- function isItem(v) {
2448
- return is$typed$9(v, id$9, hashItem);
2449
- }
2450
- function validateItem(v) {
2451
- return validate$9(v, id$9, hashItem);
2452
- }
2453
2539
 
2454
- var collection = /*#__PURE__*/Object.freeze({
2540
+ var attachment = /*#__PURE__*/Object.freeze({
2455
2541
  __proto__: null,
2456
- isItem: isItem,
2457
2542
  isMain: isMain$8,
2458
2543
  isRecord: isMain$8,
2459
- validateItem: validateItem,
2460
2544
  validateMain: validateMain$8,
2461
2545
  validateRecord: validateMain$8
2462
2546
  });
2463
2547
 
2464
2548
  const is$typed$8 = is$typed$g, validate$8 = validate$g;
2465
- const id$8 = 'org.hypercerts.claim.contributionDetails';
2549
+ const id$8 = 'org.hypercerts.claim.collection';
2466
2550
  const hashMain$7 = 'main';
2467
2551
  function isMain$7(v) {
2468
2552
  return is$typed$8(v, id$8, hashMain$7);
@@ -2470,17 +2554,26 @@ function isMain$7(v) {
2470
2554
  function validateMain$7(v) {
2471
2555
  return validate$8(v, id$8, hashMain$7, true);
2472
2556
  }
2557
+ const hashItem = 'item';
2558
+ function isItem(v) {
2559
+ return is$typed$8(v, id$8, hashItem);
2560
+ }
2561
+ function validateItem(v) {
2562
+ return validate$8(v, id$8, hashItem);
2563
+ }
2473
2564
 
2474
- var contributionDetails = /*#__PURE__*/Object.freeze({
2565
+ var collection = /*#__PURE__*/Object.freeze({
2475
2566
  __proto__: null,
2567
+ isItem: isItem,
2476
2568
  isMain: isMain$7,
2477
2569
  isRecord: isMain$7,
2570
+ validateItem: validateItem,
2478
2571
  validateMain: validateMain$7,
2479
2572
  validateRecord: validateMain$7
2480
2573
  });
2481
2574
 
2482
2575
  const is$typed$7 = is$typed$g, validate$7 = validate$g;
2483
- const id$7 = 'org.hypercerts.claim.contributorInformation';
2576
+ const id$7 = 'org.hypercerts.claim.contributionDetails';
2484
2577
  const hashMain$6 = 'main';
2485
2578
  function isMain$6(v) {
2486
2579
  return is$typed$7(v, id$7, hashMain$6);
@@ -2489,7 +2582,7 @@ function validateMain$6(v) {
2489
2582
  return validate$7(v, id$7, hashMain$6, true);
2490
2583
  }
2491
2584
 
2492
- var contributorInformation = /*#__PURE__*/Object.freeze({
2585
+ var contributionDetails = /*#__PURE__*/Object.freeze({
2493
2586
  __proto__: null,
2494
2587
  isMain: isMain$6,
2495
2588
  isRecord: isMain$6,
@@ -2498,14 +2591,7 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
2498
2591
  });
2499
2592
 
2500
2593
  const is$typed$6 = is$typed$g, validate$6 = validate$g;
2501
- const id$6 = 'org.hypercerts.claim.evaluation';
2502
- const hashScore = 'score';
2503
- function isScore(v) {
2504
- return is$typed$6(v, id$6, hashScore);
2505
- }
2506
- function validateScore(v) {
2507
- return validate$6(v, id$6, hashScore);
2508
- }
2594
+ const id$6 = 'org.hypercerts.claim.contributorInformation';
2509
2595
  const hashMain$5 = 'main';
2510
2596
  function isMain$5(v) {
2511
2597
  return is$typed$6(v, id$6, hashMain$5);
@@ -2514,18 +2600,23 @@ function validateMain$5(v) {
2514
2600
  return validate$6(v, id$6, hashMain$5, true);
2515
2601
  }
2516
2602
 
2517
- var evaluation = /*#__PURE__*/Object.freeze({
2603
+ var contributorInformation = /*#__PURE__*/Object.freeze({
2518
2604
  __proto__: null,
2519
2605
  isMain: isMain$5,
2520
2606
  isRecord: isMain$5,
2521
- isScore: isScore,
2522
2607
  validateMain: validateMain$5,
2523
- validateRecord: validateMain$5,
2524
- validateScore: validateScore
2608
+ validateRecord: validateMain$5
2525
2609
  });
2526
2610
 
2527
2611
  const is$typed$5 = is$typed$g, validate$5 = validate$g;
2528
- const id$5 = 'org.hypercerts.claim.evidence';
2612
+ const id$5 = 'org.hypercerts.claim.evaluation';
2613
+ const hashScore = 'score';
2614
+ function isScore(v) {
2615
+ return is$typed$5(v, id$5, hashScore);
2616
+ }
2617
+ function validateScore(v) {
2618
+ return validate$5(v, id$5, hashScore);
2619
+ }
2529
2620
  const hashMain$4 = 'main';
2530
2621
  function isMain$4(v) {
2531
2622
  return is$typed$5(v, id$5, hashMain$4);
@@ -2534,12 +2625,14 @@ function validateMain$4(v) {
2534
2625
  return validate$5(v, id$5, hashMain$4, true);
2535
2626
  }
2536
2627
 
2537
- var evidence = /*#__PURE__*/Object.freeze({
2628
+ var evaluation = /*#__PURE__*/Object.freeze({
2538
2629
  __proto__: null,
2539
2630
  isMain: isMain$4,
2540
2631
  isRecord: isMain$4,
2632
+ isScore: isScore,
2541
2633
  validateMain: validateMain$4,
2542
- validateRecord: validateMain$4
2634
+ validateRecord: validateMain$4,
2635
+ validateScore: validateScore
2543
2636
  });
2544
2637
 
2545
2638
  const is$typed$4 = is$typed$g, validate$4 = validate$g;
@@ -2672,7 +2765,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
2672
2765
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
2673
2766
  *
2674
2767
  * This file is automatically generated by scripts/generate-exports.js
2675
- * Generated: 2026-01-24T06:58:07.601Z
2768
+ * Generated: 2026-01-25T04:32:42.985Z
2676
2769
  *
2677
2770
  * To regenerate this file, run:
2678
2771
  * npm run gen-api
@@ -2696,11 +2789,11 @@ const CERTIFIED_DEFS_NSID = "app.certified.defs";
2696
2789
  const LOCATION_NSID = "app.certified.location";
2697
2790
  const STRONG_REF_NSID = "com.atproto.repo.strongRef";
2698
2791
  const ACTIVITY_NSID = "org.hypercerts.claim.activity";
2792
+ const ATTACHMENT_NSID = "org.hypercerts.claim.attachment";
2699
2793
  const COLLECTION_NSID = "org.hypercerts.claim.collection";
2700
2794
  const CONTRIBUTION_DETAILS_NSID = "org.hypercerts.claim.contributionDetails";
2701
2795
  const CONTRIBUTOR_INFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
2702
2796
  const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
2703
- const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
2704
2797
  const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
2705
2798
  const RIGHTS_NSID = "org.hypercerts.claim.rights";
2706
2799
  const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
@@ -2720,11 +2813,11 @@ const HYPERCERTS_NSIDS = {
2720
2813
  LOCATION: LOCATION_NSID,
2721
2814
  STRONG_REF: STRONG_REF_NSID,
2722
2815
  ACTIVITY: ACTIVITY_NSID,
2816
+ ATTACHMENT: ATTACHMENT_NSID,
2723
2817
  COLLECTION: COLLECTION_NSID,
2724
2818
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_NSID,
2725
2819
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_NSID,
2726
2820
  EVALUATION: EVALUATION_NSID,
2727
- EVIDENCE: EVIDENCE_NSID,
2728
2821
  MEASUREMENT: MEASUREMENT_NSID,
2729
2822
  RIGHTS: RIGHTS_NSID,
2730
2823
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
@@ -2742,11 +2835,11 @@ const HYPERCERTS_LEXICON_JSON = {
2742
2835
  LOCATION: LOCATION_LEXICON_JSON,
2743
2836
  STRONG_REF: STRONG_REF_LEXICON_JSON,
2744
2837
  ACTIVITY: ACTIVITY_LEXICON_JSON,
2838
+ ATTACHMENT: ATTACHMENT_LEXICON_JSON,
2745
2839
  COLLECTION: COLLECTION_LEXICON_JSON,
2746
2840
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_JSON,
2747
2841
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_JSON,
2748
2842
  EVALUATION: EVALUATION_LEXICON_JSON,
2749
- EVIDENCE: EVIDENCE_LEXICON_JSON,
2750
2843
  MEASUREMENT: MEASUREMENT_LEXICON_JSON,
2751
2844
  RIGHTS: RIGHTS_LEXICON_JSON,
2752
2845
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
@@ -2761,11 +2854,11 @@ const CERTIFIED_DEFS_LEXICON_DOC = lexicons.get(CERTIFIED_DEFS_NSID);
2761
2854
  const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
2762
2855
  const STRONG_REF_LEXICON_DOC = lexicons.get(STRONG_REF_NSID);
2763
2856
  const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
2857
+ const ATTACHMENT_LEXICON_DOC = lexicons.get(ATTACHMENT_NSID);
2764
2858
  const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
2765
2859
  const CONTRIBUTION_DETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTION_DETAILS_NSID);
2766
2860
  const CONTRIBUTOR_INFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTOR_INFORMATION_NSID);
2767
2861
  const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
2768
- const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
2769
2862
  const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
2770
2863
  const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
2771
2864
  const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
@@ -2782,11 +2875,11 @@ const HYPERCERTS_LEXICON_DOC = {
2782
2875
  LOCATION: LOCATION_LEXICON_DOC,
2783
2876
  STRONG_REF: STRONG_REF_LEXICON_DOC,
2784
2877
  ACTIVITY: ACTIVITY_LEXICON_DOC,
2878
+ ATTACHMENT: ATTACHMENT_LEXICON_DOC,
2785
2879
  COLLECTION: COLLECTION_LEXICON_DOC,
2786
2880
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_DOC,
2787
2881
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_DOC,
2788
2882
  EVALUATION: EVALUATION_LEXICON_DOC,
2789
- EVIDENCE: EVIDENCE_LEXICON_DOC,
2790
2883
  MEASUREMENT: MEASUREMENT_LEXICON_DOC,
2791
2884
  RIGHTS: RIGHTS_LEXICON_DOC,
2792
2885
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
@@ -2794,5 +2887,5 @@ const HYPERCERTS_LEXICON_DOC = {
2794
2887
  WORK_SCOPE_TAG: WORK_SCOPE_TAG_LEXICON_DOC,
2795
2888
  };
2796
2889
 
2797
- export { ACTIVITY_LEXICON_DOC, ACTIVITY_LEXICON_JSON, ACTIVITY_NSID, award as AppCertifiedBadgeAward, definition as AppCertifiedBadgeDefinition, response as AppCertifiedBadgeResponse, defs$1 as AppCertifiedDefs, location as AppCertifiedLocation, BADGE_AWARD_LEXICON_DOC, BADGE_AWARD_LEXICON_JSON, BADGE_AWARD_NSID, BADGE_DEFINITION_LEXICON_DOC, BADGE_DEFINITION_LEXICON_JSON, BADGE_DEFINITION_NSID, BADGE_RESPONSE_LEXICON_DOC, BADGE_RESPONSE_LEXICON_JSON, BADGE_RESPONSE_NSID, CERTIFIED_DEFS_LEXICON_DOC, CERTIFIED_DEFS_LEXICON_JSON, CERTIFIED_DEFS_NSID, COLLECTION_LEXICON_DOC, COLLECTION_LEXICON_JSON, COLLECTION_NSID, CONTRIBUTION_DETAILS_LEXICON_DOC, CONTRIBUTION_DETAILS_LEXICON_JSON, CONTRIBUTION_DETAILS_NSID, CONTRIBUTOR_INFORMATION_LEXICON_DOC, CONTRIBUTOR_INFORMATION_LEXICON_JSON, CONTRIBUTOR_INFORMATION_NSID, strongRef as ComAtprotoRepoStrongRef, EVALUATION_LEXICON_DOC, EVALUATION_LEXICON_JSON, EVALUATION_NSID, EVIDENCE_LEXICON_DOC, EVIDENCE_LEXICON_JSON, EVIDENCE_NSID, FUNDING_RECEIPT_LEXICON_DOC, FUNDING_RECEIPT_LEXICON_JSON, FUNDING_RECEIPT_NSID, HYPERCERTS_DEFS_LEXICON_DOC, HYPERCERTS_DEFS_LEXICON_JSON, HYPERCERTS_DEFS_NSID, HYPERCERTS_LEXICON_DOC, HYPERCERTS_LEXICON_JSON, HYPERCERTS_NSIDS, ids as HYPERCERTS_NSIDS_BY_TYPE, schemas as HYPERCERTS_SCHEMAS, schemaDict as HYPERCERTS_SCHEMA_DICT, LOCATION_LEXICON_DOC, LOCATION_LEXICON_JSON, LOCATION_NSID, MEASUREMENT_LEXICON_DOC, MEASUREMENT_LEXICON_JSON, MEASUREMENT_NSID, activity as OrgHypercertsClaimActivity, collection as OrgHypercertsClaimCollection, contributionDetails as OrgHypercertsClaimContributionDetails, contributorInformation as OrgHypercertsClaimContributorInformation, evaluation as OrgHypercertsClaimEvaluation, evidence as OrgHypercertsClaimEvidence, measurement as OrgHypercertsClaimMeasurement, rights as OrgHypercertsClaimRights, defs as OrgHypercertsDefs, receipt as OrgHypercertsFundingReceipt, workScopeTag as OrgHypercertsHelperWorkScopeTag, RIGHTS_LEXICON_DOC, RIGHTS_LEXICON_JSON, RIGHTS_NSID, STRONG_REF_LEXICON_DOC, STRONG_REF_LEXICON_JSON, STRONG_REF_NSID, WORK_SCOPE_TAG_LEXICON_DOC, WORK_SCOPE_TAG_LEXICON_JSON, WORK_SCOPE_TAG_NSID, asPredicate, is$typed$g as is$typed, lexicons, maybe$typed, validate$g as validate };
2890
+ export { ACTIVITY_LEXICON_DOC, ACTIVITY_LEXICON_JSON, ACTIVITY_NSID, ATTACHMENT_LEXICON_DOC, ATTACHMENT_LEXICON_JSON, ATTACHMENT_NSID, award as AppCertifiedBadgeAward, definition as AppCertifiedBadgeDefinition, response as AppCertifiedBadgeResponse, defs$1 as AppCertifiedDefs, location as AppCertifiedLocation, BADGE_AWARD_LEXICON_DOC, BADGE_AWARD_LEXICON_JSON, BADGE_AWARD_NSID, BADGE_DEFINITION_LEXICON_DOC, BADGE_DEFINITION_LEXICON_JSON, BADGE_DEFINITION_NSID, BADGE_RESPONSE_LEXICON_DOC, BADGE_RESPONSE_LEXICON_JSON, BADGE_RESPONSE_NSID, CERTIFIED_DEFS_LEXICON_DOC, CERTIFIED_DEFS_LEXICON_JSON, CERTIFIED_DEFS_NSID, COLLECTION_LEXICON_DOC, COLLECTION_LEXICON_JSON, COLLECTION_NSID, CONTRIBUTION_DETAILS_LEXICON_DOC, CONTRIBUTION_DETAILS_LEXICON_JSON, CONTRIBUTION_DETAILS_NSID, CONTRIBUTOR_INFORMATION_LEXICON_DOC, CONTRIBUTOR_INFORMATION_LEXICON_JSON, CONTRIBUTOR_INFORMATION_NSID, strongRef as ComAtprotoRepoStrongRef, EVALUATION_LEXICON_DOC, EVALUATION_LEXICON_JSON, EVALUATION_NSID, FUNDING_RECEIPT_LEXICON_DOC, FUNDING_RECEIPT_LEXICON_JSON, FUNDING_RECEIPT_NSID, HYPERCERTS_DEFS_LEXICON_DOC, HYPERCERTS_DEFS_LEXICON_JSON, HYPERCERTS_DEFS_NSID, HYPERCERTS_LEXICON_DOC, HYPERCERTS_LEXICON_JSON, HYPERCERTS_NSIDS, ids as HYPERCERTS_NSIDS_BY_TYPE, schemas as HYPERCERTS_SCHEMAS, schemaDict as HYPERCERTS_SCHEMA_DICT, LOCATION_LEXICON_DOC, LOCATION_LEXICON_JSON, LOCATION_NSID, MEASUREMENT_LEXICON_DOC, MEASUREMENT_LEXICON_JSON, MEASUREMENT_NSID, activity as OrgHypercertsClaimActivity, attachment as OrgHypercertsClaimAttachment, collection as OrgHypercertsClaimCollection, contributionDetails as OrgHypercertsClaimContributionDetails, contributorInformation as OrgHypercertsClaimContributorInformation, evaluation as OrgHypercertsClaimEvaluation, measurement as OrgHypercertsClaimMeasurement, rights as OrgHypercertsClaimRights, defs as OrgHypercertsDefs, receipt as OrgHypercertsFundingReceipt, workScopeTag as OrgHypercertsHelperWorkScopeTag, RIGHTS_LEXICON_DOC, RIGHTS_LEXICON_JSON, RIGHTS_NSID, STRONG_REF_LEXICON_DOC, STRONG_REF_LEXICON_JSON, STRONG_REF_NSID, WORK_SCOPE_TAG_LEXICON_DOC, WORK_SCOPE_TAG_LEXICON_JSON, WORK_SCOPE_TAG_NSID, asPredicate, is$typed$g as is$typed, lexicons, maybe$typed, validate$g as validate };
2798
2891
  //# sourceMappingURL=index.mjs.map