@hypercerts-org/lexicon 0.10.0-beta.4 → 0.10.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +82 -0
- package/README.md +66 -311
- package/SCHEMAS.md +284 -0
- package/dist/exports.d.ts +76 -118
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +76 -118
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +182 -266
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +21 -18
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts +9 -9
- package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/{contribution.d.ts → contributionDetails.d.ts} +8 -10
- package/dist/generated/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts +23 -0
- package/dist/generated/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/dist/index.cjs +270 -357
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +263 -350
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +102 -141
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +182 -266
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +102 -141
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/org/hypercerts/claim/activity.d.ts +21 -18
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/collection.d.ts +9 -9
- package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/{contribution.d.ts → contributionDetails.d.ts} +8 -10
- package/dist/types/org/hypercerts/claim/contributionDetails.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts +23 -0
- package/dist/types/org/hypercerts/claim/contributorInformation.d.ts.map +1 -0
- package/lexicons/org/hypercerts/claim/activity.json +29 -39
- package/lexicons/org/hypercerts/claim/collection.json +14 -17
- package/lexicons/org/hypercerts/claim/contributionDetails.json +43 -0
- package/lexicons/org/hypercerts/claim/contributorInformation.json +39 -0
- package/lexicons/org/hypercerts/claim/evaluation.json +1 -1
- package/package.json +6 -2
- package/dist/generated/types/org/hypercerts/claim/contribution.d.ts.map +0 -1
- package/dist/generated/types/org/hypercerts/claim/project.d.ts +0 -29
- package/dist/generated/types/org/hypercerts/claim/project.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/contribution.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/project.d.ts +0 -29
- package/dist/types/org/hypercerts/claim/project.d.ts.map +0 -1
- package/lexicons/org/hypercerts/claim/contribution.json +0 -50
- package/lexicons/org/hypercerts/claim/project.json +0 -64
package/dist/index.mjs
CHANGED
|
@@ -273,13 +273,7 @@ const schemaDict = {
|
|
|
273
273
|
key: 'any',
|
|
274
274
|
record: {
|
|
275
275
|
type: 'object',
|
|
276
|
-
required: [
|
|
277
|
-
'title',
|
|
278
|
-
'shortDescription',
|
|
279
|
-
'createdAt',
|
|
280
|
-
'startDate',
|
|
281
|
-
'endDate',
|
|
282
|
-
],
|
|
276
|
+
required: ['title', 'shortDescription', 'createdAt'],
|
|
283
277
|
properties: {
|
|
284
278
|
title: {
|
|
285
279
|
type: 'string',
|
|
@@ -308,7 +302,8 @@ const schemaDict = {
|
|
|
308
302
|
},
|
|
309
303
|
workScope: {
|
|
310
304
|
type: 'ref',
|
|
311
|
-
ref: 'lex:
|
|
305
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
306
|
+
description: 'A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions.',
|
|
312
307
|
},
|
|
313
308
|
startDate: {
|
|
314
309
|
type: 'string',
|
|
@@ -320,12 +315,12 @@ const schemaDict = {
|
|
|
320
315
|
format: 'datetime',
|
|
321
316
|
description: 'When the work ended',
|
|
322
317
|
},
|
|
323
|
-
|
|
318
|
+
contributors: {
|
|
324
319
|
type: 'array',
|
|
325
|
-
description: '
|
|
320
|
+
description: 'An array of contributor objects, each containing contributor information, weight, and contribution details.',
|
|
326
321
|
items: {
|
|
327
322
|
type: 'ref',
|
|
328
|
-
ref: 'lex:
|
|
323
|
+
ref: 'lex:org.hypercerts.claim.activity#contributor',
|
|
329
324
|
},
|
|
330
325
|
},
|
|
331
326
|
rights: {
|
|
@@ -341,11 +336,6 @@ const schemaDict = {
|
|
|
341
336
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
342
337
|
},
|
|
343
338
|
},
|
|
344
|
-
project: {
|
|
345
|
-
type: 'string',
|
|
346
|
-
format: 'at-uri',
|
|
347
|
-
description: 'A reference (AT-URI) to the project record that this activity is part of. The record referenced must conform with the lexicon org.hypercerts.claim.project. This activity must also be referenced by the project, establishing a bidirectional link.',
|
|
348
|
-
},
|
|
349
339
|
createdAt: {
|
|
350
340
|
type: 'string',
|
|
351
341
|
format: 'datetime',
|
|
@@ -354,36 +344,42 @@ const schemaDict = {
|
|
|
354
344
|
},
|
|
355
345
|
},
|
|
356
346
|
},
|
|
357
|
-
|
|
347
|
+
contributor: {
|
|
358
348
|
type: 'object',
|
|
359
|
-
|
|
349
|
+
required: ['contributorInformation'],
|
|
360
350
|
properties: {
|
|
361
|
-
|
|
362
|
-
type: '
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
351
|
+
contributorInformation: {
|
|
352
|
+
type: 'union',
|
|
353
|
+
refs: [
|
|
354
|
+
'lex:org.hypercerts.claim.activity#contributorIdentity',
|
|
355
|
+
'lex:com.atproto.repo.strongRef',
|
|
356
|
+
],
|
|
357
|
+
description: 'Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main.',
|
|
368
358
|
},
|
|
369
|
-
|
|
370
|
-
type: '
|
|
371
|
-
description: '
|
|
372
|
-
items: {
|
|
373
|
-
type: 'string',
|
|
374
|
-
},
|
|
375
|
-
maxLength: 100,
|
|
359
|
+
weight: {
|
|
360
|
+
type: 'string',
|
|
361
|
+
description: 'The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.',
|
|
376
362
|
},
|
|
377
|
-
|
|
378
|
-
type: '
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
363
|
+
contributionDetails: {
|
|
364
|
+
type: 'union',
|
|
365
|
+
refs: [
|
|
366
|
+
'lex:org.hypercerts.claim.activity#contributorRole',
|
|
367
|
+
'lex:com.atproto.repo.strongRef',
|
|
368
|
+
],
|
|
369
|
+
description: 'Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main.',
|
|
384
370
|
},
|
|
385
371
|
},
|
|
386
372
|
},
|
|
373
|
+
contributorIdentity: {
|
|
374
|
+
type: 'string',
|
|
375
|
+
description: 'Contributor information as a string (DID or identifier).',
|
|
376
|
+
},
|
|
377
|
+
contributorRole: {
|
|
378
|
+
type: 'string',
|
|
379
|
+
description: 'Contribution details as a string.',
|
|
380
|
+
maxLength: 10000,
|
|
381
|
+
maxGraphemes: 1000,
|
|
382
|
+
},
|
|
387
383
|
activityWeight: {
|
|
388
384
|
type: 'object',
|
|
389
385
|
required: ['activity', 'weight'],
|
|
@@ -407,12 +403,16 @@ const schemaDict = {
|
|
|
407
403
|
defs: {
|
|
408
404
|
main: {
|
|
409
405
|
type: 'record',
|
|
410
|
-
description: 'A collection/group of
|
|
406
|
+
description: 'A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.',
|
|
411
407
|
key: 'tid',
|
|
412
408
|
record: {
|
|
413
409
|
type: 'object',
|
|
414
|
-
required: ['title', '
|
|
410
|
+
required: ['title', 'items', 'createdAt'],
|
|
415
411
|
properties: {
|
|
412
|
+
type: {
|
|
413
|
+
type: 'string',
|
|
414
|
+
description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection.",
|
|
415
|
+
},
|
|
416
416
|
title: {
|
|
417
417
|
type: 'string',
|
|
418
418
|
description: 'The title of this collection',
|
|
@@ -423,26 +423,19 @@ const schemaDict = {
|
|
|
423
423
|
type: 'string',
|
|
424
424
|
maxLength: 3000,
|
|
425
425
|
maxGraphemes: 300,
|
|
426
|
-
description: '
|
|
426
|
+
description: 'Short summary of this collection, suitable for previews and list views',
|
|
427
427
|
},
|
|
428
|
-
|
|
429
|
-
type: '
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
maxSize: 1000000,
|
|
433
|
-
},
|
|
434
|
-
coverPhoto: {
|
|
435
|
-
type: 'blob',
|
|
436
|
-
description: 'The cover photo of this collection.',
|
|
437
|
-
accept: ['image/png', 'image/jpeg'],
|
|
438
|
-
maxSize: 1000000,
|
|
428
|
+
description: {
|
|
429
|
+
type: 'ref',
|
|
430
|
+
ref: 'lex:pub.leaflet.pages.linearDocument#main',
|
|
431
|
+
description: 'Rich-text description, represented as a Leaflet linear document.',
|
|
439
432
|
},
|
|
440
|
-
|
|
433
|
+
items: {
|
|
441
434
|
type: 'array',
|
|
442
|
-
description: 'Array of
|
|
435
|
+
description: 'Array of strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).',
|
|
443
436
|
items: {
|
|
444
437
|
type: 'ref',
|
|
445
|
-
ref: 'lex:
|
|
438
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
446
439
|
},
|
|
447
440
|
},
|
|
448
441
|
createdAt: {
|
|
@@ -455,35 +448,28 @@ const schemaDict = {
|
|
|
455
448
|
},
|
|
456
449
|
},
|
|
457
450
|
},
|
|
458
|
-
|
|
451
|
+
OrgHypercertsClaimContributionDetails: {
|
|
459
452
|
lexicon: 1,
|
|
460
|
-
id: 'org.hypercerts.claim.
|
|
453
|
+
id: 'org.hypercerts.claim.contributionDetails',
|
|
461
454
|
defs: {
|
|
462
455
|
main: {
|
|
463
456
|
type: 'record',
|
|
464
|
-
description:
|
|
457
|
+
description: 'Details about a specific contribution including role, description, and timeframe.',
|
|
465
458
|
key: 'tid',
|
|
466
459
|
record: {
|
|
467
460
|
type: 'object',
|
|
468
|
-
required: ['
|
|
461
|
+
required: ['createdAt'],
|
|
469
462
|
properties: {
|
|
470
463
|
role: {
|
|
471
464
|
type: 'string',
|
|
472
|
-
description: 'Role or title of the contributor
|
|
465
|
+
description: 'Role or title of the contributor.',
|
|
473
466
|
maxLength: 100,
|
|
474
467
|
},
|
|
475
|
-
|
|
476
|
-
type: 'array',
|
|
477
|
-
description: 'List of the contributors (names, pseudonyms, or DIDs). If multiple contributors are stored in the same hypercertContribution, then they would have the exact same role.',
|
|
478
|
-
items: {
|
|
479
|
-
type: 'string',
|
|
480
|
-
},
|
|
481
|
-
},
|
|
482
|
-
description: {
|
|
468
|
+
contributionDescription: {
|
|
483
469
|
type: 'string',
|
|
484
|
-
description: 'What the contribution concretely
|
|
485
|
-
maxLength:
|
|
486
|
-
maxGraphemes:
|
|
470
|
+
description: 'What the contribution concretely was.',
|
|
471
|
+
maxLength: 10000,
|
|
472
|
+
maxGraphemes: 1000,
|
|
487
473
|
},
|
|
488
474
|
startDate: {
|
|
489
475
|
type: 'string',
|
|
@@ -493,12 +479,51 @@ const schemaDict = {
|
|
|
493
479
|
endDate: {
|
|
494
480
|
type: 'string',
|
|
495
481
|
format: 'datetime',
|
|
496
|
-
description: 'When this contribution finished.
|
|
482
|
+
description: 'When this contribution finished. This should be a subset of the hypercert timeframe.',
|
|
497
483
|
},
|
|
498
484
|
createdAt: {
|
|
499
485
|
type: 'string',
|
|
500
486
|
format: 'datetime',
|
|
501
|
-
description: 'Client-declared timestamp when this record was originally created',
|
|
487
|
+
description: 'Client-declared timestamp when this record was originally created.',
|
|
488
|
+
},
|
|
489
|
+
},
|
|
490
|
+
},
|
|
491
|
+
},
|
|
492
|
+
},
|
|
493
|
+
},
|
|
494
|
+
OrgHypercertsClaimContributorInformation: {
|
|
495
|
+
lexicon: 1,
|
|
496
|
+
id: 'org.hypercerts.claim.contributorInformation',
|
|
497
|
+
defs: {
|
|
498
|
+
main: {
|
|
499
|
+
type: 'record',
|
|
500
|
+
description: 'Contributor information including identifier, display name, and image.',
|
|
501
|
+
key: 'tid',
|
|
502
|
+
record: {
|
|
503
|
+
type: 'object',
|
|
504
|
+
required: ['createdAt'],
|
|
505
|
+
properties: {
|
|
506
|
+
identifier: {
|
|
507
|
+
type: 'string',
|
|
508
|
+
description: 'DID or a URI to a social profile of the contributor.',
|
|
509
|
+
},
|
|
510
|
+
displayName: {
|
|
511
|
+
type: 'string',
|
|
512
|
+
description: 'Display name of the contributor.',
|
|
513
|
+
maxLength: 100,
|
|
514
|
+
},
|
|
515
|
+
image: {
|
|
516
|
+
type: 'union',
|
|
517
|
+
refs: [
|
|
518
|
+
'lex:org.hypercerts.defs#uri',
|
|
519
|
+
'lex:org.hypercerts.defs#smallImage',
|
|
520
|
+
],
|
|
521
|
+
description: 'The contributor visual representation as a URI or image blob.',
|
|
522
|
+
},
|
|
523
|
+
createdAt: {
|
|
524
|
+
type: 'string',
|
|
525
|
+
format: 'datetime',
|
|
526
|
+
description: 'Client-declared timestamp when this record was originally created.',
|
|
502
527
|
},
|
|
503
528
|
},
|
|
504
529
|
},
|
|
@@ -564,7 +589,7 @@ const schemaDict = {
|
|
|
564
589
|
},
|
|
565
590
|
measurements: {
|
|
566
591
|
type: 'array',
|
|
567
|
-
description: 'Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement
|
|
592
|
+
description: 'Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement',
|
|
568
593
|
items: {
|
|
569
594
|
type: 'ref',
|
|
570
595
|
ref: 'lex:com.atproto.repo.strongRef',
|
|
@@ -724,70 +749,6 @@ const schemaDict = {
|
|
|
724
749
|
},
|
|
725
750
|
},
|
|
726
751
|
},
|
|
727
|
-
OrgHypercertsClaimProject: {
|
|
728
|
-
lexicon: 1,
|
|
729
|
-
id: 'org.hypercerts.claim.project',
|
|
730
|
-
defs: {
|
|
731
|
-
main: {
|
|
732
|
-
type: 'record',
|
|
733
|
-
description: 'A project that can include multiple activities, each of which may be linked to at most one project.',
|
|
734
|
-
key: 'tid',
|
|
735
|
-
record: {
|
|
736
|
-
type: 'object',
|
|
737
|
-
required: ['title', 'shortDescription', 'createdAt'],
|
|
738
|
-
properties: {
|
|
739
|
-
title: {
|
|
740
|
-
type: 'string',
|
|
741
|
-
description: 'Title of this project',
|
|
742
|
-
maxLength: 800,
|
|
743
|
-
maxGraphemes: 80,
|
|
744
|
-
},
|
|
745
|
-
shortDescription: {
|
|
746
|
-
type: 'string',
|
|
747
|
-
maxLength: 3000,
|
|
748
|
-
maxGraphemes: 300,
|
|
749
|
-
description: 'Short summary of this project, suitable for previews and list views.',
|
|
750
|
-
},
|
|
751
|
-
description: {
|
|
752
|
-
type: 'ref',
|
|
753
|
-
ref: 'lex:pub.leaflet.pages.linearDocument#main',
|
|
754
|
-
description: 'Rich-text description of this project, represented as a Leaflet linear document.',
|
|
755
|
-
},
|
|
756
|
-
avatar: {
|
|
757
|
-
type: 'blob',
|
|
758
|
-
description: 'Primary avatar image representing this project across apps and views; typically a square logo or project identity image.',
|
|
759
|
-
accept: ['image/png', 'image/jpeg'],
|
|
760
|
-
maxSize: 1000000,
|
|
761
|
-
},
|
|
762
|
-
coverPhoto: {
|
|
763
|
-
type: 'blob',
|
|
764
|
-
description: 'The cover photo of this project.',
|
|
765
|
-
accept: ['image/png', 'image/jpeg'],
|
|
766
|
-
maxSize: 1000000,
|
|
767
|
-
},
|
|
768
|
-
activities: {
|
|
769
|
-
type: 'array',
|
|
770
|
-
description: 'Array of activities with their associated weights in this project',
|
|
771
|
-
items: {
|
|
772
|
-
type: 'ref',
|
|
773
|
-
ref: 'lex:org.hypercerts.claim.activity#activityWeight',
|
|
774
|
-
},
|
|
775
|
-
},
|
|
776
|
-
location: {
|
|
777
|
-
type: 'ref',
|
|
778
|
-
ref: 'lex:com.atproto.repo.strongRef',
|
|
779
|
-
description: 'A strong reference to a location record describing where the work for this project took place. The referenced record must conform to the app.certified.location lexicon.',
|
|
780
|
-
},
|
|
781
|
-
createdAt: {
|
|
782
|
-
type: 'string',
|
|
783
|
-
format: 'datetime',
|
|
784
|
-
description: 'Client-declared timestamp when this record was originally created',
|
|
785
|
-
},
|
|
786
|
-
},
|
|
787
|
-
},
|
|
788
|
-
},
|
|
789
|
-
},
|
|
790
|
-
},
|
|
791
752
|
OrgHypercertsClaimRights: {
|
|
792
753
|
lexicon: 1,
|
|
793
754
|
id: 'org.hypercerts.claim.rights',
|
|
@@ -994,11 +955,11 @@ const ids = {
|
|
|
994
955
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
995
956
|
OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
|
|
996
957
|
OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
|
|
997
|
-
|
|
958
|
+
OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
|
|
959
|
+
OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
|
|
998
960
|
OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
|
|
999
961
|
OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
|
|
1000
962
|
OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
|
|
1001
|
-
OrgHypercertsClaimProject: 'org.hypercerts.claim.project',
|
|
1002
963
|
OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
|
|
1003
964
|
OrgHypercertsDefs: 'org.hypercerts.defs',
|
|
1004
965
|
OrgHypercertsFundingReceipt: 'org.hypercerts.funding.receipt',
|
|
@@ -1290,9 +1251,7 @@ var defs$b = {
|
|
|
1290
1251
|
required: [
|
|
1291
1252
|
"title",
|
|
1292
1253
|
"shortDescription",
|
|
1293
|
-
"createdAt"
|
|
1294
|
-
"startDate",
|
|
1295
|
-
"endDate"
|
|
1254
|
+
"createdAt"
|
|
1296
1255
|
],
|
|
1297
1256
|
properties: {
|
|
1298
1257
|
title: {
|
|
@@ -1322,7 +1281,8 @@ var defs$b = {
|
|
|
1322
1281
|
},
|
|
1323
1282
|
workScope: {
|
|
1324
1283
|
type: "ref",
|
|
1325
|
-
ref: "
|
|
1284
|
+
ref: "com.atproto.repo.strongRef",
|
|
1285
|
+
description: "A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions."
|
|
1326
1286
|
},
|
|
1327
1287
|
startDate: {
|
|
1328
1288
|
type: "string",
|
|
@@ -1334,12 +1294,12 @@ var defs$b = {
|
|
|
1334
1294
|
format: "datetime",
|
|
1335
1295
|
description: "When the work ended"
|
|
1336
1296
|
},
|
|
1337
|
-
|
|
1297
|
+
contributors: {
|
|
1338
1298
|
type: "array",
|
|
1339
|
-
description: "
|
|
1299
|
+
description: "An array of contributor objects, each containing contributor information, weight, and contribution details.",
|
|
1340
1300
|
items: {
|
|
1341
1301
|
type: "ref",
|
|
1342
|
-
ref: "
|
|
1302
|
+
ref: "#contributor"
|
|
1343
1303
|
}
|
|
1344
1304
|
},
|
|
1345
1305
|
rights: {
|
|
@@ -1355,11 +1315,6 @@ var defs$b = {
|
|
|
1355
1315
|
ref: "com.atproto.repo.strongRef"
|
|
1356
1316
|
}
|
|
1357
1317
|
},
|
|
1358
|
-
project: {
|
|
1359
|
-
type: "string",
|
|
1360
|
-
format: "at-uri",
|
|
1361
|
-
description: "A reference (AT-URI) to the project record that this activity is part of. The record referenced must conform with the lexicon org.hypercerts.claim.project. This activity must also be referenced by the project, establishing a bidirectional link."
|
|
1362
|
-
},
|
|
1363
1318
|
createdAt: {
|
|
1364
1319
|
type: "string",
|
|
1365
1320
|
format: "datetime",
|
|
@@ -1368,36 +1323,44 @@ var defs$b = {
|
|
|
1368
1323
|
}
|
|
1369
1324
|
}
|
|
1370
1325
|
},
|
|
1371
|
-
|
|
1326
|
+
contributor: {
|
|
1372
1327
|
type: "object",
|
|
1373
|
-
|
|
1328
|
+
required: [
|
|
1329
|
+
"contributorInformation"
|
|
1330
|
+
],
|
|
1374
1331
|
properties: {
|
|
1375
|
-
|
|
1376
|
-
type: "
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1332
|
+
contributorInformation: {
|
|
1333
|
+
type: "union",
|
|
1334
|
+
refs: [
|
|
1335
|
+
"#contributorIdentity",
|
|
1336
|
+
"com.atproto.repo.strongRef"
|
|
1337
|
+
],
|
|
1338
|
+
description: "Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main."
|
|
1382
1339
|
},
|
|
1383
|
-
|
|
1384
|
-
type: "
|
|
1385
|
-
description: "
|
|
1386
|
-
items: {
|
|
1387
|
-
type: "string"
|
|
1388
|
-
},
|
|
1389
|
-
maxLength: 100
|
|
1340
|
+
weight: {
|
|
1341
|
+
type: "string",
|
|
1342
|
+
description: "The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed."
|
|
1390
1343
|
},
|
|
1391
|
-
|
|
1392
|
-
type: "
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1344
|
+
contributionDetails: {
|
|
1345
|
+
type: "union",
|
|
1346
|
+
refs: [
|
|
1347
|
+
"#contributorRole",
|
|
1348
|
+
"com.atproto.repo.strongRef"
|
|
1349
|
+
],
|
|
1350
|
+
description: "Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main."
|
|
1398
1351
|
}
|
|
1399
1352
|
}
|
|
1400
1353
|
},
|
|
1354
|
+
contributorIdentity: {
|
|
1355
|
+
type: "string",
|
|
1356
|
+
description: "Contributor information as a string (DID or identifier)."
|
|
1357
|
+
},
|
|
1358
|
+
contributorRole: {
|
|
1359
|
+
type: "string",
|
|
1360
|
+
description: "Contribution details as a string.",
|
|
1361
|
+
maxLength: 10000,
|
|
1362
|
+
maxGraphemes: 1000
|
|
1363
|
+
},
|
|
1401
1364
|
activityWeight: {
|
|
1402
1365
|
type: "object",
|
|
1403
1366
|
required: [
|
|
@@ -1428,16 +1391,20 @@ var id$n = "org.hypercerts.claim.collection";
|
|
|
1428
1391
|
var defs$a = {
|
|
1429
1392
|
main: {
|
|
1430
1393
|
type: "record",
|
|
1431
|
-
description: "A collection/group of
|
|
1394
|
+
description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.",
|
|
1432
1395
|
key: "tid",
|
|
1433
1396
|
record: {
|
|
1434
1397
|
type: "object",
|
|
1435
1398
|
required: [
|
|
1436
1399
|
"title",
|
|
1437
|
-
"
|
|
1400
|
+
"items",
|
|
1438
1401
|
"createdAt"
|
|
1439
1402
|
],
|
|
1440
1403
|
properties: {
|
|
1404
|
+
type: {
|
|
1405
|
+
type: "string",
|
|
1406
|
+
description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection."
|
|
1407
|
+
},
|
|
1441
1408
|
title: {
|
|
1442
1409
|
type: "string",
|
|
1443
1410
|
description: "The title of this collection",
|
|
@@ -1448,32 +1415,19 @@ var defs$a = {
|
|
|
1448
1415
|
type: "string",
|
|
1449
1416
|
maxLength: 3000,
|
|
1450
1417
|
maxGraphemes: 300,
|
|
1451
|
-
description: "
|
|
1418
|
+
description: "Short summary of this collection, suitable for previews and list views"
|
|
1452
1419
|
},
|
|
1453
|
-
|
|
1454
|
-
type: "
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
"image/png",
|
|
1458
|
-
"image/jpeg"
|
|
1459
|
-
],
|
|
1460
|
-
maxSize: 1000000
|
|
1461
|
-
},
|
|
1462
|
-
coverPhoto: {
|
|
1463
|
-
type: "blob",
|
|
1464
|
-
description: "The cover photo of this collection.",
|
|
1465
|
-
accept: [
|
|
1466
|
-
"image/png",
|
|
1467
|
-
"image/jpeg"
|
|
1468
|
-
],
|
|
1469
|
-
maxSize: 1000000
|
|
1420
|
+
description: {
|
|
1421
|
+
type: "ref",
|
|
1422
|
+
ref: "pub.leaflet.pages.linearDocument#main",
|
|
1423
|
+
description: "Rich-text description, represented as a Leaflet linear document."
|
|
1470
1424
|
},
|
|
1471
|
-
|
|
1425
|
+
items: {
|
|
1472
1426
|
type: "array",
|
|
1473
|
-
description: "Array of
|
|
1427
|
+
description: "Array of strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).",
|
|
1474
1428
|
items: {
|
|
1475
1429
|
type: "ref",
|
|
1476
|
-
ref: "
|
|
1430
|
+
ref: "com.atproto.repo.strongRef"
|
|
1477
1431
|
}
|
|
1478
1432
|
},
|
|
1479
1433
|
createdAt: {
|
|
@@ -1492,36 +1446,28 @@ var COLLECTION_LEXICON_JSON = {
|
|
|
1492
1446
|
};
|
|
1493
1447
|
|
|
1494
1448
|
var lexicon$7 = 1;
|
|
1495
|
-
var id$m = "org.hypercerts.claim.
|
|
1449
|
+
var id$m = "org.hypercerts.claim.contributionDetails";
|
|
1496
1450
|
var defs$9 = {
|
|
1497
1451
|
main: {
|
|
1498
1452
|
type: "record",
|
|
1499
|
-
description: "
|
|
1453
|
+
description: "Details about a specific contribution including role, description, and timeframe.",
|
|
1500
1454
|
key: "tid",
|
|
1501
1455
|
record: {
|
|
1502
1456
|
type: "object",
|
|
1503
1457
|
required: [
|
|
1504
|
-
"contributors",
|
|
1505
1458
|
"createdAt"
|
|
1506
1459
|
],
|
|
1507
1460
|
properties: {
|
|
1508
1461
|
role: {
|
|
1509
1462
|
type: "string",
|
|
1510
|
-
description: "Role or title of the contributor
|
|
1463
|
+
description: "Role or title of the contributor.",
|
|
1511
1464
|
maxLength: 100
|
|
1512
1465
|
},
|
|
1513
|
-
|
|
1514
|
-
type: "array",
|
|
1515
|
-
description: "List of the contributors (names, pseudonyms, or DIDs). If multiple contributors are stored in the same hypercertContribution, then they would have the exact same role.",
|
|
1516
|
-
items: {
|
|
1517
|
-
type: "string"
|
|
1518
|
-
}
|
|
1519
|
-
},
|
|
1520
|
-
description: {
|
|
1466
|
+
contributionDescription: {
|
|
1521
1467
|
type: "string",
|
|
1522
|
-
description: "What the contribution concretely
|
|
1523
|
-
maxLength:
|
|
1524
|
-
maxGraphemes:
|
|
1468
|
+
description: "What the contribution concretely was.",
|
|
1469
|
+
maxLength: 10000,
|
|
1470
|
+
maxGraphemes: 1000
|
|
1525
1471
|
},
|
|
1526
1472
|
startDate: {
|
|
1527
1473
|
type: "string",
|
|
@@ -1531,26 +1477,71 @@ var defs$9 = {
|
|
|
1531
1477
|
endDate: {
|
|
1532
1478
|
type: "string",
|
|
1533
1479
|
format: "datetime",
|
|
1534
|
-
description: "When this contribution finished.
|
|
1480
|
+
description: "When this contribution finished. This should be a subset of the hypercert timeframe."
|
|
1535
1481
|
},
|
|
1536
1482
|
createdAt: {
|
|
1537
1483
|
type: "string",
|
|
1538
1484
|
format: "datetime",
|
|
1539
|
-
description: "Client-declared timestamp when this record was originally created"
|
|
1485
|
+
description: "Client-declared timestamp when this record was originally created."
|
|
1540
1486
|
}
|
|
1541
1487
|
}
|
|
1542
1488
|
}
|
|
1543
1489
|
}
|
|
1544
1490
|
};
|
|
1545
|
-
var
|
|
1491
|
+
var CONTRIBUTIONDETAILS_LEXICON_JSON = {
|
|
1546
1492
|
lexicon: lexicon$7,
|
|
1547
1493
|
id: id$m,
|
|
1548
1494
|
defs: defs$9
|
|
1549
1495
|
};
|
|
1550
1496
|
|
|
1551
1497
|
var lexicon$6 = 1;
|
|
1552
|
-
var id$l = "org.hypercerts.claim.
|
|
1498
|
+
var id$l = "org.hypercerts.claim.contributorInformation";
|
|
1553
1499
|
var defs$8 = {
|
|
1500
|
+
main: {
|
|
1501
|
+
type: "record",
|
|
1502
|
+
description: "Contributor information including identifier, display name, and image.",
|
|
1503
|
+
key: "tid",
|
|
1504
|
+
record: {
|
|
1505
|
+
type: "object",
|
|
1506
|
+
required: [
|
|
1507
|
+
"createdAt"
|
|
1508
|
+
],
|
|
1509
|
+
properties: {
|
|
1510
|
+
identifier: {
|
|
1511
|
+
type: "string",
|
|
1512
|
+
description: "DID or a URI to a social profile of the contributor."
|
|
1513
|
+
},
|
|
1514
|
+
displayName: {
|
|
1515
|
+
type: "string",
|
|
1516
|
+
description: "Display name of the contributor.",
|
|
1517
|
+
maxLength: 100
|
|
1518
|
+
},
|
|
1519
|
+
image: {
|
|
1520
|
+
type: "union",
|
|
1521
|
+
refs: [
|
|
1522
|
+
"org.hypercerts.defs#uri",
|
|
1523
|
+
"org.hypercerts.defs#smallImage"
|
|
1524
|
+
],
|
|
1525
|
+
description: "The contributor visual representation as a URI or image blob."
|
|
1526
|
+
},
|
|
1527
|
+
createdAt: {
|
|
1528
|
+
type: "string",
|
|
1529
|
+
format: "datetime",
|
|
1530
|
+
description: "Client-declared timestamp when this record was originally created."
|
|
1531
|
+
}
|
|
1532
|
+
}
|
|
1533
|
+
}
|
|
1534
|
+
}
|
|
1535
|
+
};
|
|
1536
|
+
var CONTRIBUTORINFORMATION_LEXICON_JSON = {
|
|
1537
|
+
lexicon: lexicon$6,
|
|
1538
|
+
id: id$l,
|
|
1539
|
+
defs: defs$8
|
|
1540
|
+
};
|
|
1541
|
+
|
|
1542
|
+
var lexicon$5 = 1;
|
|
1543
|
+
var id$k = "org.hypercerts.claim.evaluation";
|
|
1544
|
+
var defs$7 = {
|
|
1554
1545
|
score: {
|
|
1555
1546
|
type: "object",
|
|
1556
1547
|
description: "Overall score for an evaluation on a numeric scale.",
|
|
@@ -1614,7 +1605,7 @@ var defs$8 = {
|
|
|
1614
1605
|
},
|
|
1615
1606
|
measurements: {
|
|
1616
1607
|
type: "array",
|
|
1617
|
-
description: "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement
|
|
1608
|
+
description: "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement",
|
|
1618
1609
|
items: {
|
|
1619
1610
|
type: "ref",
|
|
1620
1611
|
ref: "com.atproto.repo.strongRef"
|
|
@@ -1647,14 +1638,14 @@ var defs$8 = {
|
|
|
1647
1638
|
}
|
|
1648
1639
|
};
|
|
1649
1640
|
var EVALUATION_LEXICON_JSON = {
|
|
1650
|
-
lexicon: lexicon$
|
|
1651
|
-
id: id$
|
|
1652
|
-
defs: defs$
|
|
1641
|
+
lexicon: lexicon$5,
|
|
1642
|
+
id: id$k,
|
|
1643
|
+
defs: defs$7
|
|
1653
1644
|
};
|
|
1654
1645
|
|
|
1655
|
-
var lexicon$
|
|
1656
|
-
var id$
|
|
1657
|
-
var defs$
|
|
1646
|
+
var lexicon$4 = 1;
|
|
1647
|
+
var id$j = "org.hypercerts.claim.evidence";
|
|
1648
|
+
var defs$6 = {
|
|
1658
1649
|
main: {
|
|
1659
1650
|
type: "record",
|
|
1660
1651
|
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.",
|
|
@@ -1716,14 +1707,14 @@ var defs$7 = {
|
|
|
1716
1707
|
}
|
|
1717
1708
|
};
|
|
1718
1709
|
var EVIDENCE_LEXICON_JSON = {
|
|
1719
|
-
lexicon: lexicon$
|
|
1720
|
-
id: id$
|
|
1721
|
-
defs: defs$
|
|
1710
|
+
lexicon: lexicon$4,
|
|
1711
|
+
id: id$j,
|
|
1712
|
+
defs: defs$6
|
|
1722
1713
|
};
|
|
1723
1714
|
|
|
1724
|
-
var lexicon$
|
|
1725
|
-
var id$
|
|
1726
|
-
var defs$
|
|
1715
|
+
var lexicon$3 = 1;
|
|
1716
|
+
var id$i = "org.hypercerts.claim.measurement";
|
|
1717
|
+
var defs$5 = {
|
|
1727
1718
|
main: {
|
|
1728
1719
|
type: "record",
|
|
1729
1720
|
description: "Measurement data related to a hypercert record (e.g. an activity and its impact).",
|
|
@@ -1795,84 +1786,6 @@ var defs$6 = {
|
|
|
1795
1786
|
}
|
|
1796
1787
|
};
|
|
1797
1788
|
var MEASUREMENT_LEXICON_JSON = {
|
|
1798
|
-
lexicon: lexicon$4,
|
|
1799
|
-
id: id$j,
|
|
1800
|
-
defs: defs$6
|
|
1801
|
-
};
|
|
1802
|
-
|
|
1803
|
-
var lexicon$3 = 1;
|
|
1804
|
-
var id$i = "org.hypercerts.claim.project";
|
|
1805
|
-
var defs$5 = {
|
|
1806
|
-
main: {
|
|
1807
|
-
type: "record",
|
|
1808
|
-
description: "A project that can include multiple activities, each of which may be linked to at most one project.",
|
|
1809
|
-
key: "tid",
|
|
1810
|
-
record: {
|
|
1811
|
-
type: "object",
|
|
1812
|
-
required: [
|
|
1813
|
-
"title",
|
|
1814
|
-
"shortDescription",
|
|
1815
|
-
"createdAt"
|
|
1816
|
-
],
|
|
1817
|
-
properties: {
|
|
1818
|
-
title: {
|
|
1819
|
-
type: "string",
|
|
1820
|
-
description: "Title of this project",
|
|
1821
|
-
maxLength: 800,
|
|
1822
|
-
maxGraphemes: 80
|
|
1823
|
-
},
|
|
1824
|
-
shortDescription: {
|
|
1825
|
-
type: "string",
|
|
1826
|
-
maxLength: 3000,
|
|
1827
|
-
maxGraphemes: 300,
|
|
1828
|
-
description: "Short summary of this project, suitable for previews and list views."
|
|
1829
|
-
},
|
|
1830
|
-
description: {
|
|
1831
|
-
type: "ref",
|
|
1832
|
-
ref: "pub.leaflet.pages.linearDocument#main",
|
|
1833
|
-
description: "Rich-text description of this project, represented as a Leaflet linear document."
|
|
1834
|
-
},
|
|
1835
|
-
avatar: {
|
|
1836
|
-
type: "blob",
|
|
1837
|
-
description: "Primary avatar image representing this project across apps and views; typically a square logo or project identity image.",
|
|
1838
|
-
accept: [
|
|
1839
|
-
"image/png",
|
|
1840
|
-
"image/jpeg"
|
|
1841
|
-
],
|
|
1842
|
-
maxSize: 1000000
|
|
1843
|
-
},
|
|
1844
|
-
coverPhoto: {
|
|
1845
|
-
type: "blob",
|
|
1846
|
-
description: "The cover photo of this project.",
|
|
1847
|
-
accept: [
|
|
1848
|
-
"image/png",
|
|
1849
|
-
"image/jpeg"
|
|
1850
|
-
],
|
|
1851
|
-
maxSize: 1000000
|
|
1852
|
-
},
|
|
1853
|
-
activities: {
|
|
1854
|
-
type: "array",
|
|
1855
|
-
description: "Array of activities with their associated weights in this project",
|
|
1856
|
-
items: {
|
|
1857
|
-
type: "ref",
|
|
1858
|
-
ref: "org.hypercerts.claim.activity#activityWeight"
|
|
1859
|
-
}
|
|
1860
|
-
},
|
|
1861
|
-
location: {
|
|
1862
|
-
type: "ref",
|
|
1863
|
-
ref: "com.atproto.repo.strongRef",
|
|
1864
|
-
description: "A strong reference to a location record describing where the work for this project took place. The referenced record must conform to the app.certified.location lexicon."
|
|
1865
|
-
},
|
|
1866
|
-
createdAt: {
|
|
1867
|
-
type: "string",
|
|
1868
|
-
format: "datetime",
|
|
1869
|
-
description: "Client-declared timestamp when this record was originally created"
|
|
1870
|
-
}
|
|
1871
|
-
}
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
|
-
};
|
|
1875
|
-
var PROJECT_LEXICON_JSON = {
|
|
1876
1789
|
lexicon: lexicon$3,
|
|
1877
1790
|
id: id$i,
|
|
1878
1791
|
defs: defs$5
|
|
@@ -2207,12 +2120,12 @@ function isMain$8(v) {
|
|
|
2207
2120
|
function validateMain$8(v) {
|
|
2208
2121
|
return validate$9(v, id$9, hashMain$8, true);
|
|
2209
2122
|
}
|
|
2210
|
-
const
|
|
2211
|
-
function
|
|
2212
|
-
return is$typed$9(v, id$9,
|
|
2123
|
+
const hashContributor = 'contributor';
|
|
2124
|
+
function isContributor(v) {
|
|
2125
|
+
return is$typed$9(v, id$9, hashContributor);
|
|
2213
2126
|
}
|
|
2214
|
-
function
|
|
2215
|
-
return validate$9(v, id$9,
|
|
2127
|
+
function validateContributor(v) {
|
|
2128
|
+
return validate$9(v, id$9, hashContributor);
|
|
2216
2129
|
}
|
|
2217
2130
|
const hashActivityWeight = 'activityWeight';
|
|
2218
2131
|
function isActivityWeight(v) {
|
|
@@ -2225,13 +2138,13 @@ function validateActivityWeight(v) {
|
|
|
2225
2138
|
var activity = /*#__PURE__*/Object.freeze({
|
|
2226
2139
|
__proto__: null,
|
|
2227
2140
|
isActivityWeight: isActivityWeight,
|
|
2141
|
+
isContributor: isContributor,
|
|
2228
2142
|
isMain: isMain$8,
|
|
2229
2143
|
isRecord: isMain$8,
|
|
2230
|
-
isWorkScope: isWorkScope,
|
|
2231
2144
|
validateActivityWeight: validateActivityWeight,
|
|
2145
|
+
validateContributor: validateContributor,
|
|
2232
2146
|
validateMain: validateMain$8,
|
|
2233
|
-
validateRecord: validateMain$8
|
|
2234
|
-
validateWorkScope: validateWorkScope
|
|
2147
|
+
validateRecord: validateMain$8
|
|
2235
2148
|
});
|
|
2236
2149
|
|
|
2237
2150
|
const is$typed$8 = is$typed$f, validate$8 = validate$f;
|
|
@@ -2253,7 +2166,7 @@ var collection = /*#__PURE__*/Object.freeze({
|
|
|
2253
2166
|
});
|
|
2254
2167
|
|
|
2255
2168
|
const is$typed$7 = is$typed$f, validate$7 = validate$f;
|
|
2256
|
-
const id$7 = 'org.hypercerts.claim.
|
|
2169
|
+
const id$7 = 'org.hypercerts.claim.contributionDetails';
|
|
2257
2170
|
const hashMain$6 = 'main';
|
|
2258
2171
|
function isMain$6(v) {
|
|
2259
2172
|
return is$typed$7(v, id$7, hashMain$6);
|
|
@@ -2262,7 +2175,7 @@ function validateMain$6(v) {
|
|
|
2262
2175
|
return validate$7(v, id$7, hashMain$6, true);
|
|
2263
2176
|
}
|
|
2264
2177
|
|
|
2265
|
-
var
|
|
2178
|
+
var contributionDetails = /*#__PURE__*/Object.freeze({
|
|
2266
2179
|
__proto__: null,
|
|
2267
2180
|
isMain: isMain$6,
|
|
2268
2181
|
isRecord: isMain$6,
|
|
@@ -2271,14 +2184,7 @@ var contribution = /*#__PURE__*/Object.freeze({
|
|
|
2271
2184
|
});
|
|
2272
2185
|
|
|
2273
2186
|
const is$typed$6 = is$typed$f, validate$6 = validate$f;
|
|
2274
|
-
const id$6 = 'org.hypercerts.claim.
|
|
2275
|
-
const hashScore = 'score';
|
|
2276
|
-
function isScore(v) {
|
|
2277
|
-
return is$typed$6(v, id$6, hashScore);
|
|
2278
|
-
}
|
|
2279
|
-
function validateScore(v) {
|
|
2280
|
-
return validate$6(v, id$6, hashScore);
|
|
2281
|
-
}
|
|
2187
|
+
const id$6 = 'org.hypercerts.claim.contributorInformation';
|
|
2282
2188
|
const hashMain$5 = 'main';
|
|
2283
2189
|
function isMain$5(v) {
|
|
2284
2190
|
return is$typed$6(v, id$6, hashMain$5);
|
|
@@ -2287,18 +2193,23 @@ function validateMain$5(v) {
|
|
|
2287
2193
|
return validate$6(v, id$6, hashMain$5, true);
|
|
2288
2194
|
}
|
|
2289
2195
|
|
|
2290
|
-
var
|
|
2196
|
+
var contributorInformation = /*#__PURE__*/Object.freeze({
|
|
2291
2197
|
__proto__: null,
|
|
2292
2198
|
isMain: isMain$5,
|
|
2293
2199
|
isRecord: isMain$5,
|
|
2294
|
-
isScore: isScore,
|
|
2295
2200
|
validateMain: validateMain$5,
|
|
2296
|
-
validateRecord: validateMain$5
|
|
2297
|
-
validateScore: validateScore
|
|
2201
|
+
validateRecord: validateMain$5
|
|
2298
2202
|
});
|
|
2299
2203
|
|
|
2300
2204
|
const is$typed$5 = is$typed$f, validate$5 = validate$f;
|
|
2301
|
-
const id$5 = 'org.hypercerts.claim.
|
|
2205
|
+
const id$5 = 'org.hypercerts.claim.evaluation';
|
|
2206
|
+
const hashScore = 'score';
|
|
2207
|
+
function isScore(v) {
|
|
2208
|
+
return is$typed$5(v, id$5, hashScore);
|
|
2209
|
+
}
|
|
2210
|
+
function validateScore(v) {
|
|
2211
|
+
return validate$5(v, id$5, hashScore);
|
|
2212
|
+
}
|
|
2302
2213
|
const hashMain$4 = 'main';
|
|
2303
2214
|
function isMain$4(v) {
|
|
2304
2215
|
return is$typed$5(v, id$5, hashMain$4);
|
|
@@ -2307,16 +2218,18 @@ function validateMain$4(v) {
|
|
|
2307
2218
|
return validate$5(v, id$5, hashMain$4, true);
|
|
2308
2219
|
}
|
|
2309
2220
|
|
|
2310
|
-
var
|
|
2221
|
+
var evaluation = /*#__PURE__*/Object.freeze({
|
|
2311
2222
|
__proto__: null,
|
|
2312
2223
|
isMain: isMain$4,
|
|
2313
2224
|
isRecord: isMain$4,
|
|
2225
|
+
isScore: isScore,
|
|
2314
2226
|
validateMain: validateMain$4,
|
|
2315
|
-
validateRecord: validateMain$4
|
|
2227
|
+
validateRecord: validateMain$4,
|
|
2228
|
+
validateScore: validateScore
|
|
2316
2229
|
});
|
|
2317
2230
|
|
|
2318
2231
|
const is$typed$4 = is$typed$f, validate$4 = validate$f;
|
|
2319
|
-
const id$4 = 'org.hypercerts.claim.
|
|
2232
|
+
const id$4 = 'org.hypercerts.claim.evidence';
|
|
2320
2233
|
const hashMain$3 = 'main';
|
|
2321
2234
|
function isMain$3(v) {
|
|
2322
2235
|
return is$typed$4(v, id$4, hashMain$3);
|
|
@@ -2325,7 +2238,7 @@ function validateMain$3(v) {
|
|
|
2325
2238
|
return validate$4(v, id$4, hashMain$3, true);
|
|
2326
2239
|
}
|
|
2327
2240
|
|
|
2328
|
-
var
|
|
2241
|
+
var evidence = /*#__PURE__*/Object.freeze({
|
|
2329
2242
|
__proto__: null,
|
|
2330
2243
|
isMain: isMain$3,
|
|
2331
2244
|
isRecord: isMain$3,
|
|
@@ -2334,7 +2247,7 @@ var measurement = /*#__PURE__*/Object.freeze({
|
|
|
2334
2247
|
});
|
|
2335
2248
|
|
|
2336
2249
|
const is$typed$3 = is$typed$f, validate$3 = validate$f;
|
|
2337
|
-
const id$3 = 'org.hypercerts.claim.
|
|
2250
|
+
const id$3 = 'org.hypercerts.claim.measurement';
|
|
2338
2251
|
const hashMain$2 = 'main';
|
|
2339
2252
|
function isMain$2(v) {
|
|
2340
2253
|
return is$typed$3(v, id$3, hashMain$2);
|
|
@@ -2343,7 +2256,7 @@ function validateMain$2(v) {
|
|
|
2343
2256
|
return validate$3(v, id$3, hashMain$2, true);
|
|
2344
2257
|
}
|
|
2345
2258
|
|
|
2346
|
-
var
|
|
2259
|
+
var measurement = /*#__PURE__*/Object.freeze({
|
|
2347
2260
|
__proto__: null,
|
|
2348
2261
|
isMain: isMain$2,
|
|
2349
2262
|
isRecord: isMain$2,
|
|
@@ -2445,7 +2358,7 @@ var receipt = /*#__PURE__*/Object.freeze({
|
|
|
2445
2358
|
* ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
|
|
2446
2359
|
*
|
|
2447
2360
|
* This file is automatically generated by scripts/generate-exports.js
|
|
2448
|
-
* Generated: 2026-01-
|
|
2361
|
+
* Generated: 2026-01-21T07:15:37.790Z
|
|
2449
2362
|
*
|
|
2450
2363
|
* To regenerate this file, run:
|
|
2451
2364
|
* npm run gen-api
|
|
@@ -2470,11 +2383,11 @@ const LOCATION_NSID = "app.certified.location";
|
|
|
2470
2383
|
const STRONGREF_NSID = "com.atproto.repo.strongRef";
|
|
2471
2384
|
const ACTIVITY_NSID = "org.hypercerts.claim.activity";
|
|
2472
2385
|
const COLLECTION_NSID = "org.hypercerts.claim.collection";
|
|
2473
|
-
const
|
|
2386
|
+
const CONTRIBUTIONDETAILS_NSID = "org.hypercerts.claim.contributionDetails";
|
|
2387
|
+
const CONTRIBUTORINFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
|
|
2474
2388
|
const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
|
|
2475
2389
|
const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
|
|
2476
2390
|
const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
|
|
2477
|
-
const PROJECT_NSID = "org.hypercerts.claim.project";
|
|
2478
2391
|
const RIGHTS_NSID = "org.hypercerts.claim.rights";
|
|
2479
2392
|
const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
|
|
2480
2393
|
const FUNDING_RECEIPT_NSID = "org.hypercerts.funding.receipt";
|
|
@@ -2493,11 +2406,11 @@ const HYPERCERTS_NSIDS = {
|
|
|
2493
2406
|
STRONGREF: STRONGREF_NSID,
|
|
2494
2407
|
ACTIVITY: ACTIVITY_NSID,
|
|
2495
2408
|
COLLECTION: COLLECTION_NSID,
|
|
2496
|
-
|
|
2409
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_NSID,
|
|
2410
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_NSID,
|
|
2497
2411
|
EVALUATION: EVALUATION_NSID,
|
|
2498
2412
|
EVIDENCE: EVIDENCE_NSID,
|
|
2499
2413
|
MEASUREMENT: MEASUREMENT_NSID,
|
|
2500
|
-
PROJECT: PROJECT_NSID,
|
|
2501
2414
|
RIGHTS: RIGHTS_NSID,
|
|
2502
2415
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
|
|
2503
2416
|
FUNDING_RECEIPT: FUNDING_RECEIPT_NSID,
|
|
@@ -2514,11 +2427,11 @@ const HYPERCERTS_LEXICON_JSON = {
|
|
|
2514
2427
|
STRONGREF: STRONGREF_LEXICON_JSON,
|
|
2515
2428
|
ACTIVITY: ACTIVITY_LEXICON_JSON,
|
|
2516
2429
|
COLLECTION: COLLECTION_LEXICON_JSON,
|
|
2517
|
-
|
|
2430
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_LEXICON_JSON,
|
|
2431
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_LEXICON_JSON,
|
|
2518
2432
|
EVALUATION: EVALUATION_LEXICON_JSON,
|
|
2519
2433
|
EVIDENCE: EVIDENCE_LEXICON_JSON,
|
|
2520
2434
|
MEASUREMENT: MEASUREMENT_LEXICON_JSON,
|
|
2521
|
-
PROJECT: PROJECT_LEXICON_JSON,
|
|
2522
2435
|
RIGHTS: RIGHTS_LEXICON_JSON,
|
|
2523
2436
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
|
|
2524
2437
|
FUNDING_RECEIPT: FUNDING_RECEIPT_LEXICON_JSON,
|
|
@@ -2532,11 +2445,11 @@ const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
|
|
|
2532
2445
|
const STRONGREF_LEXICON_DOC = lexicons.get(STRONGREF_NSID);
|
|
2533
2446
|
const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
|
|
2534
2447
|
const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
|
|
2535
|
-
const
|
|
2448
|
+
const CONTRIBUTIONDETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTIONDETAILS_NSID);
|
|
2449
|
+
const CONTRIBUTORINFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTORINFORMATION_NSID);
|
|
2536
2450
|
const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
|
|
2537
2451
|
const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
|
|
2538
2452
|
const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
|
|
2539
|
-
const PROJECT_LEXICON_DOC = lexicons.get(PROJECT_NSID);
|
|
2540
2453
|
const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
|
|
2541
2454
|
const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
|
|
2542
2455
|
const FUNDING_RECEIPT_LEXICON_DOC = lexicons.get(FUNDING_RECEIPT_NSID);
|
|
@@ -2552,15 +2465,15 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2552
2465
|
STRONGREF: STRONGREF_LEXICON_DOC,
|
|
2553
2466
|
ACTIVITY: ACTIVITY_LEXICON_DOC,
|
|
2554
2467
|
COLLECTION: COLLECTION_LEXICON_DOC,
|
|
2555
|
-
|
|
2468
|
+
CONTRIBUTIONDETAILS: CONTRIBUTIONDETAILS_LEXICON_DOC,
|
|
2469
|
+
CONTRIBUTORINFORMATION: CONTRIBUTORINFORMATION_LEXICON_DOC,
|
|
2556
2470
|
EVALUATION: EVALUATION_LEXICON_DOC,
|
|
2557
2471
|
EVIDENCE: EVIDENCE_LEXICON_DOC,
|
|
2558
2472
|
MEASUREMENT: MEASUREMENT_LEXICON_DOC,
|
|
2559
|
-
PROJECT: PROJECT_LEXICON_DOC,
|
|
2560
2473
|
RIGHTS: RIGHTS_LEXICON_DOC,
|
|
2561
2474
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
|
|
2562
2475
|
FUNDING_RECEIPT: FUNDING_RECEIPT_LEXICON_DOC,
|
|
2563
2476
|
};
|
|
2564
2477
|
|
|
2565
|
-
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,
|
|
2478
|
+
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, CONTRIBUTIONDETAILS_LEXICON_DOC, CONTRIBUTIONDETAILS_LEXICON_JSON, CONTRIBUTIONDETAILS_NSID, CONTRIBUTORINFORMATION_LEXICON_DOC, CONTRIBUTORINFORMATION_LEXICON_JSON, CONTRIBUTORINFORMATION_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, RIGHTS_LEXICON_DOC, RIGHTS_LEXICON_JSON, RIGHTS_NSID, STRONGREF_LEXICON_DOC, STRONGREF_LEXICON_JSON, STRONGREF_NSID, asPredicate, is$typed$f as is$typed, lexicons, maybe$typed, validate$f as validate };
|
|
2566
2479
|
//# sourceMappingURL=index.mjs.map
|