@hypercerts-org/lexicon 0.10.0-beta.11 → 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 (50) hide show
  1. package/CHANGELOG.md +166 -0
  2. package/README.md +145 -1
  3. package/SCHEMAS.md +202 -94
  4. package/dist/exports.d.ts +138 -130
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +138 -130
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +299 -283
  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/activity.d.ts +3 -1
  13. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  14. package/dist/generated/types/org/hypercerts/claim/attachment.d.ts +37 -0
  15. package/dist/generated/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
  16. package/dist/generated/types/org/hypercerts/claim/measurement.d.ts +17 -5
  17. package/dist/generated/types/org/hypercerts/claim/measurement.d.ts.map +1 -1
  18. package/dist/generated/types/org/hypercerts/defs.d.ts +0 -44
  19. package/dist/generated/types/org/hypercerts/defs.d.ts.map +1 -1
  20. package/dist/index.cjs +409 -465
  21. package/dist/index.cjs.map +1 -1
  22. package/dist/index.mjs +406 -462
  23. package/dist/index.mjs.map +1 -1
  24. package/dist/lexicons.cjs +155 -163
  25. package/dist/lexicons.cjs.map +1 -1
  26. package/dist/lexicons.d.ts +299 -283
  27. package/dist/lexicons.d.ts.map +1 -1
  28. package/dist/lexicons.mjs +155 -163
  29. package/dist/lexicons.mjs.map +1 -1
  30. package/dist/types/app/certified/location.d.ts +9 -1
  31. package/dist/types/app/certified/location.d.ts.map +1 -1
  32. package/dist/types/org/hypercerts/claim/activity.d.ts +3 -1
  33. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  34. package/dist/types/org/hypercerts/claim/attachment.d.ts +37 -0
  35. package/dist/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
  36. package/dist/types/org/hypercerts/claim/measurement.d.ts +17 -5
  37. package/dist/types/org/hypercerts/claim/measurement.d.ts.map +1 -1
  38. package/dist/types/org/hypercerts/defs.d.ts +0 -44
  39. package/dist/types/org/hypercerts/defs.d.ts.map +1 -1
  40. package/lexicons/app/certified/location.json +16 -2
  41. package/lexicons/org/hypercerts/claim/activity.json +8 -7
  42. package/lexicons/org/hypercerts/claim/attachment.json +86 -0
  43. package/lexicons/org/hypercerts/claim/measurement.json +49 -16
  44. package/lexicons/org/hypercerts/defs.json +0 -88
  45. package/package.json +1 -1
  46. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts +0 -29
  47. package/dist/generated/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  48. package/dist/types/org/hypercerts/claim/evidence.d.ts +0 -29
  49. package/dist/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
  50. package/lexicons/org/hypercerts/claim/evidence.json +0 -57
package/dist/index.mjs CHANGED
@@ -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: {
@@ -319,12 +333,10 @@ const schemaDict = {
319
333
  workScope: {
320
334
  type: 'union',
321
335
  refs: [
322
- 'lex:org.hypercerts.defs#workScopeAll',
323
- 'lex:org.hypercerts.defs#workScopeAny',
324
- 'lex:org.hypercerts.defs#workScopeNot',
325
- 'lex:org.hypercerts.defs#workScopeAtom',
336
+ 'lex:com.atproto.repo.strongRef',
337
+ 'lex:org.hypercerts.claim.activity#workScopeString',
326
338
  ],
327
- description: 'Work scope logic expression using boolean operators (all/any/not) and atomic scope references.',
339
+ description: 'Work scope definition. Either a strongRef to a work-scope logic record (structured, nested logic), or a free-form string for simple or legacy scopes. The work scope record should conform to the org.hypercerts.helper.workScopeTag lexicon.',
328
340
  },
329
341
  startDate: {
330
342
  type: 'string',
@@ -401,6 +413,98 @@ const schemaDict = {
401
413
  maxLength: 10000,
402
414
  maxGraphemes: 1000,
403
415
  },
416
+ workScopeString: {
417
+ type: 'string',
418
+ description: 'A free-form string describing the work scope for simple or legacy scopes.',
419
+ maxLength: 10000,
420
+ maxGraphemes: 1000,
421
+ },
422
+ },
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
+ },
404
508
  },
405
509
  },
406
510
  OrgHypercertsClaimCollection: {
@@ -664,99 +768,57 @@ const schemaDict = {
664
768
  },
665
769
  },
666
770
  },
