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