@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.cjs CHANGED
@@ -219,8 +219,9 @@ const schemaDict = {
219
219
  refs: [
220
220
  'lex:org.hypercerts.defs#uri',
221
221
  'lex:org.hypercerts.defs#smallBlob',
222
+ 'lex:app.certified.location#string',
222
223
  ],
223
- description: 'The location of where the work was performed as a URI or blob.',
224
+ description: 'The location of where the work was performed as a URI, blob, or inline string.',
224
225
  },
225
226
  name: {
226
227
  type: 'string',
@@ -242,6 +243,19 @@ const schemaDict = {
242
243
  },
243
244
  },
244
245
  },
246
+ string: {
247
+ type: 'object',
248
+ required: ['string'],
249
+ description: 'A location represented as a string, e.g. coordinates or a small GeoJSON string.',
250
+ properties: {
251
+ string: {
252
+ type: 'string',
253
+ description: 'The location string value',
254
+ maxLength: 10000,
255
+ maxGraphemes: 1000,
256
+ },
257
+ },
258
+ },
245
259
  },
246
260
  },
247
261
  ComAtprotoRepoStrongRef: {
@@ -321,12 +335,10 @@ const schemaDict = {
321
335
  workScope: {
322
336
  type: 'union',
323
337
  refs: [
324
- 'lex:org.hypercerts.defs#workScopeAll',
325
- 'lex:org.hypercerts.defs#workScopeAny',
326
- 'lex:org.hypercerts.defs#workScopeNot',
327
- 'lex:org.hypercerts.defs#workScopeAtom',
338
+ 'lex:com.atproto.repo.strongRef',
339
+ 'lex:org.hypercerts.claim.activity#workScopeString',
328
340
  ],
329
- description: 'Work scope logic expression using boolean operators (all/any/not) and atomic scope references.',
341
+ 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.',
330
342
  },
331
343
  startDate: {
332
344
  type: 'string',
@@ -403,6 +415,98 @@ const schemaDict = {
403
415
  maxLength: 10000,
404
416
  maxGraphemes: 1000,
405
417
  },
418
+ workScopeString: {
419
+ type: 'string',
420
+ description: 'A free-form string describing the work scope for simple or legacy scopes.',
421
+ maxLength: 10000,
422
+ maxGraphemes: 1000,
423
+ },
424
+ },
425
+ },
426
+ OrgHypercertsClaimAttachment: {
427
+ lexicon: 1,
428
+ id: 'org.hypercerts.claim.attachment',
429
+ defs: {
430
+ main: {
431
+ type: 'record',
432
+ description: 'An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).',
433
+ key: 'tid',
434
+ record: {
435
+ type: 'object',
436
+ required: ['title', 'content', 'createdAt'],
437
+ properties: {
438
+ subjects: {
439
+ type: 'array',
440
+ 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.',
441
+ items: {
442
+ type: 'ref',
443
+ ref: 'lex:com.atproto.repo.strongRef',
444
+ },
445
+ maxLength: 100,
446
+ },
447
+ contentType: {
448
+ type: 'string',
449
+ maxLength: 64,
450
+ description: 'The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.',
451
+ },
452
+ content: {
453
+ type: 'array',
454
+ description: 'The files, documents, or external references included in this attachment record.',
455
+ items: {
456
+ type: 'union',
457
+ refs: [
458
+ 'lex:org.hypercerts.defs#uri',
459
+ 'lex:org.hypercerts.defs#smallBlob',
460
+ ],
461
+ },
462
+ maxLength: 100,
463
+ },
464
+ title: {
465
+ type: 'string',
466
+ maxLength: 256,
467
+ description: 'Title of this attachment.',
468
+ },
469
+ shortDescription: {
470
+ type: 'string',
471
+ description: 'Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',
472
+ maxLength: 3000,
473
+ maxGraphemes: 300,
474
+ },
475
+ shortDescriptionFacets: {
476
+ type: 'array',
477
+ description: 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',
478
+ items: {
479
+ type: 'ref',
480
+ ref: 'lex:app.bsky.richtext.facet',
481
+ },
482
+ },
483
+ description: {
484
+ type: 'string',
485
+ description: 'Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',
486
+ maxLength: 30000,
487
+ maxGraphemes: 3000,
488
+ },
489
+ descriptionFacets: {
490
+ type: 'array',
491
+ description: 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',
492
+ items: {
493
+ type: 'ref',
494
+ ref: 'lex:app.bsky.richtext.facet',
495
+ },
496
+ },
497
+ location: {
498
+ type: 'ref',
499
+ ref: 'lex:com.atproto.repo.strongRef',
500
+ 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.",
501
+ },
502
+ createdAt: {
503
+ type: 'string',
504
+ format: 'datetime',
505
+ description: 'Client-declared timestamp when this record was originally created.',
506
+ },
507
+ },
508
+ },
509
+ },
406
510
  },
407
511
  },
408
512
  OrgHypercertsClaimCollection: {
@@ -666,99 +770,57 @@ const schemaDict = {
666
770
  },
667
771
  },
668
772
  },