667
- OrgHypercertsClaimEvidence: {
771
+ OrgHypercertsClaimMeasurement: {
668
772
  lexicon: 1,
669
- id: 'org.hypercerts.claim.evidence',
773
+ id: 'org.hypercerts.claim.measurement',
670
774
  defs: {
671
775
  main: {
672
776
  type: 'record',
673
- 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.',
777
+ description: 'Measurement data related to a hypercert record (e.g. an activity and its impact).',
674
778
  key: 'tid',
675
779
  record: {
676
780
  type: 'object',
677
- required: ['content', 'title', 'createdAt'],
781
+ required: ['metric', 'unit', 'value', 'createdAt'],
678
782
  properties: {
679
783
  subject: {
680
784
  type: 'ref',
681
785
  ref: 'lex:com.atproto.repo.strongRef',
682
- description: 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',
683
- },
684
- content: {
685
- type: 'union',
686
- refs: [
687
- 'lex:org.hypercerts.defs#uri',
688
- 'lex:org.hypercerts.defs#smallBlob',
689
- ],
690
- description: 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',
786
+ description: 'A strong reference to the record this measurement refers to (e.g. an activity, project, or claim).',
691
787
  },
692
- title: {
788
+ metric: {
693
789
  type: 'string',
694
- maxLength: 256,
695
- description: 'Title to describe the nature of the evidence.',
790
+ description: 'The metric being measured, e.g. forest area restored, number of users, etc.',
791
+ maxLength: 500,
696
792
  },
697
- shortDescription: {
793
+ unit: {
698
794
  type: 'string',
699
- maxLength: 3000,
700
- maxGraphemes: 300,
701
- description: 'Short description explaining what this evidence shows.',
795
+ description: 'The unit of the measured value (e.g. kg CO₂e, hectares, %, index score).',
796
+ maxLength: 50,
702
797
  },
703
- description: {
798
+ value: {
704
799
  type: 'string',
705
- description: 'Longer description describing the evidence in more detail.',
706
- maxLength: 30000,
707
- maxGraphemes: 3000,
800
+ description: 'The measured numeric value.',
801
+ maxLength: 500,
708
802
  },
709
- relationType: {
803
+ startDate: {
710
804
  type: 'string',
711
- description: 'How this evidence relates to the subject.',
712
- knownValues: ['supports', 'challenges', 'clarifies'],
805
+ format: 'datetime',
806
+ description: 'The start date and time when the measurement began.',
713
807
  },
714
- createdAt: {
808
+ endDate: {
715
809
  type: 'string',
716
810
  format: 'datetime',
717
- description: 'Client-declared timestamp when this record was originally created',
718
- },
719
- },
720
- },
721
- },
722
- },
723
- },
724
- OrgHypercertsClaimMeasurement: {
725
- lexicon: 1,
726
- id: 'org.hypercerts.claim.measurement',
727
- defs: {
728
- main: {
729
- type: 'record',
730
- description: 'Measurement data related to a hypercert record (e.g. an activity and its impact).',
731
- key: 'tid',
732
- record: {
733
- type: 'object',
734
- required: ['measurers', 'metric', 'value', 'createdAt'],
735
- properties: {
736
- subject: {
737
- type: 'ref',
738
- ref: 'lex:com.atproto.repo.strongRef',
739
- description: 'A strong reference to the record this measurement refers to (e.g. an activity, project, or claim).',
811
+ description: 'The end date and time when the measurement ended. If it was a one time measurement, the endDate should be equal to the startDate.',
740
812
  },
741
- measurers: {
813
+ locations: {
742
814
  type: 'array',
743
- description: 'DIDs of the entity (or entities) that measured this data',
815
+ description: 'Optional geographic references related to where the measurement was taken. Each referenced record must conform with the app.certified.location lexicon.',
744
816
  items: {
745
817
  type: 'ref',
746
- ref: 'lex:app.certified.defs#did',
818
+ ref: 'lex:com.atproto.repo.strongRef',
747
819
  },
748
820
  maxLength: 100,
749
821
  },
750
- metric: {
751
- type: 'string',
752
- description: 'The metric being measured',
753
- maxLength: 500,
754
- },
755
- value: {
756
- type: 'string',
757
- description: 'The measured value',
758
- maxLength: 500,
759
- },
760
822
  methodType: {
761
823
  type: 'string',
762
824
  description: 'Short identifier for the measurement methodology',
@@ -776,10 +838,28 @@ const schemaDict = {
776
838
  },
777
839
  maxLength: 50,
778
840
  },
779
- location: {
780
- type: 'ref',
781
- ref: 'lex:com.atproto.repo.strongRef',
782
- description: 'A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location',
841
+ measurers: {
842
+ type: 'array',
843
+ description: 'DIDs of the entity (or entities) that measured this data',
844
+ items: {
845
+ type: 'ref',
846
+ ref: 'lex:app.certified.defs#did',
847
+ },
848
+ maxLength: 100,
849
+ },
850
+ comment: {
851
+ type: 'string',
852
+ description: 'Short comment of this measurement, suitable for previews and list views. Rich text annotations may be provided via `commentFacets`.',
853
+ maxLength: 3000,
854
+ maxGraphemes: 300,
855
+ },
856
+ commentFacets: {
857
+ type: 'array',
858
+ description: 'Rich text annotations for `comment` (mentions, URLs, hashtags, etc).',
859
+ items: {
860
+ type: 'ref',
861
+ ref: 'lex:app.bsky.richtext.facet',
862
+ },
783
863
  },
784
864
  createdAt: {
785
865
  type: 'string',
@@ -909,94 +989,6 @@ const schemaDict = {
909
989
  },
910
990
  },
911
991
  },
912
- workScopeAll: {
913
- type: 'object',
914
- required: ['op', 'args'],
915
- description: 'Logical AND operation: all arguments must be satisfied.',
916
- properties: {
917
- op: {
918
- type: 'string',
919
- const: 'all',
920
- description: "Operator type: 'all' (logical AND)",
921
- },
922
- args: {
923
- type: 'array',
924
- items: {
925
- type: 'union',
926
- refs: [
927
- 'lex:org.hypercerts.defs#workScopeAll',
928
- 'lex:org.hypercerts.defs#workScopeAny',
929
- 'lex:org.hypercerts.defs#workScopeNot',
930
- 'lex:org.hypercerts.defs#workScopeAtom',
931
- ],
932
- },
933
- minLength: 1,
934
- maxLength: 100,
935
- description: 'Array of work scope expressions that must all be satisfied',
936
- },
937
- },
938
- },
939
- workScopeAny: {
940
- type: 'object',
941
- required: ['op', 'args'],
942
- description: 'Logical OR operation: at least one argument must be satisfied.',
943
- properties: {
944
- op: {
945
- type: 'string',
946
- const: 'any',
947
- description: "Operator type: 'any' (logical OR)",
948
- },
949
- args: {
950
- type: 'array',
951
- items: {
952
- type: 'union',
953
- refs: [
954
- 'lex:org.hypercerts.defs#workScopeAll',
955
- 'lex:org.hypercerts.defs#workScopeAny',
956
- 'lex:org.hypercerts.defs#workScopeNot',
957
- 'lex:org.hypercerts.defs#workScopeAtom',
958
- ],
959
- },
960
- minLength: 1,
961
- maxLength: 100,
962
- description: 'Array of work scope expressions, at least one of which must be satisfied',
963
- },
964
- },
965
- },
966
- workScopeNot: {
967
- type: 'object',
968
- required: ['op', 'arg'],
969
- description: 'Logical NOT operation: the argument must not be satisfied.',
970
- properties: {
971
- op: {
972
- type: 'string',
973
- const: 'not',
974
- description: "Operator type: 'not' (logical NOT)",
975
- },
976
- arg: {
977
- type: 'union',
978
- refs: [
979
- 'lex:org.hypercerts.defs#workScopeAll',
980
- 'lex:org.hypercerts.defs#workScopeAny',
981
- 'lex:org.hypercerts.defs#workScopeNot',
982
- 'lex:org.hypercerts.defs#workScopeAtom',
983
- ],
984
- description: 'Work scope expression that must not be satisfied',
985
- },
986
- },
987
- },
988
- workScopeAtom: {
989
- type: 'object',
990
- required: ['atom'],
991
- description: 'Atomic scope reference: a strong reference to a scope record.',
992
- properties: {
993
- atom: {
994
- type: 'ref',
995
- ref: 'lex:com.atproto.repo.strongRef',
996
- description: 'Strong reference to an org.hypercerts.helper.workScopeTag record',
997
- },
998
- },
999
- },
1000
992
  },
1001
993
  },
1002
994
  OrgHypercertsFundingReceipt: {
@@ -1149,11 +1141,11 @@ const ids = {
1149
1141
  AppCertifiedLocation: 'app.certified.location',
1150
1142
  ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
1151
1143
  OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
1144
+ OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
1152
1145
  OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
1153
1146
  OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
1154
1147
  OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
1155
1148
  OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
1156
- OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
1157
1149
  OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
1158
1150
  OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
1159
1151
  OrgHypercertsDefs: 'org.hypercerts.defs',
@@ -1375,9 +1367,10 @@ var defs$e = {
1375
1367
  type: "union",
1376
1368
  refs: [
1377
1369
  "org.hypercerts.defs#uri",
1378
- "org.hypercerts.defs#smallBlob"
1370
+ "org.hypercerts.defs#smallBlob",
1371
+ "#string"
1379
1372
  ],
1380
- 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."
1381
1374
  },
1382
1375
  name: {
1383
1376
  type: "string",
@@ -1398,6 +1391,21 @@ var defs$e = {
1398
1391
  }
1399
1392
  }
1400
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
+ }
1401
1409
  }
1402
1410
  };
1403
1411
  var LOCATION_LEXICON_JSON = {
@@ -1494,12 +1502,10 @@ var defs$c = {
1494
1502
  workScope: {
1495
1503
  type: "union",
1496
1504
  refs: [
1497
- "org.hypercerts.defs#workScopeAll",
1498
- "org.hypercerts.defs#workScopeAny",
1499
- "org.hypercerts.defs#workScopeNot",
1500
- "org.hypercerts.defs#workScopeAtom"
1505
+ "com.atproto.repo.strongRef",
1506
+ "#workScopeString"
1501
1507
  ],
1502
- description: "Work scope logic expression using boolean operators (all/any/not) and atomic scope references."
1508
+ description: "Work scope definition. Either a strongRef to a work-scope logic record (structured, nested logic), or a free-form string for simple or legacy scopes. The work scope record should conform to the org.hypercerts.helper.workScopeTag lexicon."
1503
1509
  },
1504
1510
  startDate: {
1505
1511
  type: "string",
@@ -1577,6 +1583,12 @@ var defs$c = {
1577
1583
  description: "Contribution details as a string.",
1578
1584
  maxLength: 10000,
1579
1585
  maxGraphemes: 1000
1586
+ },
1587
+ workScopeString: {
1588
+ type: "string",
1589
+ description: "A free-form string describing the work scope for simple or legacy scopes.",
1590
+ maxLength: 10000,
1591
+ maxGraphemes: 1000
1580
1592
  }
1581
1593
  };
1582
1594
  var ACTIVITY_LEXICON_JSON = {
@@ -1586,40 +1598,134 @@ var ACTIVITY_LEXICON_JSON = {
1586
1598
  };
1587
1599
 
1588
1600
  var lexicon$9 = 1;
1589
- var id$p = "org.hypercerts.claim.collection";
1601
+ var id$p = "org.hypercerts.claim.attachment";
1590
1602
  var defs$b = {
1591
1603
  main: {
1592
1604
  type: "record",
1593
- description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
1605
+ description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).",
1594
1606
  key: "tid",
1595
1607
  record: {
1596
1608
  type: "object",
1597
1609
  required: [
1598
1610
  "title",
1599
- "items",
1611
+ "content",
1600
1612
  "createdAt"
1601
1613
  ],
1602
1614
  properties: {
1603
- type: {
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: {
1604
1625
  type: "string",
1605
- description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection."
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
1606
1640
  },
1607
1641
  title: {
1608
1642
  type: "string",
1609
- description: "The title of this collection",
1610
- maxLength: 800,
1611
- maxGraphemes: 80
1643
+ maxLength: 256,
1644
+ description: "Title of this attachment."
1612
1645
  },
1613
1646
  shortDescription: {
1614
1647
  type: "string",
1648
+ description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
1615
1649
  maxLength: 3000,
1616
- maxGraphemes: 300,
1617
- description: "Short summary of this collection, suitable for previews and list views"
1618
- },
1619
- description: {
1620
- type: "ref",
1621
- ref: "pub.leaflet.pages.linearDocument#main",
1622
- description: "Rich-text description, represented as a Leaflet linear document."
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 = {
1697
+ main: {
1698
+ type: "record",
1699
+ description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
1700
+ key: "tid",
1701
+ record: {
1702
+ type: "object",
1703
+ required: [
1704
+ "title",
1705
+ "items",
1706
+ "createdAt"
1707
+ ],
1708
+ properties: {
1709
+ type: {
1710
+ type: "string",
1711
+ description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection."
1712
+ },
1713
+ title: {
1714
+ type: "string",
1715
+ description: "The title of this collection",
1716
+ maxLength: 800,
1717
+ maxGraphemes: 80
1718
+ },
1719
+ shortDescription: {
1720
+ type: "string",
1721
+ maxLength: 3000,
1722
+ maxGraphemes: 300,
1723
+ description: "Short summary of this collection, suitable for previews and list views"
1724
+ },
1725
+ description: {
1726
+ type: "ref",
1727
+ ref: "pub.leaflet.pages.linearDocument#main",
1728
+ description: "Rich-text description, represented as a Leaflet linear document."
1623
1729
  },
1624
1730
  avatar: {
1625
1731
  type: "union",
@@ -1677,14 +1783,14 @@ var defs$b = {
1677
1783
  }
1678
1784
  };
1679
1785
  var COLLECTION_LEXICON_JSON = {
1680
- lexicon: lexicon$9,
1681
- id: id$p,
1682
- defs: defs$b
1786
+ lexicon: lexicon$8,
1787
+ id: id$o,
1788
+ defs: defs$a
1683
1789
  };
1684
1790
 
1685
- var lexicon$8 = 1;
1686
- var id$o = "org.hypercerts.claim.contributionDetails";
1687
- var defs$a = {
1791
+ var lexicon$7 = 1;
1792
+ var id$n = "org.hypercerts.claim.contributionDetails";
1793
+ var defs$9 = {
1688
1794
  main: {
1689
1795
  type: "record",
1690
1796
  description: "Details about a specific contribution including role, description, and timeframe.",
@@ -1726,14 +1832,14 @@ var defs$a = {
1726
1832
  }
1727
1833
  };
1728
1834
  var CONTRIBUTION_DETAILS_LEXICON_JSON = {
1729
- lexicon: lexicon$8,
1730
- id: id$o,
1731
- defs: defs$a
1835
+ lexicon: lexicon$7,
1836
+ id: id$n,
1837
+ defs: defs$9
1732
1838
  };
1733
1839
 
1734
- var lexicon$7 = 1;
1735
- var id$n = "org.hypercerts.claim.contributorInformation";
1736
- var defs$9 = {
1840
+ var lexicon$6 = 1;
1841
+ var id$m = "org.hypercerts.claim.contributorInformation";
1842
+ var defs$8 = {
1737
1843
  main: {
1738
1844
  type: "record",
1739
1845
  description: "Contributor information including identifier, display name, and image.",
@@ -1771,14 +1877,14 @@ var defs$9 = {
1771
1877
  }
1772
1878
  };
1773
1879
  var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
1774
- lexicon: lexicon$7,
1775
- id: id$n,
1776
- defs: defs$9
1880
+ lexicon: lexicon$6,
1881
+ id: id$m,
1882
+ defs: defs$8
1777
1883
  };
1778
1884
 
1779
- var lexicon$6 = 1;
1780
- var id$m = "org.hypercerts.claim.evaluation";
1781
- var defs$8 = {
1885
+ var lexicon$5 = 1;
1886
+ var id$l = "org.hypercerts.claim.evaluation";
1887
+ var defs$7 = {
1782
1888
  score: {
1783
1889
  type: "object",
1784
1890
  description: "Overall score for an evaluation on a numeric scale.",
@@ -1875,75 +1981,6 @@ var defs$8 = {
1875
1981
  }
1876
1982
  };
1877
1983
  var EVALUATION_LEXICON_JSON = {
1878
- lexicon: lexicon$6,
1879
- id: id$m,
1880
- defs: defs$8
1881
- };
1882
-
1883
- var lexicon$5 = 1;
1884
- var id$l = "org.hypercerts.claim.evidence";
1885
- var defs$7 = {
1886
- main: {
1887
- type: "record",
1888
- 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.",
1889
- key: "tid",
1890
- record: {
1891
- type: "object",
1892
- required: [
1893
- "content",
1894
- "title",
1895
- "createdAt"
1896
- ],
1897
- properties: {
1898
- subject: {
1899
- type: "ref",
1900
- ref: "com.atproto.repo.strongRef",
1901
- description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation)."
1902
- },
1903
- content: {
1904
- type: "union",
1905
- refs: [
1906
- "org.hypercerts.defs#uri",
1907
- "org.hypercerts.defs#smallBlob"
1908
- ],
1909
- description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim."
1910
- },
1911
- title: {
1912
- type: "string",
1913
- maxLength: 256,
1914
- description: "Title to describe the nature of the evidence."
1915
- },
1916
- shortDescription: {
1917
- type: "string",
1918
- maxLength: 3000,
1919
- maxGraphemes: 300,
1920
- description: "Short description explaining what this evidence shows."
1921
- },
1922
- description: {
1923
- type: "string",
1924
- description: "Longer description describing the evidence in more detail.",
1925
- maxLength: 30000,
1926
- maxGraphemes: 3000
1927
- },
1928
- relationType: {
1929
- type: "string",
1930
- description: "How this evidence relates to the subject.",
1931
- knownValues: [
1932
- "supports",
1933
- "challenges",
1934
- "clarifies"
1935
- ]
1936
- },
1937
- createdAt: {
1938
- type: "string",
1939
- format: "datetime",
1940
- description: "Client-declared timestamp when this record was originally created"
1941
- }
1942
- }
1943
- }
1944
- }
1945
- };
1946
- var EVIDENCE_LEXICON_JSON = {
1947
1984
  lexicon: lexicon$5,
1948
1985
  id: id$l,
1949
1986
  defs: defs$7
@@ -1959,8 +1996,8 @@ var defs$6 = {
1959
1996
  record: {
1960
1997
  type: "object",
1961
1998
  required: [
1962
- "measurers",
1963
1999
  "metric",
2000
+ "unit",
1964
2001
  "value",
1965
2002
  "createdAt"
1966
2003
  ],
@@ -1970,25 +2007,40 @@ var defs$6 = {
1970
2007
  ref: "com.atproto.repo.strongRef",
1971
2008
  description: "A strong reference to the record this measurement refers to (e.g. an activity, project, or claim)."
1972
2009
  },
1973
- measurers: {
1974
- type: "array",
1975
- description: "DIDs of the entity (or entities) that measured this data",
1976
- items: {
1977
- type: "ref",
1978
- ref: "app.certified.defs#did"
1979
- },
1980
- maxLength: 100
1981
- },
1982
2010
  metric: {
1983
2011
  type: "string",
1984
- description: "The metric being measured",
2012
+ description: "The metric being measured, e.g. forest area restored, number of users, etc.",
1985
2013
  maxLength: 500
1986
2014
  },
2015
+ unit: {
2016
+ type: "string",
2017
+ description: "The unit of the measured value (e.g. kg CO₂e, hectares, %, index score).",
2018
+ maxLength: 50
2019
+ },
1987
2020
  value: {
1988
2021
  type: "string",
1989
- description: "The measured value",
2022
+ description: "The measured numeric value.",
1990
2023
  maxLength: 500
1991
2024
  },
2025
+ startDate: {
2026
+ type: "string",
2027
+ format: "datetime",
2028
+ description: "The start date and time when the measurement began."
2029
+ },
2030
+ endDate: {
2031
+ type: "string",
2032
+ format: "datetime",
2033
+ description: "The end date and time when the measurement ended. If it was a one time measurement, the endDate should be equal to the startDate."
2034
+ },
2035
+ locations: {
2036
+ type: "array",
2037
+ description: "Optional geographic references related to where the measurement was taken. Each referenced record must conform with the app.certified.location lexicon.",
2038
+ items: {
2039
+ type: "ref",
2040
+ ref: "com.atproto.repo.strongRef"
2041
+ },
2042
+ maxLength: 100
2043
+ },
1992
2044
  methodType: {
1993
2045
  type: "string",
1994
2046
  description: "Short identifier for the measurement methodology",
@@ -2008,10 +2060,28 @@ var defs$6 = {
2008
2060
  },
2009
2061
  maxLength: 50
2010
2062
  },
2011
- location: {
2012
- type: "ref",
2013
- ref: "com.atproto.repo.strongRef",
2014
- description: "A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location"
2063
+ measurers: {
2064
+ type: "array",
2065
+ description: "DIDs of the entity (or entities) that measured this data",
2066
+ items: {
2067
+ type: "ref",
2068
+ ref: "app.certified.defs#did"
2069
+ },
2070
+ maxLength: 100
2071
+ },
2072
+ comment: {
2073
+ type: "string",
2074
+ description: "Short comment of this measurement, suitable for previews and list views. Rich text annotations may be provided via `commentFacets`.",
2075
+ maxLength: 3000,
2076
+ maxGraphemes: 300
2077
+ },
2078
+ commentFacets: {
2079
+ type: "array",
2080
+ description: "Rich text annotations for `comment` (mentions, URLs, hashtags, etc).",
2081
+ items: {
2082
+ type: "ref",
2083
+ ref: "app.bsky.richtext.facet"
2084
+ }
2015
2085
  },
2016
2086
  createdAt: {
2017
2087
  type: "string",
@@ -2172,105 +2242,6 @@ var defs$4 = {
2172
2242
  description: "Image (up to 10MB)"
2173
2243
  }
2174
2244
  }
2175
- },
2176
- workScopeAll: {
2177
- type: "object",
2178
- required: [
2179
- "op",
2180
- "args"
2181
- ],
2182
- description: "Logical AND operation: all arguments must be satisfied.",
2183
- properties: {
2184
- op: {
2185
- type: "string",
2186
- "const": "all",
2187
- description: "Operator type: 'all' (logical AND)"
2188
- },
2189
- args: {
2190
- type: "array",
2191
- items: {
2192
- type: "union",
2193
- refs: [
2194
- "#workScopeAll",
2195
- "#workScopeAny",
2196
- "#workScopeNot",
2197
- "#workScopeAtom"
2198
- ]
2199
- },
2200
- minLength: 1,
2201
- maxLength: 100,
2202
- description: "Array of work scope expressions that must all be satisfied"
2203
- }
2204
- }
2205
- },
2206
- workScopeAny: {
2207
- type: "object",
2208
- required: [
2209
- "op",
2210
- "args"
2211
- ],
2212
- description: "Logical OR operation: at least one argument must be satisfied.",
2213
- properties: {
2214
- op: {
2215
- type: "string",
2216
- "const": "any",
2217
- description: "Operator type: 'any' (logical OR)"
2218
- },
2219
- args: {
2220
- type: "array",
2221
- items: {
2222
- type: "union",
2223
- refs: [
2224
- "#workScopeAll",
2225
- "#workScopeAny",
2226
- "#workScopeNot",
2227
- "#workScopeAtom"
2228
- ]
2229
- },
2230
- minLength: 1,
2231
- maxLength: 100,
2232
- description: "Array of work scope expressions, at least one of which must be satisfied"
2233
- }
2234
- }
2235
- },
2236
- workScopeNot: {
2237
- type: "object",
2238
- required: [
2239
- "op",
2240
- "arg"
2241
- ],
2242
- description: "Logical NOT operation: the argument must not be satisfied.",
2243
- properties: {
2244
- op: {
2245
- type: "string",
2246
- "const": "not",
2247
- description: "Operator type: 'not' (logical NOT)"
2248
- },
2249
- arg: {
2250
- type: "union",
2251
- refs: [
2252
- "#workScopeAll",
2253
- "#workScopeAny",
2254
- "#workScopeNot",
2255
- "#workScopeAtom"
2256
- ],
2257
- description: "Work scope expression that must not be satisfied"
2258
- }
2259
- }
2260
- },
2261
- workScopeAtom: {
2262
- type: "object",
2263
- required: [
2264
- "atom"
2265
- ],
2266
- description: "Atomic scope reference: a strong reference to a scope record.",
2267
- properties: {
2268
- atom: {
2269
- type: "ref",
2270
- ref: "com.atproto.repo.strongRef",
2271
- description: "Strong reference to an org.hypercerts.helper.workScopeTag record"
2272
- }
2273
- }
2274
2245
  }
2275
2246
  };
2276
2247
  var HYPERCERTS_DEFS_LEXICON_JSON = {
@@ -2495,13 +2466,22 @@ function isMain$b(v) {
2495
2466
  function validateMain$b(v) {
2496
2467
  return validate$c(v, id$c, hashMain$b, true);
2497
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
+ }
2498
2476
 
2499
2477
  var location = /*#__PURE__*/Object.freeze({
2500
2478
  __proto__: null,
2501
2479
  isMain: isMain$b,
2502
2480
  isRecord: isMain$b,
2481
+ isString: isString,
2503
2482
  validateMain: validateMain$b,
2504
- validateRecord: validateMain$b
2483
+ validateRecord: validateMain$b,
2484
+ validateString: validateString
2505
2485
  });
2506
2486
 
2507
2487
  const is$typed$b = is$typed$g, validate$b = validate$g;
@@ -2548,7 +2528,7 @@ var activity = /*#__PURE__*/Object.freeze({
2548
2528
  });
2549
2529
 
2550
2530
  const is$typed$9 = is$typed$g, validate$9 = validate$g;
2551
- const id$9 = 'org.hypercerts.claim.collection';
2531
+ const id$9 = 'org.hypercerts.claim.attachment';
2552
2532
  const hashMain$8 = 'main';
2553
2533
  function isMain$8(v) {
2554
2534
  return is$typed$9(v, id$9, hashMain$8);
@@ -2556,26 +2536,17 @@ function isMain$8(v) {
2556
2536
  function validateMain$8(v) {
2557
2537
  return validate$9(v, id$9, hashMain$8, true);
2558
2538
  }
2559
- const hashItem = 'item';
2560
- function isItem(v) {
2561
- return is$typed$9(v, id$9, hashItem);
2562
- }
2563
- function validateItem(v) {
2564
- return validate$9(v, id$9, hashItem);
2565
- }
2566
2539
 
2567
- var collection = /*#__PURE__*/Object.freeze({
2540
+ var attachment = /*#__PURE__*/Object.freeze({
2568
2541
  __proto__: null,
2569
- isItem: isItem,
2570
2542
  isMain: isMain$8,
2571
2543
  isRecord: isMain$8,
2572
- validateItem: validateItem,
2573
2544
  validateMain: validateMain$8,
2574
2545
  validateRecord: validateMain$8
2575
2546
  });
2576
2547
 
2577
2548
  const is$typed$8 = is$typed$g, validate$8 = validate$g;
2578
- const id$8 = 'org.hypercerts.claim.contributionDetails';
2549
+ const id$8 = 'org.hypercerts.claim.collection';
2579
2550
  const hashMain$7 = 'main';
2580
2551
  function isMain$7(v) {
2581
2552
  return is$typed$8(v, id$8, hashMain$7);
@@ -2583,17 +2554,26 @@ function isMain$7(v) {
2583
2554
  function validateMain$7(v) {
2584
2555
  return validate$8(v, id$8, hashMain$7, true);
2585
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
+ }
2586
2564
 
2587
- var contributionDetails = /*#__PURE__*/Object.freeze({
2565
+ var collection = /*#__PURE__*/Object.freeze({
2588
2566
  __proto__: null,
2567
+ isItem: isItem,
2589
2568
  isMain: isMain$7,
2590
2569
  isRecord: isMain$7,
2570
+ validateItem: validateItem,
2591
2571
  validateMain: validateMain$7,
2592
2572
  validateRecord: validateMain$7
2593
2573
  });
2594
2574
 
2595
2575
  const is$typed$7 = is$typed$g, validate$7 = validate$g;
2596
- const id$7 = 'org.hypercerts.claim.contributorInformation';
2576
+ const id$7 = 'org.hypercerts.claim.contributionDetails';
2597
2577
  const hashMain$6 = 'main';
2598
2578
  function isMain$6(v) {
2599
2579
  return is$typed$7(v, id$7, hashMain$6);
@@ -2602,7 +2582,7 @@ function validateMain$6(v) {
2602
2582
  return validate$7(v, id$7, hashMain$6, true);
2603
2583
  }
2604
2584
 
2605
- var contributorInformation = /*#__PURE__*/Object.freeze({
2585
+ var contributionDetails = /*#__PURE__*/Object.freeze({
2606
2586
  __proto__: null,
2607
2587
  isMain: isMain$6,
2608
2588
  isRecord: isMain$6,
@@ -2611,14 +2591,7 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
2611
2591
  });
2612
2592
 
2613
2593
  const is$typed$6 = is$typed$g, validate$6 = validate$g;
2614
- const id$6 = 'org.hypercerts.claim.evaluation';
2615
- const hashScore = 'score';
2616
- function isScore(v) {
2617
- return is$typed$6(v, id$6, hashScore);
2618
- }
2619
- function validateScore(v) {
2620
- return validate$6(v, id$6, hashScore);
2621
- }
2594
+ const id$6 = 'org.hypercerts.claim.contributorInformation';
2622
2595
  const hashMain$5 = 'main';
2623
2596
  function isMain$5(v) {
2624
2597
  return is$typed$6(v, id$6, hashMain$5);
@@ -2627,18 +2600,23 @@ function validateMain$5(v) {
2627
2600
  return validate$6(v, id$6, hashMain$5, true);
2628
2601
  }
2629
2602
 
2630
- var evaluation = /*#__PURE__*/Object.freeze({
2603
+ var contributorInformation = /*#__PURE__*/Object.freeze({
2631
2604
  __proto__: null,
2632
2605
  isMain: isMain$5,
2633
2606
  isRecord: isMain$5,
2634
- isScore: isScore,
2635
2607
  validateMain: validateMain$5,
2636
- validateRecord: validateMain$5,
2637
- validateScore: validateScore
2608
+ validateRecord: validateMain$5
2638
2609
  });
2639
2610
 
2640
2611
  const is$typed$5 = is$typed$g, validate$5 = validate$g;
2641
- 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
+ }
2642
2620
  const hashMain$4 = 'main';
2643
2621
  function isMain$4(v) {
2644
2622
  return is$typed$5(v, id$5, hashMain$4);
@@ -2647,12 +2625,14 @@ function validateMain$4(v) {
2647
2625
  return validate$5(v, id$5, hashMain$4, true);
2648
2626
  }
2649
2627
 
2650
- var evidence = /*#__PURE__*/Object.freeze({
2628
+ var evaluation = /*#__PURE__*/Object.freeze({
2651
2629
  __proto__: null,
2652
2630
  isMain: isMain$4,
2653
2631
  isRecord: isMain$4,
2632
+ isScore: isScore,
2654
2633
  validateMain: validateMain$4,
2655
- validateRecord: validateMain$4
2634
+ validateRecord: validateMain$4,
2635
+ validateScore: validateScore
2656
2636
  });
2657
2637
 
2658
2638
  const is$typed$4 = is$typed$g, validate$4 = validate$g;
@@ -2728,34 +2708,6 @@ function isLargeImage(v) {
2728
2708
  function validateLargeImage(v) {
2729
2709
  return validate$2(v, id$2, hashLargeImage);
2730
2710
  }
2731
- const hashWorkScopeAll = 'workScopeAll';
2732
- function isWorkScopeAll(v) {
2733
- return is$typed$2(v, id$2, hashWorkScopeAll);
2734
- }
2735
- function validateWorkScopeAll(v) {
2736
- return validate$2(v, id$2, hashWorkScopeAll);
2737
- }
2738
- const hashWorkScopeAny = 'workScopeAny';
2739
- function isWorkScopeAny(v) {
2740
- return is$typed$2(v, id$2, hashWorkScopeAny);
2741
- }
2742
- function validateWorkScopeAny(v) {
2743
- return validate$2(v, id$2, hashWorkScopeAny);
2744
- }
2745
- const hashWorkScopeNot = 'workScopeNot';
2746
- function isWorkScopeNot(v) {
2747
- return is$typed$2(v, id$2, hashWorkScopeNot);
2748
- }
2749
- function validateWorkScopeNot(v) {
2750
- return validate$2(v, id$2, hashWorkScopeNot);
2751
- }
2752
- const hashWorkScopeAtom = 'workScopeAtom';
2753
- function isWorkScopeAtom(v) {
2754
- return is$typed$2(v, id$2, hashWorkScopeAtom);
2755
- }
2756
- function validateWorkScopeAtom(v) {
2757
- return validate$2(v, id$2, hashWorkScopeAtom);
2758
- }
2759
2711
 
2760
2712
  var defs = /*#__PURE__*/Object.freeze({
2761
2713
  __proto__: null,
@@ -2764,19 +2716,11 @@ var defs = /*#__PURE__*/Object.freeze({
2764
2716
  isSmallBlob: isSmallBlob,
2765
2717
  isSmallImage: isSmallImage,
2766
2718
  isUri: isUri,
2767
- isWorkScopeAll: isWorkScopeAll,
2768
- isWorkScopeAny: isWorkScopeAny,
2769
- isWorkScopeAtom: isWorkScopeAtom,
2770
- isWorkScopeNot: isWorkScopeNot,
2771
2719
  validateLargeBlob: validateLargeBlob,
2772
2720
  validateLargeImage: validateLargeImage,
2773
2721
  validateSmallBlob: validateSmallBlob,
2774
2722
  validateSmallImage: validateSmallImage,
2775
- validateUri: validateUri,
2776
- validateWorkScopeAll: validateWorkScopeAll,
2777
- validateWorkScopeAny: validateWorkScopeAny,
2778
- validateWorkScopeAtom: validateWorkScopeAtom,
2779
- validateWorkScopeNot: validateWorkScopeNot
2723
+ validateUri: validateUri
2780
2724
  });
2781
2725
 
2782
2726
  const is$typed$1 = is$typed$g, validate$1 = validate$g;
@@ -2821,7 +2765,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
2821
2765
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
2822
2766
  *
2823
2767
  * This file is automatically generated by scripts/generate-exports.js
2824
- * Generated: 2026-01-22T23:19:06.035Z
2768
+ * Generated: 2026-01-25T04:32:42.985Z
2825
2769
  *
2826
2770
  * To regenerate this file, run:
2827
2771
  * npm run gen-api
@@ -2845,11 +2789,11 @@ const CERTIFIED_DEFS_NSID = "app.certified.defs";
2845
2789
  const LOCATION_NSID = "app.certified.location";
2846
2790
  const STRONG_REF_NSID = "com.atproto.repo.strongRef";
2847
2791
  const ACTIVITY_NSID = "org.hypercerts.claim.activity";
2792
+ const ATTACHMENT_NSID = "org.hypercerts.claim.attachment";
2848
2793
  const COLLECTION_NSID = "org.hypercerts.claim.collection";
2849
2794
  const CONTRIBUTION_DETAILS_NSID = "org.hypercerts.claim.contributionDetails";
2850
2795
  const CONTRIBUTOR_INFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
2851
2796
  const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
2852
- const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
2853
2797
  const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
2854
2798
  const RIGHTS_NSID = "org.hypercerts.claim.rights";
2855
2799
  const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
@@ -2869,11 +2813,11 @@ const HYPERCERTS_NSIDS = {
2869
2813
  LOCATION: LOCATION_NSID,
2870
2814
  STRONG_REF: STRONG_REF_NSID,
2871
2815
  ACTIVITY: ACTIVITY_NSID,
2816
+ ATTACHMENT: ATTACHMENT_NSID,
2872
2817
  COLLECTION: COLLECTION_NSID,
2873
2818
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_NSID,
2874
2819
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_NSID,
2875
2820
  EVALUATION: EVALUATION_NSID,
2876
- EVIDENCE: EVIDENCE_NSID,
2877
2821
  MEASUREMENT: MEASUREMENT_NSID,
2878
2822
  RIGHTS: RIGHTS_NSID,
2879
2823
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
@@ -2891,11 +2835,11 @@ const HYPERCERTS_LEXICON_JSON = {
2891
2835
  LOCATION: LOCATION_LEXICON_JSON,
2892
2836
  STRONG_REF: STRONG_REF_LEXICON_JSON,
2893
2837
  ACTIVITY: ACTIVITY_LEXICON_JSON,
2838
+ ATTACHMENT: ATTACHMENT_LEXICON_JSON,
2894
2839
  COLLECTION: COLLECTION_LEXICON_JSON,
2895
2840
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_JSON,
2896
2841
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_JSON,
2897
2842
  EVALUATION: EVALUATION_LEXICON_JSON,
2898
- EVIDENCE: EVIDENCE_LEXICON_JSON,
2899
2843
  MEASUREMENT: MEASUREMENT_LEXICON_JSON,
2900
2844
  RIGHTS: RIGHTS_LEXICON_JSON,
2901
2845
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
@@ -2910,11 +2854,11 @@ const CERTIFIED_DEFS_LEXICON_DOC = lexicons.get(CERTIFIED_DEFS_NSID);
2910
2854
  const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
2911
2855
  const STRONG_REF_LEXICON_DOC = lexicons.get(STRONG_REF_NSID);
2912
2856
  const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
2857
+ const ATTACHMENT_LEXICON_DOC = lexicons.get(ATTACHMENT_NSID);
2913
2858
  const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
2914
2859
  const CONTRIBUTION_DETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTION_DETAILS_NSID);
2915
2860
  const CONTRIBUTOR_INFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTOR_INFORMATION_NSID);
2916
2861
  const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
2917
- const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
2918
2862
  const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
2919
2863
  const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
2920
2864
  const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
@@ -2931,11 +2875,11 @@ const HYPERCERTS_LEXICON_DOC = {
2931
2875
  LOCATION: LOCATION_LEXICON_DOC,
2932
2876
  STRONG_REF: STRONG_REF_LEXICON_DOC,
2933
2877
  ACTIVITY: ACTIVITY_LEXICON_DOC,
2878
+ ATTACHMENT: ATTACHMENT_LEXICON_DOC,
2934
2879
  COLLECTION: COLLECTION_LEXICON_DOC,
2935
2880
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_DOC,
2936
2881
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_DOC,
2937
2882
  EVALUATION: EVALUATION_LEXICON_DOC,
2938
- EVIDENCE: EVIDENCE_LEXICON_DOC,
2939
2883
  MEASUREMENT: MEASUREMENT_LEXICON_DOC,
2940
2884
  RIGHTS: RIGHTS_LEXICON_DOC,
2941
2885
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
@@ -2943,5 +2887,5 @@ const HYPERCERTS_LEXICON_DOC = {
2943
2887
  WORK_SCOPE_TAG: WORK_SCOPE_TAG_LEXICON_DOC,
2944
2888
  };
2945
2889
 
2946
- 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 };
2947
2891
  //# sourceMappingURL=index.mjs.map