669
- OrgHypercertsClaimEvidence: {
773
+ OrgHypercertsClaimMeasurement: {
670
774
  lexicon: 1,
671
- id: 'org.hypercerts.claim.evidence',
775
+ id: 'org.hypercerts.claim.measurement',
672
776
  defs: {
673
777
  main: {
674
778
  type: 'record',
675
- 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.',
779
+ description: 'Measurement data related to a hypercert record (e.g. an activity and its impact).',
676
780
  key: 'tid',
677
781
  record: {
678
782
  type: 'object',
679
- required: ['content', 'title', 'createdAt'],
783
+ required: ['metric', 'unit', 'value', 'createdAt'],
680
784
  properties: {
681
785
  subject: {
682
786
  type: 'ref',
683
787
  ref: 'lex:com.atproto.repo.strongRef',
684
- description: 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',
685
- },
686
- content: {
687
- type: 'union',
688
- refs: [
689
- 'lex:org.hypercerts.defs#uri',
690
- 'lex:org.hypercerts.defs#smallBlob',
691
- ],
692
- description: 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',
788
+ description: 'A strong reference to the record this measurement refers to (e.g. an activity, project, or claim).',
693
789
  },
694
- title: {
790
+ metric: {
695
791
  type: 'string',
696
- maxLength: 256,
697
- description: 'Title to describe the nature of the evidence.',
792
+ description: 'The metric being measured, e.g. forest area restored, number of users, etc.',
793
+ maxLength: 500,
698
794
  },
699
- shortDescription: {
795
+ unit: {
700
796
  type: 'string',
701
- maxLength: 3000,
702
- maxGraphemes: 300,
703
- description: 'Short description explaining what this evidence shows.',
797
+ description: 'The unit of the measured value (e.g. kg CO₂e, hectares, %, index score).',
798
+ maxLength: 50,
704
799
  },
705
- description: {
800
+ value: {
706
801
  type: 'string',
707
- description: 'Longer description describing the evidence in more detail.',
708
- maxLength: 30000,
709
- maxGraphemes: 3000,
802
+ description: 'The measured numeric value.',
803
+ maxLength: 500,
710
804
  },
711
- relationType: {
805
+ startDate: {
712
806
  type: 'string',
713
- description: 'How this evidence relates to the subject.',
714
- knownValues: ['supports', 'challenges', 'clarifies'],
807
+ format: 'datetime',
808
+ description: 'The start date and time when the measurement began.',
715
809
  },
716
- createdAt: {
810
+ endDate: {
717
811
  type: 'string',
718
812
  format: 'datetime',
719
- description: 'Client-declared timestamp when this record was originally created',
720
- },
721
- },
722
- },
723
- },
724
- },
725
- },
726
- OrgHypercertsClaimMeasurement: {
727
- lexicon: 1,
728
- id: 'org.hypercerts.claim.measurement',
729
- defs: {
730
- main: {
731
- type: 'record',
732
- description: 'Measurement data related to a hypercert record (e.g. an activity and its impact).',
733
- key: 'tid',
734
- record: {
735
- type: 'object',
736
- required: ['measurers', 'metric', 'value', 'createdAt'],
737
- properties: {
738
- subject: {
739
- type: 'ref',
740
- ref: 'lex:com.atproto.repo.strongRef',
741
- description: 'A strong reference to the record this measurement refers to (e.g. an activity, project, or claim).',
813
+ 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.',
742
814
  },
743
- measurers: {
815
+ locations: {
744
816
  type: 'array',
745
- description: 'DIDs of the entity (or entities) that measured this data',
817
+ description: 'Optional geographic references related to where the measurement was taken. Each referenced record must conform with the app.certified.location lexicon.',
746
818
  items: {
747
819
  type: 'ref',
748
- ref: 'lex:app.certified.defs#did',
820
+ ref: 'lex:com.atproto.repo.strongRef',
749
821
  },
750
822
  maxLength: 100,
751
823
  },
752
- metric: {
753
- type: 'string',
754
- description: 'The metric being measured',
755
- maxLength: 500,
756
- },
757
- value: {
758
- type: 'string',
759
- description: 'The measured value',
760
- maxLength: 500,
761
- },
762
824
  methodType: {
763
825
  type: 'string',
764
826
  description: 'Short identifier for the measurement methodology',
@@ -778,10 +840,28 @@ const schemaDict = {
778
840
  },
779
841
  maxLength: 50,
780
842
  },
781
- location: {
782
- type: 'ref',
783
- ref: 'lex:com.atproto.repo.strongRef',
784
- description: 'A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location',
843
+ measurers: {
844
+ type: 'array',
845
+ description: 'DIDs of the entity (or entities) that measured this data',
846
+ items: {
847
+ type: 'ref',
848
+ ref: 'lex:app.certified.defs#did',
849
+ },
850
+ maxLength: 100,
851
+ },
852
+ comment: {
853
+ type: 'string',
854
+ description: 'Short comment of this measurement, suitable for previews and list views. Rich text annotations may be provided via `commentFacets`.',
855
+ maxLength: 3000,
856
+ maxGraphemes: 300,
857
+ },
858
+ commentFacets: {
859
+ type: 'array',
860
+ description: 'Rich text annotations for `comment` (mentions, URLs, hashtags, etc).',
861
+ items: {
862
+ type: 'ref',
863
+ ref: 'lex:app.bsky.richtext.facet',
864
+ },
785
865
  },
786
866
  createdAt: {
787
867
  type: 'string',
@@ -911,94 +991,6 @@ const schemaDict = {
911
991
  },
912
992
  },
913
993
  },
914
- workScopeAll: {
915
- type: 'object',
916
- required: ['op', 'args'],
917
- description: 'Logical AND operation: all arguments must be satisfied.',
918
- properties: {
919
- op: {
920
- type: 'string',
921
- const: 'all',
922
- description: "Operator type: 'all' (logical AND)",
923
- },
924
- args: {
925
- type: 'array',
926
- items: {
927
- type: 'union',
928
- refs: [
929
- 'lex:org.hypercerts.defs#workScopeAll',
930
- 'lex:org.hypercerts.defs#workScopeAny',
931
- 'lex:org.hypercerts.defs#workScopeNot',
932
- 'lex:org.hypercerts.defs#workScopeAtom',
933
- ],
934
- },
935
- minLength: 1,
936
- maxLength: 100,
937
- description: 'Array of work scope expressions that must all be satisfied',
938
- },
939
- },
940
- },
941
- workScopeAny: {
942
- type: 'object',
943
- required: ['op', 'args'],
944
- description: 'Logical OR operation: at least one argument must be satisfied.',
945
- properties: {
946
- op: {
947
- type: 'string',
948
- const: 'any',
949
- description: "Operator type: 'any' (logical OR)",
950
- },
951
- args: {
952
- type: 'array',
953
- items: {
954
- type: 'union',
955
- refs: [
956
- 'lex:org.hypercerts.defs#workScopeAll',
957
- 'lex:org.hypercerts.defs#workScopeAny',
958
- 'lex:org.hypercerts.defs#workScopeNot',
959
- 'lex:org.hypercerts.defs#workScopeAtom',
960
- ],
961
- },
962
- minLength: 1,
963
- maxLength: 100,
964
- description: 'Array of work scope expressions, at least one of which must be satisfied',
965
- },
966
- },
967
- },
968
- workScopeNot: {
969
- type: 'object',
970
- required: ['op', 'arg'],
971
- description: 'Logical NOT operation: the argument must not be satisfied.',
972
- properties: {
973
- op: {
974
- type: 'string',
975
- const: 'not',
976
- description: "Operator type: 'not' (logical NOT)",
977
- },
978
- arg: {
979
- type: 'union',
980
- refs: [
981
- 'lex:org.hypercerts.defs#workScopeAll',
982
- 'lex:org.hypercerts.defs#workScopeAny',
983
- 'lex:org.hypercerts.defs#workScopeNot',
984
- 'lex:org.hypercerts.defs#workScopeAtom',
985
- ],
986
- description: 'Work scope expression that must not be satisfied',
987
- },
988
- },
989
- },
990
- workScopeAtom: {
991
- type: 'object',
992
- required: ['atom'],
993
- description: 'Atomic scope reference: a strong reference to a scope record.',
994
- properties: {
995
- atom: {
996
- type: 'ref',
997
- ref: 'lex:com.atproto.repo.strongRef',
998
- description: 'Strong reference to an org.hypercerts.helper.workScopeTag record',
999
- },
1000
- },
1001
- },
1002
994
  },
1003
995
  },
1004
996
  OrgHypercertsFundingReceipt: {
@@ -1151,11 +1143,11 @@ const ids = {
1151
1143
  AppCertifiedLocation: 'app.certified.location',
1152
1144
  ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
1153
1145
  OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
1146
+ OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
1154
1147
  OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
1155
1148
  OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
1156
1149
  OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
1157
1150
  OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
1158
- OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
1159
1151
  OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
1160
1152
  OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
1161
1153
  OrgHypercertsDefs: 'org.hypercerts.defs',
@@ -1377,9 +1369,10 @@ var defs$e = {
1377
1369
  type: "union",
1378
1370
  refs: [
1379
1371
  "org.hypercerts.defs#uri",
1380
- "org.hypercerts.defs#smallBlob"
1372
+ "org.hypercerts.defs#smallBlob",
1373
+ "#string"
1381
1374
  ],
1382
- description: "The location of where the work was performed as a URI or blob."
1375
+ description: "The location of where the work was performed as a URI, blob, or inline string."
1383
1376
  },
1384
1377
  name: {
1385
1378
  type: "string",
@@ -1400,6 +1393,21 @@ var defs$e = {
1400
1393
  }
1401
1394
  }
1402
1395
  }
1396
+ },
1397
+ string: {
1398
+ type: "object",
1399
+ required: [
1400
+ "string"
1401
+ ],
1402
+ description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.",
1403
+ properties: {
1404
+ string: {
1405
+ type: "string",
1406
+ description: "The location string value",
1407
+ maxLength: 10000,
1408
+ maxGraphemes: 1000
1409
+ }
1410
+ }
1403
1411
  }
1404
1412
  };
1405
1413
  var LOCATION_LEXICON_JSON = {
@@ -1496,12 +1504,10 @@ var defs$c = {
1496
1504
  workScope: {
1497
1505
  type: "union",
1498
1506
  refs: [
1499
- "org.hypercerts.defs#workScopeAll",
1500
- "org.hypercerts.defs#workScopeAny",
1501
- "org.hypercerts.defs#workScopeNot",
1502
- "org.hypercerts.defs#workScopeAtom"
1507
+ "com.atproto.repo.strongRef",
1508
+ "#workScopeString"
1503
1509
  ],
1504
- description: "Work scope logic expression using boolean operators (all/any/not) and atomic scope references."
1510
+ 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."
1505
1511
  },
1506
1512
  startDate: {
1507
1513
  type: "string",
@@ -1579,6 +1585,12 @@ var defs$c = {
1579
1585
  description: "Contribution details as a string.",
1580
1586
  maxLength: 10000,
1581
1587
  maxGraphemes: 1000
1588
+ },
1589
+ workScopeString: {
1590
+ type: "string",
1591
+ description: "A free-form string describing the work scope for simple or legacy scopes.",
1592
+ maxLength: 10000,
1593
+ maxGraphemes: 1000
1582
1594
  }
1583
1595
  };
1584
1596
  var ACTIVITY_LEXICON_JSON = {
@@ -1588,40 +1600,134 @@ var ACTIVITY_LEXICON_JSON = {
1588
1600
  };
1589
1601
 
1590
1602
  var lexicon$9 = 1;
1591
- var id$p = "org.hypercerts.claim.collection";
1603
+ var id$p = "org.hypercerts.claim.attachment";
1592
1604
  var defs$b = {
1593
1605
  main: {
1594
1606
  type: "record",
1595
- description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
1607
+ description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).",
1596
1608
  key: "tid",
1597
1609
  record: {
1598
1610
  type: "object",
1599
1611
  required: [
1600
1612
  "title",
1601
- "items",
1613
+ "content",
1602
1614
  "createdAt"
1603
1615
  ],
1604
1616
  properties: {
1605
- type: {
1617
+ subjects: {
1618
+ type: "array",
1619
+ 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.",
1620
+ items: {
1621
+ type: "ref",
1622
+ ref: "com.atproto.repo.strongRef"
1623
+ },
1624
+ maxLength: 100
1625
+ },
1626
+ contentType: {
1606
1627
  type: "string",
1607
- description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection."
1628
+ maxLength: 64,
1629
+ description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc."
1630
+ },
1631
+ content: {
1632
+ type: "array",
1633
+ description: "The files, documents, or external references included in this attachment record.",
1634
+ items: {
1635
+ type: "union",
1636
+ refs: [
1637
+ "org.hypercerts.defs#uri",
1638
+ "org.hypercerts.defs#smallBlob"
1639
+ ]
1640
+ },
1641
+ maxLength: 100
1608
1642
  },
1609
1643
  title: {
1610
1644
  type: "string",
1611
- description: "The title of this collection",
1612
- maxLength: 800,
1613
- maxGraphemes: 80
1645
+ maxLength: 256,
1646
+ description: "Title of this attachment."
1614
1647
  },
1615
1648
  shortDescription: {
1616
1649
  type: "string",
1650
+ description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
1617
1651
  maxLength: 3000,
1618
- maxGraphemes: 300,
1619
- description: "Short summary of this collection, suitable for previews and list views"
1620
- },
1621
- description: {
1622
- type: "ref",
1623
- ref: "pub.leaflet.pages.linearDocument#main",
1624
- description: "Rich-text description, represented as a Leaflet linear document."
1652
+ maxGraphemes: 300
1653
+ },
1654
+ shortDescriptionFacets: {
1655
+ type: "array",
1656
+ description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
1657
+ items: {
1658
+ type: "ref",
1659
+ ref: "app.bsky.richtext.facet"
1660
+ }
1661
+ },
1662
+ description: {
1663
+ type: "string",
1664
+ description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.",
1665
+ maxLength: 30000,
1666
+ maxGraphemes: 3000
1667
+ },
1668
+ descriptionFacets: {
1669
+ type: "array",
1670
+ description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).",
1671
+ items: {
1672
+ type: "ref",
1673
+ ref: "app.bsky.richtext.facet"
1674
+ }
1675
+ },
1676
+ location: {
1677
+ type: "ref",
1678
+ ref: "com.atproto.repo.strongRef",
1679
+ 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."
1680
+ },
1681
+ createdAt: {
1682
+ type: "string",
1683
+ format: "datetime",
1684
+ description: "Client-declared timestamp when this record was originally created."
1685
+ }
1686
+ }
1687
+ }
1688
+ }
1689
+ };
1690
+ var ATTACHMENT_LEXICON_JSON = {
1691
+ lexicon: lexicon$9,
1692
+ id: id$p,
1693
+ defs: defs$b
1694
+ };
1695
+
1696
+ var lexicon$8 = 1;
1697
+ var id$o = "org.hypercerts.claim.collection";
1698
+ var defs$a = {
1699
+ main: {
1700
+ type: "record",
1701
+ description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
1702
+ key: "tid",
1703
+ record: {
1704
+ type: "object",
1705
+ required: [
1706
+ "title",
1707
+ "items",
1708
+ "createdAt"
1709
+ ],
1710
+ properties: {
1711
+ type: {
1712
+ type: "string",
1713
+ description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection."
1714
+ },
1715
+ title: {
1716
+ type: "string",
1717
+ description: "The title of this collection",
1718
+ maxLength: 800,
1719
+ maxGraphemes: 80
1720
+ },
1721
+ shortDescription: {
1722
+ type: "string",
1723
+ maxLength: 3000,
1724
+ maxGraphemes: 300,
1725
+ description: "Short summary of this collection, suitable for previews and list views"
1726
+ },
1727
+ description: {
1728
+ type: "ref",
1729
+ ref: "pub.leaflet.pages.linearDocument#main",
1730
+ description: "Rich-text description, represented as a Leaflet linear document."
1625
1731
  },
1626
1732
  avatar: {
1627
1733
  type: "union",
@@ -1679,14 +1785,14 @@ var defs$b = {
1679
1785
  }
1680
1786
  };
1681
1787
  var COLLECTION_LEXICON_JSON = {
1682
- lexicon: lexicon$9,
1683
- id: id$p,
1684
- defs: defs$b
1788
+ lexicon: lexicon$8,
1789
+ id: id$o,
1790
+ defs: defs$a
1685
1791
  };
1686
1792
 
1687
- var lexicon$8 = 1;
1688
- var id$o = "org.hypercerts.claim.contributionDetails";
1689
- var defs$a = {
1793
+ var lexicon$7 = 1;
1794
+ var id$n = "org.hypercerts.claim.contributionDetails";
1795
+ var defs$9 = {
1690
1796
  main: {
1691
1797
  type: "record",
1692
1798
  description: "Details about a specific contribution including role, description, and timeframe.",
@@ -1728,14 +1834,14 @@ var defs$a = {
1728
1834
  }
1729
1835
  };
1730
1836
  var CONTRIBUTION_DETAILS_LEXICON_JSON = {
1731
- lexicon: lexicon$8,
1732
- id: id$o,
1733
- defs: defs$a
1837
+ lexicon: lexicon$7,
1838
+ id: id$n,
1839
+ defs: defs$9
1734
1840
  };
1735
1841
 
1736
- var lexicon$7 = 1;
1737
- var id$n = "org.hypercerts.claim.contributorInformation";
1738
- var defs$9 = {
1842
+ var lexicon$6 = 1;
1843
+ var id$m = "org.hypercerts.claim.contributorInformation";
1844
+ var defs$8 = {
1739
1845
  main: {
1740
1846
  type: "record",
1741
1847
  description: "Contributor information including identifier, display name, and image.",
@@ -1773,14 +1879,14 @@ var defs$9 = {
1773
1879
  }
1774
1880
  };
1775
1881
  var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
1776
- lexicon: lexicon$7,
1777
- id: id$n,
1778
- defs: defs$9
1882
+ lexicon: lexicon$6,
1883
+ id: id$m,
1884
+ defs: defs$8
1779
1885
  };
1780
1886
 
1781
- var lexicon$6 = 1;
1782
- var id$m = "org.hypercerts.claim.evaluation";
1783
- var defs$8 = {
1887
+ var lexicon$5 = 1;
1888
+ var id$l = "org.hypercerts.claim.evaluation";
1889
+ var defs$7 = {
1784
1890
  score: {
1785
1891
  type: "object",
1786
1892
  description: "Overall score for an evaluation on a numeric scale.",
@@ -1877,75 +1983,6 @@ var defs$8 = {
1877
1983
  }
1878
1984
  };
1879
1985
  var EVALUATION_LEXICON_JSON = {
1880
- lexicon: lexicon$6,
1881
- id: id$m,
1882
- defs: defs$8
1883
- };
1884
-
1885
- var lexicon$5 = 1;
1886
- var id$l = "org.hypercerts.claim.evidence";
1887
- var defs$7 = {
1888
- main: {
1889
- type: "record",
1890
- 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.",
1891
- key: "tid",
1892
- record: {
1893
- type: "object",
1894
- required: [
1895
- "content",
1896
- "title",
1897
- "createdAt"
1898
- ],
1899
- properties: {
1900
- subject: {
1901
- type: "ref",
1902
- ref: "com.atproto.repo.strongRef",
1903
- description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation)."
1904
- },
1905
- content: {
1906
- type: "union",
1907
- refs: [
1908
- "org.hypercerts.defs#uri",
1909
- "org.hypercerts.defs#smallBlob"
1910
- ],
1911
- description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim."
1912
- },
1913
- title: {
1914
- type: "string",
1915
- maxLength: 256,
1916
- description: "Title to describe the nature of the evidence."
1917
- },
1918
- shortDescription: {
1919
- type: "string",
1920
- maxLength: 3000,
1921
- maxGraphemes: 300,
1922
- description: "Short description explaining what this evidence shows."
1923
- },
1924
- description: {
1925
- type: "string",
1926
- description: "Longer description describing the evidence in more detail.",
1927
- maxLength: 30000,
1928
- maxGraphemes: 3000
1929
- },
1930
- relationType: {
1931
- type: "string",
1932
- description: "How this evidence relates to the subject.",
1933
- knownValues: [
1934
- "supports",
1935
- "challenges",
1936
- "clarifies"
1937
- ]
1938
- },
1939
- createdAt: {
1940
- type: "string",
1941
- format: "datetime",
1942
- description: "Client-declared timestamp when this record was originally created"
1943
- }
1944
- }
1945
- }
1946
- }
1947
- };
1948
- var EVIDENCE_LEXICON_JSON = {
1949
1986
  lexicon: lexicon$5,
1950
1987
  id: id$l,
1951
1988
  defs: defs$7
@@ -1961,8 +1998,8 @@ var defs$6 = {
1961
1998
  record: {
1962
1999
  type: "object",
1963
2000
  required: [
1964
- "measurers",
1965
2001
  "metric",
2002
+ "unit",
1966
2003
  "value",
1967
2004
  "createdAt"
1968
2005
  ],
@@ -1972,25 +2009,40 @@ var defs$6 = {
1972
2009
  ref: "com.atproto.repo.strongRef",
1973
2010
  description: "A strong reference to the record this measurement refers to (e.g. an activity, project, or claim)."
1974
2011
  },
1975
- measurers: {
1976
- type: "array",
1977
- description: "DIDs of the entity (or entities) that measured this data",
1978
- items: {
1979
- type: "ref",
1980
- ref: "app.certified.defs#did"
1981
- },
1982
- maxLength: 100
1983
- },
1984
2012
  metric: {
1985
2013
  type: "string",
1986
- description: "The metric being measured",
2014
+ description: "The metric being measured, e.g. forest area restored, number of users, etc.",
1987
2015
  maxLength: 500
1988
2016
  },
2017
+ unit: {
2018
+ type: "string",
2019
+ description: "The unit of the measured value (e.g. kg CO₂e, hectares, %, index score).",
2020
+ maxLength: 50
2021
+ },
1989
2022
  value: {
1990
2023
  type: "string",
1991
- description: "The measured value",
2024
+ description: "The measured numeric value.",
1992
2025
  maxLength: 500
1993
2026
  },
2027
+ startDate: {
2028
+ type: "string",
2029
+ format: "datetime",
2030
+ description: "The start date and time when the measurement began."
2031
+ },
2032
+ endDate: {
2033
+ type: "string",
2034
+ format: "datetime",
2035
+ 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."
2036
+ },
2037
+ locations: {
2038
+ type: "array",
2039
+ description: "Optional geographic references related to where the measurement was taken. Each referenced record must conform with the app.certified.location lexicon.",
2040
+ items: {
2041
+ type: "ref",
2042
+ ref: "com.atproto.repo.strongRef"
2043
+ },
2044
+ maxLength: 100
2045
+ },
1994
2046
  methodType: {
1995
2047
  type: "string",
1996
2048
  description: "Short identifier for the measurement methodology",
@@ -2010,10 +2062,28 @@ var defs$6 = {
2010
2062
  },
2011
2063
  maxLength: 50
2012
2064
  },
2013
- location: {
2014
- type: "ref",
2015
- ref: "com.atproto.repo.strongRef",
2016
- description: "A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location"
2065
+ measurers: {
2066
+ type: "array",
2067
+ description: "DIDs of the entity (or entities) that measured this data",
2068
+ items: {
2069
+ type: "ref",
2070
+ ref: "app.certified.defs#did"
2071
+ },
2072
+ maxLength: 100
2073
+ },
2074
+ comment: {
2075
+ type: "string",
2076
+ description: "Short comment of this measurement, suitable for previews and list views. Rich text annotations may be provided via `commentFacets`.",
2077
+ maxLength: 3000,
2078
+ maxGraphemes: 300
2079
+ },
2080
+ commentFacets: {
2081
+ type: "array",
2082
+ description: "Rich text annotations for `comment` (mentions, URLs, hashtags, etc).",
2083
+ items: {
2084
+ type: "ref",
2085
+ ref: "app.bsky.richtext.facet"
2086
+ }
2017
2087
  },
2018
2088
  createdAt: {
2019
2089
  type: "string",
@@ -2174,105 +2244,6 @@ var defs$4 = {
2174
2244
  description: "Image (up to 10MB)"
2175
2245
  }
2176
2246
  }
2177
- },
2178
- workScopeAll: {
2179
- type: "object",
2180
- required: [
2181
- "op",
2182
- "args"
2183
- ],
2184
- description: "Logical AND operation: all arguments must be satisfied.",
2185
- properties: {
2186
- op: {
2187
- type: "string",
2188
- "const": "all",
2189
- description: "Operator type: 'all' (logical AND)"
2190
- },
2191
- args: {
2192
- type: "array",
2193
- items: {
2194
- type: "union",
2195
- refs: [
2196
- "#workScopeAll",
2197
- "#workScopeAny",
2198
- "#workScopeNot",
2199
- "#workScopeAtom"
2200
- ]
2201
- },
2202
- minLength: 1,
2203
- maxLength: 100,
2204
- description: "Array of work scope expressions that must all be satisfied"
2205
- }
2206
- }
2207
- },
2208
- workScopeAny: {
2209
- type: "object",
2210
- required: [
2211
- "op",
2212
- "args"
2213
- ],
2214
- description: "Logical OR operation: at least one argument must be satisfied.",
2215
- properties: {
2216
- op: {
2217
- type: "string",
2218
- "const": "any",
2219
- description: "Operator type: 'any' (logical OR)"
2220
- },
2221
- args: {
2222
- type: "array",
2223
- items: {
2224
- type: "union",
2225
- refs: [
2226
- "#workScopeAll",
2227
- "#workScopeAny",
2228
- "#workScopeNot",
2229
- "#workScopeAtom"
2230
- ]
2231
- },
2232
- minLength: 1,
2233
- maxLength: 100,
2234
- description: "Array of work scope expressions, at least one of which must be satisfied"
2235
- }
2236
- }
2237
- },
2238
- workScopeNot: {
2239
- type: "object",
2240
- required: [
2241
- "op",
2242
- "arg"
2243
- ],
2244
- description: "Logical NOT operation: the argument must not be satisfied.",
2245
- properties: {
2246
- op: {
2247
- type: "string",
2248
- "const": "not",
2249
- description: "Operator type: 'not' (logical NOT)"
2250
- },
2251
- arg: {
2252
- type: "union",
2253
- refs: [
2254
- "#workScopeAll",
2255
- "#workScopeAny",
2256
- "#workScopeNot",
2257
- "#workScopeAtom"
2258
- ],
2259
- description: "Work scope expression that must not be satisfied"
2260
- }
2261
- }
2262
- },
2263
- workScopeAtom: {
2264
- type: "object",
2265
- required: [
2266
- "atom"
2267
- ],
2268
- description: "Atomic scope reference: a strong reference to a scope record.",
2269
- properties: {
2270
- atom: {
2271
- type: "ref",
2272
- ref: "com.atproto.repo.strongRef",
2273
- description: "Strong reference to an org.hypercerts.helper.workScopeTag record"
2274
- }
2275
- }
2276
2247
  }
2277
2248
  };
2278
2249
  var HYPERCERTS_DEFS_LEXICON_JSON = {
@@ -2497,13 +2468,22 @@ function isMain$b(v) {
2497
2468
  function validateMain$b(v) {
2498
2469
  return validate$c(v, id$c, hashMain$b, true);
2499
2470
  }
2471
+ const hashString = 'string';
2472
+ function isString(v) {
2473
+ return is$typed$c(v, id$c, hashString);
2474
+ }
2475
+ function validateString(v) {
2476
+ return validate$c(v, id$c, hashString);
2477
+ }
2500
2478
 
2501
2479
  var location = /*#__PURE__*/Object.freeze({
2502
2480
  __proto__: null,
2503
2481
  isMain: isMain$b,
2504
2482
  isRecord: isMain$b,
2483
+ isString: isString,
2505
2484
  validateMain: validateMain$b,
2506
- validateRecord: validateMain$b
2485
+ validateRecord: validateMain$b,
2486
+ validateString: validateString
2507
2487
  });
2508
2488
 
2509
2489
  const is$typed$b = is$typed$g, validate$b = validate$g;
@@ -2550,7 +2530,7 @@ var activity = /*#__PURE__*/Object.freeze({
2550
2530
  });
2551
2531
 
2552
2532
  const is$typed$9 = is$typed$g, validate$9 = validate$g;
2553
- const id$9 = 'org.hypercerts.claim.collection';
2533
+ const id$9 = 'org.hypercerts.claim.attachment';
2554
2534
  const hashMain$8 = 'main';
2555
2535
  function isMain$8(v) {
2556
2536
  return is$typed$9(v, id$9, hashMain$8);
@@ -2558,26 +2538,17 @@ function isMain$8(v) {
2558
2538
  function validateMain$8(v) {
2559
2539
  return validate$9(v, id$9, hashMain$8, true);
2560
2540
  }
2561
- const hashItem = 'item';
2562
- function isItem(v) {
2563
- return is$typed$9(v, id$9, hashItem);
2564
- }
2565
- function validateItem(v) {
2566
- return validate$9(v, id$9, hashItem);
2567
- }
2568
2541
 
2569
- var collection = /*#__PURE__*/Object.freeze({
2542
+ var attachment = /*#__PURE__*/Object.freeze({
2570
2543
  __proto__: null,
2571
- isItem: isItem,
2572
2544
  isMain: isMain$8,
2573
2545
  isRecord: isMain$8,
2574
- validateItem: validateItem,
2575
2546
  validateMain: validateMain$8,
2576
2547
  validateRecord: validateMain$8
2577
2548
  });
2578
2549
 
2579
2550
  const is$typed$8 = is$typed$g, validate$8 = validate$g;
2580
- const id$8 = 'org.hypercerts.claim.contributionDetails';
2551
+ const id$8 = 'org.hypercerts.claim.collection';
2581
2552
  const hashMain$7 = 'main';
2582
2553
  function isMain$7(v) {
2583
2554
  return is$typed$8(v, id$8, hashMain$7);
@@ -2585,17 +2556,26 @@ function isMain$7(v) {
2585
2556
  function validateMain$7(v) {
2586
2557
  return validate$8(v, id$8, hashMain$7, true);
2587
2558
  }
2559
+ const hashItem = 'item';
2560
+ function isItem(v) {
2561
+ return is$typed$8(v, id$8, hashItem);
2562
+ }
2563
+ function validateItem(v) {
2564
+ return validate$8(v, id$8, hashItem);
2565
+ }
2588
2566
 
2589
- var contributionDetails = /*#__PURE__*/Object.freeze({
2567
+ var collection = /*#__PURE__*/Object.freeze({
2590
2568
  __proto__: null,
2569
+ isItem: isItem,
2591
2570
  isMain: isMain$7,
2592
2571
  isRecord: isMain$7,
2572
+ validateItem: validateItem,
2593
2573
  validateMain: validateMain$7,
2594
2574
  validateRecord: validateMain$7
2595
2575
  });
2596
2576
 
2597
2577
  const is$typed$7 = is$typed$g, validate$7 = validate$g;
2598
- const id$7 = 'org.hypercerts.claim.contributorInformation';
2578
+ const id$7 = 'org.hypercerts.claim.contributionDetails';
2599
2579
  const hashMain$6 = 'main';
2600
2580
  function isMain$6(v) {
2601
2581
  return is$typed$7(v, id$7, hashMain$6);
@@ -2604,7 +2584,7 @@ function validateMain$6(v) {
2604
2584
  return validate$7(v, id$7, hashMain$6, true);
2605
2585
  }
2606
2586
 
2607
- var contributorInformation = /*#__PURE__*/Object.freeze({
2587
+ var contributionDetails = /*#__PURE__*/Object.freeze({
2608
2588
  __proto__: null,
2609
2589
  isMain: isMain$6,
2610
2590
  isRecord: isMain$6,
@@ -2613,14 +2593,7 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
2613
2593
  });
2614
2594
 
2615
2595
  const is$typed$6 = is$typed$g, validate$6 = validate$g;
2616
- const id$6 = 'org.hypercerts.claim.evaluation';
2617
- const hashScore = 'score';
2618
- function isScore(v) {
2619
- return is$typed$6(v, id$6, hashScore);
2620
- }
2621
- function validateScore(v) {
2622
- return validate$6(v, id$6, hashScore);
2623
- }
2596
+ const id$6 = 'org.hypercerts.claim.contributorInformation';
2624
2597
  const hashMain$5 = 'main';
2625
2598
  function isMain$5(v) {
2626
2599
  return is$typed$6(v, id$6, hashMain$5);
@@ -2629,18 +2602,23 @@ function validateMain$5(v) {
2629
2602
  return validate$6(v, id$6, hashMain$5, true);
2630
2603
  }
2631
2604
 
2632
- var evaluation = /*#__PURE__*/Object.freeze({
2605
+ var contributorInformation = /*#__PURE__*/Object.freeze({
2633
2606
  __proto__: null,
2634
2607
  isMain: isMain$5,
2635
2608
  isRecord: isMain$5,
2636
- isScore: isScore,
2637
2609
  validateMain: validateMain$5,
2638
- validateRecord: validateMain$5,
2639
- validateScore: validateScore
2610
+ validateRecord: validateMain$5
2640
2611
  });
2641
2612
 
2642
2613
  const is$typed$5 = is$typed$g, validate$5 = validate$g;
2643
- const id$5 = 'org.hypercerts.claim.evidence';
2614
+ const id$5 = 'org.hypercerts.claim.evaluation';
2615
+ const hashScore = 'score';
2616
+ function isScore(v) {
2617
+ return is$typed$5(v, id$5, hashScore);
2618
+ }
2619
+ function validateScore(v) {
2620
+ return validate$5(v, id$5, hashScore);
2621
+ }
2644
2622
  const hashMain$4 = 'main';
2645
2623
  function isMain$4(v) {
2646
2624
  return is$typed$5(v, id$5, hashMain$4);
@@ -2649,12 +2627,14 @@ function validateMain$4(v) {
2649
2627
  return validate$5(v, id$5, hashMain$4, true);
2650
2628
  }
2651
2629
 
2652
- var evidence = /*#__PURE__*/Object.freeze({
2630
+ var evaluation = /*#__PURE__*/Object.freeze({
2653
2631
  __proto__: null,
2654
2632
  isMain: isMain$4,
2655
2633
  isRecord: isMain$4,
2634
+ isScore: isScore,
2656
2635
  validateMain: validateMain$4,
2657
- validateRecord: validateMain$4
2636
+ validateRecord: validateMain$4,
2637
+ validateScore: validateScore
2658
2638
  });
2659
2639
 
2660
2640
  const is$typed$4 = is$typed$g, validate$4 = validate$g;
@@ -2730,34 +2710,6 @@ function isLargeImage(v) {
2730
2710
  function validateLargeImage(v) {
2731
2711
  return validate$2(v, id$2, hashLargeImage);
2732
2712
  }
2733
- const hashWorkScopeAll = 'workScopeAll';
2734
- function isWorkScopeAll(v) {
2735
- return is$typed$2(v, id$2, hashWorkScopeAll);
2736
- }
2737
- function validateWorkScopeAll(v) {
2738
- return validate$2(v, id$2, hashWorkScopeAll);
2739
- }
2740
- const hashWorkScopeAny = 'workScopeAny';
2741
- function isWorkScopeAny(v) {
2742
- return is$typed$2(v, id$2, hashWorkScopeAny);
2743
- }
2744
- function validateWorkScopeAny(v) {
2745
- return validate$2(v, id$2, hashWorkScopeAny);
2746
- }
2747
- const hashWorkScopeNot = 'workScopeNot';
2748
- function isWorkScopeNot(v) {
2749
- return is$typed$2(v, id$2, hashWorkScopeNot);
2750
- }
2751
- function validateWorkScopeNot(v) {
2752
- return validate$2(v, id$2, hashWorkScopeNot);
2753
- }
2754
- const hashWorkScopeAtom = 'workScopeAtom';
2755
- function isWorkScopeAtom(v) {
2756
- return is$typed$2(v, id$2, hashWorkScopeAtom);
2757
- }
2758
- function validateWorkScopeAtom(v) {
2759
- return validate$2(v, id$2, hashWorkScopeAtom);
2760
- }
2761
2713
 
2762
2714
  var defs = /*#__PURE__*/Object.freeze({
2763
2715
  __proto__: null,
@@ -2766,19 +2718,11 @@ var defs = /*#__PURE__*/Object.freeze({
2766
2718
  isSmallBlob: isSmallBlob,
2767
2719
  isSmallImage: isSmallImage,
2768
2720
  isUri: isUri,
2769
- isWorkScopeAll: isWorkScopeAll,
2770
- isWorkScopeAny: isWorkScopeAny,
2771
- isWorkScopeAtom: isWorkScopeAtom,
2772
- isWorkScopeNot: isWorkScopeNot,
2773
2721
  validateLargeBlob: validateLargeBlob,
2774
2722
  validateLargeImage: validateLargeImage,
2775
2723
  validateSmallBlob: validateSmallBlob,
2776
2724
  validateSmallImage: validateSmallImage,
2777
- validateUri: validateUri,
2778
- validateWorkScopeAll: validateWorkScopeAll,
2779
- validateWorkScopeAny: validateWorkScopeAny,
2780
- validateWorkScopeAtom: validateWorkScopeAtom,
2781
- validateWorkScopeNot: validateWorkScopeNot
2725
+ validateUri: validateUri
2782
2726
  });
2783
2727
 
2784
2728
  const is$typed$1 = is$typed$g, validate$1 = validate$g;
@@ -2823,7 +2767,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
2823
2767
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
2824
2768
  *
2825
2769
  * This file is automatically generated by scripts/generate-exports.js
2826
- * Generated: 2026-01-22T23:19:06.035Z
2770
+ * Generated: 2026-01-25T04:32:42.985Z
2827
2771
  *
2828
2772
  * To regenerate this file, run:
2829
2773
  * npm run gen-api
@@ -2847,11 +2791,11 @@ const CERTIFIED_DEFS_NSID = "app.certified.defs";
2847
2791
  const LOCATION_NSID = "app.certified.location";
2848
2792
  const STRONG_REF_NSID = "com.atproto.repo.strongRef";
2849
2793
  const ACTIVITY_NSID = "org.hypercerts.claim.activity";
2794
+ const ATTACHMENT_NSID = "org.hypercerts.claim.attachment";
2850
2795
  const COLLECTION_NSID = "org.hypercerts.claim.collection";
2851
2796
  const CONTRIBUTION_DETAILS_NSID = "org.hypercerts.claim.contributionDetails";
2852
2797
  const CONTRIBUTOR_INFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
2853
2798
  const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
2854
- const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
2855
2799
  const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
2856
2800
  const RIGHTS_NSID = "org.hypercerts.claim.rights";
2857
2801
  const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
@@ -2871,11 +2815,11 @@ const HYPERCERTS_NSIDS = {
2871
2815
  LOCATION: LOCATION_NSID,
2872
2816
  STRONG_REF: STRONG_REF_NSID,
2873
2817
  ACTIVITY: ACTIVITY_NSID,
2818
+ ATTACHMENT: ATTACHMENT_NSID,
2874
2819
  COLLECTION: COLLECTION_NSID,
2875
2820
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_NSID,
2876
2821
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_NSID,
2877
2822
  EVALUATION: EVALUATION_NSID,
2878
- EVIDENCE: EVIDENCE_NSID,
2879
2823
  MEASUREMENT: MEASUREMENT_NSID,
2880
2824
  RIGHTS: RIGHTS_NSID,
2881
2825
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
@@ -2893,11 +2837,11 @@ const HYPERCERTS_LEXICON_JSON = {
2893
2837
  LOCATION: LOCATION_LEXICON_JSON,
2894
2838
  STRONG_REF: STRONG_REF_LEXICON_JSON,
2895
2839
  ACTIVITY: ACTIVITY_LEXICON_JSON,
2840
+ ATTACHMENT: ATTACHMENT_LEXICON_JSON,
2896
2841
  COLLECTION: COLLECTION_LEXICON_JSON,
2897
2842
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_JSON,
2898
2843
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_JSON,
2899
2844
  EVALUATION: EVALUATION_LEXICON_JSON,
2900
- EVIDENCE: EVIDENCE_LEXICON_JSON,
2901
2845
  MEASUREMENT: MEASUREMENT_LEXICON_JSON,
2902
2846
  RIGHTS: RIGHTS_LEXICON_JSON,
2903
2847
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
@@ -2912,11 +2856,11 @@ const CERTIFIED_DEFS_LEXICON_DOC = lexicons.get(CERTIFIED_DEFS_NSID);
2912
2856
  const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
2913
2857
  const STRONG_REF_LEXICON_DOC = lexicons.get(STRONG_REF_NSID);
2914
2858
  const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
2859
+ const ATTACHMENT_LEXICON_DOC = lexicons.get(ATTACHMENT_NSID);
2915
2860
  const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
2916
2861
  const CONTRIBUTION_DETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTION_DETAILS_NSID);
2917
2862
  const CONTRIBUTOR_INFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTOR_INFORMATION_NSID);
2918
2863
  const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
2919
- const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
2920
2864
  const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
2921
2865
  const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
2922
2866
  const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
@@ -2933,11 +2877,11 @@ const HYPERCERTS_LEXICON_DOC = {
2933
2877
  LOCATION: LOCATION_LEXICON_DOC,
2934
2878
  STRONG_REF: STRONG_REF_LEXICON_DOC,
2935
2879
  ACTIVITY: ACTIVITY_LEXICON_DOC,
2880
+ ATTACHMENT: ATTACHMENT_LEXICON_DOC,
2936
2881
  COLLECTION: COLLECTION_LEXICON_DOC,
2937
2882
  CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_DOC,
2938
2883
  CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_DOC,
2939
2884
  EVALUATION: EVALUATION_LEXICON_DOC,
2940
- EVIDENCE: EVIDENCE_LEXICON_DOC,
2941
2885
  MEASUREMENT: MEASUREMENT_LEXICON_DOC,
2942
2886
  RIGHTS: RIGHTS_LEXICON_DOC,
2943
2887
  HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
@@ -2948,6 +2892,9 @@ const HYPERCERTS_LEXICON_DOC = {
2948
2892
  exports.ACTIVITY_LEXICON_DOC = ACTIVITY_LEXICON_DOC;
2949
2893
  exports.ACTIVITY_LEXICON_JSON = ACTIVITY_LEXICON_JSON;
2950
2894
  exports.ACTIVITY_NSID = ACTIVITY_NSID;
2895
+ exports.ATTACHMENT_LEXICON_DOC = ATTACHMENT_LEXICON_DOC;
2896
+ exports.ATTACHMENT_LEXICON_JSON = ATTACHMENT_LEXICON_JSON;
2897
+ exports.ATTACHMENT_NSID = ATTACHMENT_NSID;
2951
2898
  exports.AppCertifiedBadgeAward = award;
2952
2899
  exports.AppCertifiedBadgeDefinition = definition;
2953
2900
  exports.AppCertifiedBadgeResponse = response;
@@ -2978,9 +2925,6 @@ exports.ComAtprotoRepoStrongRef = strongRef;
2978
2925
  exports.EVALUATION_LEXICON_DOC = EVALUATION_LEXICON_DOC;
2979
2926
  exports.EVALUATION_LEXICON_JSON = EVALUATION_LEXICON_JSON;
2980
2927
  exports.EVALUATION_NSID = EVALUATION_NSID;
2981
- exports.EVIDENCE_LEXICON_DOC = EVIDENCE_LEXICON_DOC;
2982
- exports.EVIDENCE_LEXICON_JSON = EVIDENCE_LEXICON_JSON;
2983
- exports.EVIDENCE_NSID = EVIDENCE_NSID;
2984
2928
  exports.FUNDING_RECEIPT_LEXICON_DOC = FUNDING_RECEIPT_LEXICON_DOC;
2985
2929
  exports.FUNDING_RECEIPT_LEXICON_JSON = FUNDING_RECEIPT_LEXICON_JSON;
2986
2930
  exports.FUNDING_RECEIPT_NSID = FUNDING_RECEIPT_NSID;
@@ -3000,11 +2944,11 @@ exports.MEASUREMENT_LEXICON_DOC = MEASUREMENT_LEXICON_DOC;
3000
2944
  exports.MEASUREMENT_LEXICON_JSON = MEASUREMENT_LEXICON_JSON;
3001
2945
  exports.MEASUREMENT_NSID = MEASUREMENT_NSID;
3002
2946
  exports.OrgHypercertsClaimActivity = activity;
2947
+ exports.OrgHypercertsClaimAttachment = attachment;
3003
2948
  exports.OrgHypercertsClaimCollection = collection;
3004
2949
  exports.OrgHypercertsClaimContributionDetails = contributionDetails;
3005
2950
  exports.OrgHypercertsClaimContributorInformation = contributorInformation;
3006
2951
  exports.OrgHypercertsClaimEvaluation = evaluation;
3007
- exports.OrgHypercertsClaimEvidence = evidence;
3008
2952
  exports.OrgHypercertsClaimMeasurement = measurement;
3009
2953
  exports.OrgHypercertsClaimRights = rights;
3010
2954
  exports.OrgHypercertsDefs = defs;