@hypercerts-org/lexicon 0.10.0-beta.12 → 0.10.0-beta.14
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 +136 -0
- package/README.md +142 -0
- package/SCHEMAS.md +220 -67
- package/dist/exports.d.ts +195 -66
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +195 -66
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +378 -130
- package/dist/generated/lexicons.d.ts.map +1 -1
- package/dist/generated/types/app/certified/actor/profile.d.ts +27 -0
- package/dist/generated/types/app/certified/actor/profile.d.ts.map +1 -0
- package/dist/generated/types/app/certified/defs.d.ts +11 -1
- package/dist/generated/types/app/certified/defs.d.ts.map +1 -1
- package/dist/generated/types/app/certified/location.d.ts +9 -1
- package/dist/generated/types/app/certified/location.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts +21 -3
- package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/claim/attachment.d.ts +37 -0
- package/dist/generated/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
- package/dist/index.cjs +618 -270
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +606 -262
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +200 -68
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +378 -130
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +200 -68
- package/dist/lexicons.mjs.map +1 -1
- package/dist/types/app/certified/actor/profile.d.ts +27 -0
- package/dist/types/app/certified/actor/profile.d.ts.map +1 -0
- package/dist/types/app/certified/defs.d.ts +11 -1
- package/dist/types/app/certified/defs.d.ts.map +1 -1
- package/dist/types/app/certified/location.d.ts +9 -1
- package/dist/types/app/certified/location.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/activity.d.ts +21 -3
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/dist/types/org/hypercerts/claim/attachment.d.ts +37 -0
- package/dist/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
- package/lexicons/app/certified/actor/profile.json +51 -0
- package/lexicons/app/certified/defs.json +11 -3
- package/lexicons/app/certified/location.json +16 -2
- package/lexicons/org/hypercerts/claim/activity.json +31 -8
- package/lexicons/org/hypercerts/claim/attachment.json +86 -0
- package/package.json +1 -1
- package/dist/generated/types/org/hypercerts/claim/evidence.d.ts +0 -29
- package/dist/generated/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
- package/dist/types/org/hypercerts/claim/evidence.d.ts +0 -29
- package/dist/types/org/hypercerts/claim/evidence.d.ts.map +0 -1
- package/lexicons/org/hypercerts/claim/evidence.json +0 -57
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var lexicon$
|
|
3
|
+
var lexicon$i = require('@atproto/lexicon');
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED CODE - DO NOT MODIFY
|
|
@@ -18,7 +18,7 @@ function is$type($type, id, hash) {
|
|
|
18
18
|
$type.startsWith(id) &&
|
|
19
19
|
$type.endsWith(hash);
|
|
20
20
|
}
|
|
21
|
-
function is$typed$
|
|
21
|
+
function is$typed$i(v, id, hash) {
|
|
22
22
|
return isObject(v) && '$type' in v && is$type(v.$type, id, hash);
|
|
23
23
|
}
|
|
24
24
|
function maybe$typed(v, id, hash) {
|
|
@@ -39,6 +39,63 @@ function asPredicate(validate) {
|
|
|
39
39
|
* GENERATED CODE - DO NOT MODIFY
|
|
40
40
|
*/
|
|
41
41
|
const schemaDict = {
|
|
42
|
+
AppCertifiedActorProfile: {
|
|
43
|
+
lexicon: 1,
|
|
44
|
+
id: 'app.certified.actor.profile',
|
|
45
|
+
defs: {
|
|
46
|
+
main: {
|
|
47
|
+
type: 'record',
|
|
48
|
+
description: 'A declaration of a Hypercert account profile.',
|
|
49
|
+
key: 'literal:self',
|
|
50
|
+
record: {
|
|
51
|
+
type: 'object',
|
|
52
|
+
properties: {
|
|
53
|
+
displayName: {
|
|
54
|
+
type: 'string',
|
|
55
|
+
maxGraphemes: 64,
|
|
56
|
+
maxLength: 640,
|
|
57
|
+
},
|
|
58
|
+
description: {
|
|
59
|
+
type: 'string',
|
|
60
|
+
description: 'Free-form profile description text.',
|
|
61
|
+
maxGraphemes: 256,
|
|
62
|
+
maxLength: 2560,
|
|
63
|
+
},
|
|
64
|
+
pronouns: {
|
|
65
|
+
type: 'string',
|
|
66
|
+
description: 'Free-form pronouns text.',
|
|
67
|
+
maxGraphemes: 20,
|
|
68
|
+
maxLength: 200,
|
|
69
|
+
},
|
|
70
|
+
website: {
|
|
71
|
+
type: 'string',
|
|
72
|
+
format: 'uri',
|
|
73
|
+
},
|
|
74
|
+
avatar: {
|
|
75
|
+
type: 'union',
|
|
76
|
+
refs: [
|
|
77
|
+
'lex:org.hypercerts.defs#uri',
|
|
78
|
+
'lex:org.hypercerts.defs#smallImage',
|
|
79
|
+
],
|
|
80
|
+
description: "Small image to be displayed next to posts from account. AKA, 'profile picture'",
|
|
81
|
+
},
|
|
82
|
+
banner: {
|
|
83
|
+
type: 'union',
|
|
84
|
+
refs: [
|
|
85
|
+
'lex:org.hypercerts.defs#uri',
|
|
86
|
+
'lex:org.hypercerts.defs#largeImage',
|
|
87
|
+
],
|
|
88
|
+
description: 'Larger horizontal image to display behind profile view.',
|
|
89
|
+
},
|
|
90
|
+
createdAt: {
|
|
91
|
+
type: 'string',
|
|
92
|
+
format: 'datetime',
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
},
|
|
98
|
+
},
|
|
42
99
|
AppCertifiedBadgeAward: {
|
|
43
100
|
lexicon: 1,
|
|
44
101
|
id: 'app.certified.badge.award',
|
|
@@ -173,9 +230,17 @@ const schemaDict = {
|
|
|
173
230
|
description: 'Common type definitions used across certified protocols.',
|
|
174
231
|
defs: {
|
|
175
232
|
did: {
|
|
176
|
-
type: '
|
|
177
|
-
format: 'did',
|
|
233
|
+
type: 'object',
|
|
178
234
|
description: 'A Decentralized Identifier (DID) string.',
|
|
235
|
+
required: ['did'],
|
|
236
|
+
properties: {
|
|
237
|
+
did: {
|
|
238
|
+
type: 'string',
|
|
239
|
+
format: 'did',
|
|
240
|
+
description: 'The DID string value.',
|
|
241
|
+
maxLength: 256,
|
|
242
|
+
},
|
|
243
|
+
},
|
|
179
244
|
},
|
|
180
245
|
},
|
|
181
246
|
},
|
|
@@ -219,8 +284,9 @@ const schemaDict = {
|
|
|
219
284
|
refs: [
|
|
220
285
|
'lex:org.hypercerts.defs#uri',
|
|
221
286
|
'lex:org.hypercerts.defs#smallBlob',
|
|
287
|
+
'lex:app.certified.location#string',
|
|
222
288
|
],
|
|
223
|
-
description: 'The location of where the work was performed as a URI or
|
|
289
|
+
description: 'The location of where the work was performed as a URI, blob, or inline string.',
|
|
224
290
|
},
|
|
225
291
|
name: {
|
|
226
292
|
type: 'string',
|
|
@@ -242,6 +308,19 @@ const schemaDict = {
|
|
|
242
308
|
},
|
|
243
309
|
},
|
|
244
310
|
},
|
|
311
|
+
string: {
|
|
312
|
+
type: 'object',
|
|
313
|
+
required: ['string'],
|
|
314
|
+
description: 'A location represented as a string, e.g. coordinates or a small GeoJSON string.',
|
|
315
|
+
properties: {
|
|
316
|
+
string: {
|
|
317
|
+
type: 'string',
|
|
318
|
+
description: 'The location string value',
|
|
319
|
+
maxLength: 10000,
|
|
320
|
+
maxGraphemes: 1000,
|
|
321
|
+
},
|
|
322
|
+
},
|
|
323
|
+
},
|
|
245
324
|
},
|
|
246
325
|
},
|
|
247
326
|
ComAtprotoRepoStrongRef: {
|
|
@@ -392,20 +471,129 @@ const schemaDict = {
|
|
|
392
471
|
},
|
|
393
472
|
},
|
|
394
473
|
contributorIdentity: {
|
|
395
|
-
type: '
|
|
474
|
+
type: 'object',
|
|
396
475
|
description: 'Contributor information as a string (DID or identifier).',
|
|
476
|
+
required: ['identity'],
|
|
477
|
+
properties: {
|
|
478
|
+
identity: {
|
|
479
|
+
type: 'string',
|
|
480
|
+
description: 'The contributor identity string (DID or identifier).',
|
|
481
|
+
maxLength: 1000,
|
|
482
|
+
maxGraphemes: 100,
|
|
483
|
+
},
|
|
484
|
+
},
|
|
397
485
|
},
|
|
398
486
|
contributorRole: {
|
|
399
|
-
type: '
|
|
487
|
+
type: 'object',
|
|
400
488
|
description: 'Contribution details as a string.',
|
|
401
|
-
|
|
402
|
-
|
|
489
|
+
required: ['role'],
|
|
490
|
+
properties: {
|
|
491
|
+
role: {
|
|
492
|
+
type: 'string',
|
|
493
|
+
description: 'The contribution role or details.',
|
|
494
|
+
maxLength: 1000,
|
|
495
|
+
maxGraphemes: 100,
|
|
496
|
+
},
|
|
497
|
+
},
|
|
403
498
|
},
|
|
404
499
|
workScopeString: {
|
|
405
|
-
type: '
|
|
500
|
+
type: 'object',
|
|
406
501
|
description: 'A free-form string describing the work scope for simple or legacy scopes.',
|
|
407
|
-
|
|
408
|
-
|
|
502
|
+
required: ['scope'],
|
|
503
|
+
properties: {
|
|
504
|
+
scope: {
|
|
505
|
+
type: 'string',
|
|
506
|
+
description: 'The work scope description string.',
|
|
507
|
+
maxLength: 1000,
|
|
508
|
+
maxGraphemes: 100,
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
},
|
|
512
|
+
},
|
|
513
|
+
},
|
|
514
|
+
OrgHypercertsClaimAttachment: {
|
|
515
|
+
lexicon: 1,
|
|
516
|
+
id: 'org.hypercerts.claim.attachment',
|
|
517
|
+
defs: {
|
|
518
|
+
main: {
|
|
519
|
+
type: 'record',
|
|
520
|
+
description: 'An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).',
|
|
521
|
+
key: 'tid',
|
|
522
|
+
record: {
|
|
523
|
+
type: 'object',
|
|
524
|
+
required: ['title', 'content', 'createdAt'],
|
|
525
|
+
properties: {
|
|
526
|
+
subjects: {
|
|
527
|
+
type: 'array',
|
|
528
|
+
description: 'References to the subject(s) the attachment is connected to—this may be an activity claim, outcome claim, measurement, evaluation, or even another attachment. This is optional as the attachment can exist before the claim is recorded.',
|
|
529
|
+
items: {
|
|
530
|
+
type: 'ref',
|
|
531
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
532
|
+
},
|
|
533
|
+
maxLength: 100,
|
|
534
|
+
},
|
|
535
|
+
contentType: {
|
|
536
|
+
type: 'string',
|
|
537
|
+
maxLength: 64,
|
|
538
|
+
description: 'The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.',
|
|
539
|
+
},
|
|
540
|
+
content: {
|
|
541
|
+
type: 'array',
|
|
542
|
+
description: 'The files, documents, or external references included in this attachment record.',
|
|
543
|
+
items: {
|
|
544
|
+
type: 'union',
|
|
545
|
+
refs: [
|
|
546
|
+
'lex:org.hypercerts.defs#uri',
|
|
547
|
+
'lex:org.hypercerts.defs#smallBlob',
|
|
548
|
+
],
|
|
549
|
+
},
|
|
550
|
+
maxLength: 100,
|
|
551
|
+
},
|
|
552
|
+
title: {
|
|
553
|
+
type: 'string',
|
|
554
|
+
maxLength: 256,
|
|
555
|
+
description: 'Title of this attachment.',
|
|
556
|
+
},
|
|
557
|
+
shortDescription: {
|
|
558
|
+
type: 'string',
|
|
559
|
+
description: 'Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',
|
|
560
|
+
maxLength: 3000,
|
|
561
|
+
maxGraphemes: 300,
|
|
562
|
+
},
|
|
563
|
+
shortDescriptionFacets: {
|
|
564
|
+
type: 'array',
|
|
565
|
+
description: 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',
|
|
566
|
+
items: {
|
|
567
|
+
type: 'ref',
|
|
568
|
+
ref: 'lex:app.bsky.richtext.facet',
|
|
569
|
+
},
|
|
570
|
+
},
|
|
571
|
+
description: {
|
|
572
|
+
type: 'string',
|
|
573
|
+
description: 'Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',
|
|
574
|
+
maxLength: 30000,
|
|
575
|
+
maxGraphemes: 3000,
|
|
576
|
+
},
|
|
577
|
+
descriptionFacets: {
|
|
578
|
+
type: 'array',
|
|
579
|
+
description: 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',
|
|
580
|
+
items: {
|
|
581
|
+
type: 'ref',
|
|
582
|
+
ref: 'lex:app.bsky.richtext.facet',
|
|
583
|
+
},
|
|
584
|
+
},
|
|
585
|
+
location: {
|
|
586
|
+
type: 'ref',
|
|
587
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
588
|
+
description: "A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location.",
|
|
589
|
+
},
|
|
590
|
+
createdAt: {
|
|
591
|
+
type: 'string',
|
|
592
|
+
format: 'datetime',
|
|
593
|
+
description: 'Client-declared timestamp when this record was originally created.',
|
|
594
|
+
},
|
|
595
|
+
},
|
|
596
|
+
},
|
|
409
597
|
},
|
|
410
598
|
},
|
|
411
599
|
},
|
|
@@ -670,63 +858,6 @@ const schemaDict = {
|
|
|
670
858
|
},
|
|
671
859
|
},
|
|
672
860
|
},
|
|
673
|
-
OrgHypercertsClaimEvidence: {
|
|
674
|
-
lexicon: 1,
|
|
675
|
-
id: 'org.hypercerts.claim.evidence',
|
|
676
|
-
defs: {
|
|
677
|
-
main: {
|
|
678
|
-
type: 'record',
|
|
679
|
-
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.',
|
|
680
|
-
key: 'tid',
|
|
681
|
-
record: {
|
|
682
|
-
type: 'object',
|
|
683
|
-
required: ['content', 'title', 'createdAt'],
|
|
684
|
-
properties: {
|
|
685
|
-
subject: {
|
|
686
|
-
type: 'ref',
|
|
687
|
-
ref: 'lex:com.atproto.repo.strongRef',
|
|
688
|
-
description: 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',
|
|
689
|
-
},
|
|
690
|
-
content: {
|
|
691
|
-
type: 'union',
|
|
692
|
-
refs: [
|
|
693
|
-
'lex:org.hypercerts.defs#uri',
|
|
694
|
-
'lex:org.hypercerts.defs#smallBlob',
|
|
695
|
-
],
|
|
696
|
-
description: 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',
|
|
697
|
-
},
|
|
698
|
-
title: {
|
|
699
|
-
type: 'string',
|
|
700
|
-
maxLength: 256,
|
|
701
|
-
description: 'Title to describe the nature of the evidence.',
|
|
702
|
-
},
|
|
703
|
-
shortDescription: {
|
|
704
|
-
type: 'string',
|
|
705
|
-
maxLength: 3000,
|
|
706
|
-
maxGraphemes: 300,
|
|
707
|
-
description: 'Short description explaining what this evidence shows.',
|
|
708
|
-
},
|
|
709
|
-
description: {
|
|
710
|
-
type: 'string',
|
|
711
|
-
description: 'Longer description describing the evidence in more detail.',
|
|
712
|
-
maxLength: 30000,
|
|
713
|
-
maxGraphemes: 3000,
|
|
714
|
-
},
|
|
715
|
-
relationType: {
|
|
716
|
-
type: 'string',
|
|
717
|
-
description: 'How this evidence relates to the subject.',
|
|
718
|
-
knownValues: ['supports', 'challenges', 'clarifies'],
|
|
719
|
-
},
|
|
720
|
-
createdAt: {
|
|
721
|
-
type: 'string',
|
|
722
|
-
format: 'datetime',
|
|
723
|
-
description: 'Client-declared timestamp when this record was originally created',
|
|
724
|
-
},
|
|
725
|
-
},
|
|
726
|
-
},
|
|
727
|
-
},
|
|
728
|
-
},
|
|
729
|
-
},
|
|
730
861
|
OrgHypercertsClaimMeasurement: {
|
|
731
862
|
lexicon: 1,
|
|
732
863
|
id: 'org.hypercerts.claim.measurement',
|
|
@@ -1083,16 +1214,17 @@ const schemaDict = {
|
|
|
1083
1214
|
},
|
|
1084
1215
|
};
|
|
1085
1216
|
const schemas = Object.values(schemaDict);
|
|
1086
|
-
const lexicons = new lexicon$
|
|
1087
|
-
function validate$
|
|
1088
|
-
return (requiredType ? is$typed$
|
|
1217
|
+
const lexicons = new lexicon$i.Lexicons(schemas);
|
|
1218
|
+
function validate$i(v, id, hash, requiredType) {
|
|
1219
|
+
return (requiredType ? is$typed$i : maybe$typed)(v, id, hash)
|
|
1089
1220
|
? lexicons.validate(`${id}#${hash}`, v)
|
|
1090
1221
|
: {
|
|
1091
1222
|
success: false,
|
|
1092
|
-
error: new lexicon$
|
|
1223
|
+
error: new lexicon$i.ValidationError(`Must be an object with "${hash === 'main' ? id : `${id}#${hash}`}" $type property`),
|
|
1093
1224
|
};
|
|
1094
1225
|
}
|
|
1095
1226
|
const ids = {
|
|
1227
|
+
AppCertifiedActorProfile: 'app.certified.actor.profile',
|
|
1096
1228
|
AppCertifiedBadgeAward: 'app.certified.badge.award',
|
|
1097
1229
|
AppCertifiedBadgeDefinition: 'app.certified.badge.definition',
|
|
1098
1230
|
AppCertifiedBadgeResponse: 'app.certified.badge.response',
|
|
@@ -1100,11 +1232,11 @@ const ids = {
|
|
|
1100
1232
|
AppCertifiedLocation: 'app.certified.location',
|
|
1101
1233
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
1102
1234
|
OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
|
|
1235
|
+
OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
|
|
1103
1236
|
OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
|
|
1104
1237
|
OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
|
|
1105
1238
|
OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
|
|
1106
1239
|
OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
|
|
1107
|
-
OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
|
|
1108
1240
|
OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
|
|
1109
1241
|
OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
|
|
1110
1242
|
OrgHypercertsDefs: 'org.hypercerts.defs',
|
|
@@ -1112,8 +1244,69 @@ const ids = {
|
|
|
1112
1244
|
OrgHypercertsHelperWorkScopeTag: 'org.hypercerts.helper.workScopeTag',
|
|
1113
1245
|
};
|
|
1114
1246
|
|
|
1247
|
+
var lexicon$h = 1;
|
|
1248
|
+
var id$z = "app.certified.actor.profile";
|
|
1249
|
+
var defs$j = {
|
|
1250
|
+
main: {
|
|
1251
|
+
type: "record",
|
|
1252
|
+
description: "A declaration of a Hypercert account profile.",
|
|
1253
|
+
key: "literal:self",
|
|
1254
|
+
record: {
|
|
1255
|
+
type: "object",
|
|
1256
|
+
properties: {
|
|
1257
|
+
displayName: {
|
|
1258
|
+
type: "string",
|
|
1259
|
+
maxGraphemes: 64,
|
|
1260
|
+
maxLength: 640
|
|
1261
|
+
},
|
|
1262
|
+
description: {
|
|
1263
|
+
type: "string",
|
|
1264
|
+
description: "Free-form profile description text.",
|
|
1265
|
+
maxGraphemes: 256,
|
|
1266
|
+
maxLength: 2560
|
|
1267
|
+
},
|
|
1268
|
+
pronouns: {
|
|
1269
|
+
type: "string",
|
|
1270
|
+
description: "Free-form pronouns text.",
|
|
1271
|
+
maxGraphemes: 20,
|
|
1272
|
+
maxLength: 200
|
|
1273
|
+
},
|
|
1274
|
+
website: {
|
|
1275
|
+
type: "string",
|
|
1276
|
+
format: "uri"
|
|
1277
|
+
},
|
|
1278
|
+
avatar: {
|
|
1279
|
+
type: "union",
|
|
1280
|
+
refs: [
|
|
1281
|
+
"org.hypercerts.defs#uri",
|
|
1282
|
+
"org.hypercerts.defs#smallImage"
|
|
1283
|
+
],
|
|
1284
|
+
description: "Small image to be displayed next to posts from account. AKA, 'profile picture'"
|
|
1285
|
+
},
|
|
1286
|
+
banner: {
|
|
1287
|
+
type: "union",
|
|
1288
|
+
refs: [
|
|
1289
|
+
"org.hypercerts.defs#uri",
|
|
1290
|
+
"org.hypercerts.defs#largeImage"
|
|
1291
|
+
],
|
|
1292
|
+
description: "Larger horizontal image to display behind profile view."
|
|
1293
|
+
},
|
|
1294
|
+
createdAt: {
|
|
1295
|
+
type: "string",
|
|
1296
|
+
format: "datetime"
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
};
|
|
1302
|
+
var ACTOR_PROFILE_LEXICON_JSON = {
|
|
1303
|
+
lexicon: lexicon$h,
|
|
1304
|
+
id: id$z,
|
|
1305
|
+
defs: defs$j
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1115
1308
|
var lexicon$g = 1;
|
|
1116
|
-
var id$
|
|
1309
|
+
var id$y = "app.certified.badge.award";
|
|
1117
1310
|
var defs$i = {
|
|
1118
1311
|
main: {
|
|
1119
1312
|
type: "record",
|
|
@@ -1155,12 +1348,12 @@ var defs$i = {
|
|
|
1155
1348
|
};
|
|
1156
1349
|
var BADGE_AWARD_LEXICON_JSON = {
|
|
1157
1350
|
lexicon: lexicon$g,
|
|
1158
|
-
id: id$
|
|
1351
|
+
id: id$y,
|
|
1159
1352
|
defs: defs$i
|
|
1160
1353
|
};
|
|
1161
1354
|
|
|
1162
1355
|
var lexicon$f = 1;
|
|
1163
|
-
var id$
|
|
1356
|
+
var id$x = "app.certified.badge.definition";
|
|
1164
1357
|
var defs$h = {
|
|
1165
1358
|
main: {
|
|
1166
1359
|
type: "record",
|
|
@@ -1217,12 +1410,12 @@ var defs$h = {
|
|
|
1217
1410
|
};
|
|
1218
1411
|
var BADGE_DEFINITION_LEXICON_JSON = {
|
|
1219
1412
|
lexicon: lexicon$f,
|
|
1220
|
-
id: id$
|
|
1413
|
+
id: id$x,
|
|
1221
1414
|
defs: defs$h
|
|
1222
1415
|
};
|
|
1223
1416
|
|
|
1224
1417
|
var lexicon$e = 1;
|
|
1225
|
-
var id$
|
|
1418
|
+
var id$w = "app.certified.badge.response";
|
|
1226
1419
|
var defs$g = {
|
|
1227
1420
|
main: {
|
|
1228
1421
|
type: "record",
|
|
@@ -1264,29 +1457,39 @@ var defs$g = {
|
|
|
1264
1457
|
};
|
|
1265
1458
|
var BADGE_RESPONSE_LEXICON_JSON = {
|
|
1266
1459
|
lexicon: lexicon$e,
|
|
1267
|
-
id: id$
|
|
1460
|
+
id: id$w,
|
|
1268
1461
|
defs: defs$g
|
|
1269
1462
|
};
|
|
1270
1463
|
|
|
1271
1464
|
var lexicon$d = 1;
|
|
1272
|
-
var id$
|
|
1465
|
+
var id$v = "app.certified.defs";
|
|
1273
1466
|
var description$1 = "Common type definitions used across certified protocols.";
|
|
1274
1467
|
var defs$f = {
|
|
1275
1468
|
did: {
|
|
1276
|
-
type: "
|
|
1277
|
-
|
|
1278
|
-
|
|
1469
|
+
type: "object",
|
|
1470
|
+
description: "A Decentralized Identifier (DID) string.",
|
|
1471
|
+
required: [
|
|
1472
|
+
"did"
|
|
1473
|
+
],
|
|
1474
|
+
properties: {
|
|
1475
|
+
did: {
|
|
1476
|
+
type: "string",
|
|
1477
|
+
format: "did",
|
|
1478
|
+
description: "The DID string value.",
|
|
1479
|
+
maxLength: 256
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1279
1482
|
}
|
|
1280
1483
|
};
|
|
1281
1484
|
var CERTIFIED_DEFS_LEXICON_JSON = {
|
|
1282
1485
|
lexicon: lexicon$d,
|
|
1283
|
-
id: id$
|
|
1486
|
+
id: id$v,
|
|
1284
1487
|
description: description$1,
|
|
1285
1488
|
defs: defs$f
|
|
1286
1489
|
};
|
|
1287
1490
|
|
|
1288
1491
|
var lexicon$c = 1;
|
|
1289
|
-
var id$
|
|
1492
|
+
var id$u = "app.certified.location";
|
|
1290
1493
|
var defs$e = {
|
|
1291
1494
|
main: {
|
|
1292
1495
|
type: "record",
|
|
@@ -1326,9 +1529,10 @@ var defs$e = {
|
|
|
1326
1529
|
type: "union",
|
|
1327
1530
|
refs: [
|
|
1328
1531
|
"org.hypercerts.defs#uri",
|
|
1329
|
-
"org.hypercerts.defs#smallBlob"
|
|
1532
|
+
"org.hypercerts.defs#smallBlob",
|
|
1533
|
+
"#string"
|
|
1330
1534
|
],
|
|
1331
|
-
description: "The location of where the work was performed as a URI or
|
|
1535
|
+
description: "The location of where the work was performed as a URI, blob, or inline string."
|
|
1332
1536
|
},
|
|
1333
1537
|
name: {
|
|
1334
1538
|
type: "string",
|
|
@@ -1349,16 +1553,31 @@ var defs$e = {
|
|
|
1349
1553
|
}
|
|
1350
1554
|
}
|
|
1351
1555
|
}
|
|
1556
|
+
},
|
|
1557
|
+
string: {
|
|
1558
|
+
type: "object",
|
|
1559
|
+
required: [
|
|
1560
|
+
"string"
|
|
1561
|
+
],
|
|
1562
|
+
description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.",
|
|
1563
|
+
properties: {
|
|
1564
|
+
string: {
|
|
1565
|
+
type: "string",
|
|
1566
|
+
description: "The location string value",
|
|
1567
|
+
maxLength: 10000,
|
|
1568
|
+
maxGraphemes: 1000
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1352
1571
|
}
|
|
1353
1572
|
};
|
|
1354
1573
|
var LOCATION_LEXICON_JSON = {
|
|
1355
1574
|
lexicon: lexicon$c,
|
|
1356
|
-
id: id$
|
|
1575
|
+
id: id$u,
|
|
1357
1576
|
defs: defs$e
|
|
1358
1577
|
};
|
|
1359
1578
|
|
|
1360
1579
|
var lexicon$b = 1;
|
|
1361
|
-
var id$
|
|
1580
|
+
var id$t = "com.atproto.repo.strongRef";
|
|
1362
1581
|
var description = "A URI with a content-hash fingerprint.";
|
|
1363
1582
|
var defs$d = {
|
|
1364
1583
|
main: {
|
|
@@ -1381,13 +1600,13 @@ var defs$d = {
|
|
|
1381
1600
|
};
|
|
1382
1601
|
var STRONG_REF_LEXICON_JSON = {
|
|
1383
1602
|
lexicon: lexicon$b,
|
|
1384
|
-
id: id$
|
|
1603
|
+
id: id$t,
|
|
1385
1604
|
description: description,
|
|
1386
1605
|
defs: defs$d
|
|
1387
1606
|
};
|
|
1388
1607
|
|
|
1389
1608
|
var lexicon$a = 1;
|
|
1390
|
-
var id$
|
|
1609
|
+
var id$s = "org.hypercerts.claim.activity";
|
|
1391
1610
|
var defs$c = {
|
|
1392
1611
|
main: {
|
|
1393
1612
|
type: "record",
|
|
@@ -1518,31 +1737,154 @@ var defs$c = {
|
|
|
1518
1737
|
}
|
|
1519
1738
|
},
|
|
1520
1739
|
contributorIdentity: {
|
|
1521
|
-
type: "
|
|
1522
|
-
description: "Contributor information as a string (DID or identifier)."
|
|
1740
|
+
type: "object",
|
|
1741
|
+
description: "Contributor information as a string (DID or identifier).",
|
|
1742
|
+
required: [
|
|
1743
|
+
"identity"
|
|
1744
|
+
],
|
|
1745
|
+
properties: {
|
|
1746
|
+
identity: {
|
|
1747
|
+
type: "string",
|
|
1748
|
+
description: "The contributor identity string (DID or identifier).",
|
|
1749
|
+
maxLength: 1000,
|
|
1750
|
+
maxGraphemes: 100
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1523
1753
|
},
|
|
1524
1754
|
contributorRole: {
|
|
1525
|
-
type: "
|
|
1755
|
+
type: "object",
|
|
1526
1756
|
description: "Contribution details as a string.",
|
|
1527
|
-
|
|
1528
|
-
|
|
1757
|
+
required: [
|
|
1758
|
+
"role"
|
|
1759
|
+
],
|
|
1760
|
+
properties: {
|
|
1761
|
+
role: {
|
|
1762
|
+
type: "string",
|
|
1763
|
+
description: "The contribution role or details.",
|
|
1764
|
+
maxLength: 1000,
|
|
1765
|
+
maxGraphemes: 100
|
|
1766
|
+
}
|
|
1767
|
+
}
|
|
1529
1768
|
},
|
|
1530
1769
|
workScopeString: {
|
|
1531
|
-
type: "
|
|
1770
|
+
type: "object",
|
|
1532
1771
|
description: "A free-form string describing the work scope for simple or legacy scopes.",
|
|
1533
|
-
|
|
1534
|
-
|
|
1772
|
+
required: [
|
|
1773
|
+
"scope"
|
|
1774
|
+
],
|
|
1775
|
+
properties: {
|
|
1776
|
+
scope: {
|
|
1777
|
+
type: "string",
|
|
1778
|
+
description: "The work scope description string.",
|
|
1779
|
+
maxLength: 1000,
|
|
1780
|
+
maxGraphemes: 100
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1535
1783
|
}
|
|
1536
1784
|
};
|
|
1537
1785
|
var ACTIVITY_LEXICON_JSON = {
|
|
1538
1786
|
lexicon: lexicon$a,
|
|
1539
|
-
id: id$
|
|
1787
|
+
id: id$s,
|
|
1540
1788
|
defs: defs$c
|
|
1541
1789
|
};
|
|
1542
1790
|
|
|
1543
1791
|
var lexicon$9 = 1;
|
|
1544
|
-
var id$
|
|
1792
|
+
var id$r = "org.hypercerts.claim.attachment";
|
|
1545
1793
|
var defs$b = {
|
|
1794
|
+
main: {
|
|
1795
|
+
type: "record",
|
|
1796
|
+
description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).",
|
|
1797
|
+
key: "tid",
|
|
1798
|
+
record: {
|
|
1799
|
+
type: "object",
|
|
1800
|
+
required: [
|
|
1801
|
+
"title",
|
|
1802
|
+
"content",
|
|
1803
|
+
"createdAt"
|
|
1804
|
+
],
|
|
1805
|
+
properties: {
|
|
1806
|
+
subjects: {
|
|
1807
|
+
type: "array",
|
|
1808
|
+
description: "References to the subject(s) the attachment is connected to—this may be an activity claim, outcome claim, measurement, evaluation, or even another attachment. This is optional as the attachment can exist before the claim is recorded.",
|
|
1809
|
+
items: {
|
|
1810
|
+
type: "ref",
|
|
1811
|
+
ref: "com.atproto.repo.strongRef"
|
|
1812
|
+
},
|
|
1813
|
+
maxLength: 100
|
|
1814
|
+
},
|
|
1815
|
+
contentType: {
|
|
1816
|
+
type: "string",
|
|
1817
|
+
maxLength: 64,
|
|
1818
|
+
description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc."
|
|
1819
|
+
},
|
|
1820
|
+
content: {
|
|
1821
|
+
type: "array",
|
|
1822
|
+
description: "The files, documents, or external references included in this attachment record.",
|
|
1823
|
+
items: {
|
|
1824
|
+
type: "union",
|
|
1825
|
+
refs: [
|
|
1826
|
+
"org.hypercerts.defs#uri",
|
|
1827
|
+
"org.hypercerts.defs#smallBlob"
|
|
1828
|
+
]
|
|
1829
|
+
},
|
|
1830
|
+
maxLength: 100
|
|
1831
|
+
},
|
|
1832
|
+
title: {
|
|
1833
|
+
type: "string",
|
|
1834
|
+
maxLength: 256,
|
|
1835
|
+
description: "Title of this attachment."
|
|
1836
|
+
},
|
|
1837
|
+
shortDescription: {
|
|
1838
|
+
type: "string",
|
|
1839
|
+
description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
|
|
1840
|
+
maxLength: 3000,
|
|
1841
|
+
maxGraphemes: 300
|
|
1842
|
+
},
|
|
1843
|
+
shortDescriptionFacets: {
|
|
1844
|
+
type: "array",
|
|
1845
|
+
description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
|
|
1846
|
+
items: {
|
|
1847
|
+
type: "ref",
|
|
1848
|
+
ref: "app.bsky.richtext.facet"
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
description: {
|
|
1852
|
+
type: "string",
|
|
1853
|
+
description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.",
|
|
1854
|
+
maxLength: 30000,
|
|
1855
|
+
maxGraphemes: 3000
|
|
1856
|
+
},
|
|
1857
|
+
descriptionFacets: {
|
|
1858
|
+
type: "array",
|
|
1859
|
+
description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).",
|
|
1860
|
+
items: {
|
|
1861
|
+
type: "ref",
|
|
1862
|
+
ref: "app.bsky.richtext.facet"
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
location: {
|
|
1866
|
+
type: "ref",
|
|
1867
|
+
ref: "com.atproto.repo.strongRef",
|
|
1868
|
+
description: "A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location."
|
|
1869
|
+
},
|
|
1870
|
+
createdAt: {
|
|
1871
|
+
type: "string",
|
|
1872
|
+
format: "datetime",
|
|
1873
|
+
description: "Client-declared timestamp when this record was originally created."
|
|
1874
|
+
}
|
|
1875
|
+
}
|
|
1876
|
+
}
|
|
1877
|
+
}
|
|
1878
|
+
};
|
|
1879
|
+
var ATTACHMENT_LEXICON_JSON = {
|
|
1880
|
+
lexicon: lexicon$9,
|
|
1881
|
+
id: id$r,
|
|
1882
|
+
defs: defs$b
|
|
1883
|
+
};
|
|
1884
|
+
|
|
1885
|
+
var lexicon$8 = 1;
|
|
1886
|
+
var id$q = "org.hypercerts.claim.collection";
|
|
1887
|
+
var defs$a = {
|
|
1546
1888
|
main: {
|
|
1547
1889
|
type: "record",
|
|
1548
1890
|
description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
|
|
@@ -1632,14 +1974,14 @@ var defs$b = {
|
|
|
1632
1974
|
}
|
|
1633
1975
|
};
|
|
1634
1976
|
var COLLECTION_LEXICON_JSON = {
|
|
1635
|
-
lexicon: lexicon$
|
|
1636
|
-
id: id$
|
|
1637
|
-
defs: defs$
|
|
1977
|
+
lexicon: lexicon$8,
|
|
1978
|
+
id: id$q,
|
|
1979
|
+
defs: defs$a
|
|
1638
1980
|
};
|
|
1639
1981
|
|
|
1640
|
-
var lexicon$
|
|
1641
|
-
var id$
|
|
1642
|
-
var defs$
|
|
1982
|
+
var lexicon$7 = 1;
|
|
1983
|
+
var id$p = "org.hypercerts.claim.contributionDetails";
|
|
1984
|
+
var defs$9 = {
|
|
1643
1985
|
main: {
|
|
1644
1986
|
type: "record",
|
|
1645
1987
|
description: "Details about a specific contribution including role, description, and timeframe.",
|
|
@@ -1681,14 +2023,14 @@ var defs$a = {
|
|
|
1681
2023
|
}
|
|
1682
2024
|
};
|
|
1683
2025
|
var CONTRIBUTION_DETAILS_LEXICON_JSON = {
|
|
1684
|
-
lexicon: lexicon$
|
|
1685
|
-
id: id$
|
|
1686
|
-
defs: defs$
|
|
2026
|
+
lexicon: lexicon$7,
|
|
2027
|
+
id: id$p,
|
|
2028
|
+
defs: defs$9
|
|
1687
2029
|
};
|
|
1688
2030
|
|
|
1689
|
-
var lexicon$
|
|
1690
|
-
var id$
|
|
1691
|
-
var defs$
|
|
2031
|
+
var lexicon$6 = 1;
|
|
2032
|
+
var id$o = "org.hypercerts.claim.contributorInformation";
|
|
2033
|
+
var defs$8 = {
|
|
1692
2034
|
main: {
|
|
1693
2035
|
type: "record",
|
|
1694
2036
|
description: "Contributor information including identifier, display name, and image.",
|
|
@@ -1726,14 +2068,14 @@ var defs$9 = {
|
|
|
1726
2068
|
}
|
|
1727
2069
|
};
|
|
1728
2070
|
var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
|
|
1729
|
-
lexicon: lexicon$
|
|
1730
|
-
id: id$
|
|
1731
|
-
defs: defs$
|
|
2071
|
+
lexicon: lexicon$6,
|
|
2072
|
+
id: id$o,
|
|
2073
|
+
defs: defs$8
|
|
1732
2074
|
};
|
|
1733
2075
|
|
|
1734
|
-
var lexicon$
|
|
1735
|
-
var id$
|
|
1736
|
-
var defs$
|
|
2076
|
+
var lexicon$5 = 1;
|
|
2077
|
+
var id$n = "org.hypercerts.claim.evaluation";
|
|
2078
|
+
var defs$7 = {
|
|
1737
2079
|
score: {
|
|
1738
2080
|
type: "object",
|
|
1739
2081
|
description: "Overall score for an evaluation on a numeric scale.",
|
|
@@ -1830,82 +2172,13 @@ var defs$8 = {
|
|
|
1830
2172
|
}
|
|
1831
2173
|
};
|
|
1832
2174
|
var EVALUATION_LEXICON_JSON = {
|
|
1833
|
-
lexicon: lexicon$6,
|
|
1834
|
-
id: id$m,
|
|
1835
|
-
defs: defs$8
|
|
1836
|
-
};
|
|
1837
|
-
|
|
1838
|
-
var lexicon$5 = 1;
|
|
1839
|
-
var id$l = "org.hypercerts.claim.evidence";
|
|
1840
|
-
var defs$7 = {
|
|
1841
|
-
main: {
|
|
1842
|
-
type: "record",
|
|
1843
|
-
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.",
|
|
1844
|
-
key: "tid",
|
|
1845
|
-
record: {
|
|
1846
|
-
type: "object",
|
|
1847
|
-
required: [
|
|
1848
|
-
"content",
|
|
1849
|
-
"title",
|
|
1850
|
-
"createdAt"
|
|
1851
|
-
],
|
|
1852
|
-
properties: {
|
|
1853
|
-
subject: {
|
|
1854
|
-
type: "ref",
|
|
1855
|
-
ref: "com.atproto.repo.strongRef",
|
|
1856
|
-
description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation)."
|
|
1857
|
-
},
|
|
1858
|
-
content: {
|
|
1859
|
-
type: "union",
|
|
1860
|
-
refs: [
|
|
1861
|
-
"org.hypercerts.defs#uri",
|
|
1862
|
-
"org.hypercerts.defs#smallBlob"
|
|
1863
|
-
],
|
|
1864
|
-
description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim."
|
|
1865
|
-
},
|
|
1866
|
-
title: {
|
|
1867
|
-
type: "string",
|
|
1868
|
-
maxLength: 256,
|
|
1869
|
-
description: "Title to describe the nature of the evidence."
|
|
1870
|
-
},
|
|
1871
|
-
shortDescription: {
|
|
1872
|
-
type: "string",
|
|
1873
|
-
maxLength: 3000,
|
|
1874
|
-
maxGraphemes: 300,
|
|
1875
|
-
description: "Short description explaining what this evidence shows."
|
|
1876
|
-
},
|
|
1877
|
-
description: {
|
|
1878
|
-
type: "string",
|
|
1879
|
-
description: "Longer description describing the evidence in more detail.",
|
|
1880
|
-
maxLength: 30000,
|
|
1881
|
-
maxGraphemes: 3000
|
|
1882
|
-
},
|
|
1883
|
-
relationType: {
|
|
1884
|
-
type: "string",
|
|
1885
|
-
description: "How this evidence relates to the subject.",
|
|
1886
|
-
knownValues: [
|
|
1887
|
-
"supports",
|
|
1888
|
-
"challenges",
|
|
1889
|
-
"clarifies"
|
|
1890
|
-
]
|
|
1891
|
-
},
|
|
1892
|
-
createdAt: {
|
|
1893
|
-
type: "string",
|
|
1894
|
-
format: "datetime",
|
|
1895
|
-
description: "Client-declared timestamp when this record was originally created"
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
};
|
|
1901
|
-
var EVIDENCE_LEXICON_JSON = {
|
|
1902
2175
|
lexicon: lexicon$5,
|
|
1903
|
-
id: id$
|
|
2176
|
+
id: id$n,
|
|
1904
2177
|
defs: defs$7
|
|
1905
2178
|
};
|
|
1906
2179
|
|
|
1907
2180
|
var lexicon$4 = 1;
|
|
1908
|
-
var id$
|
|
2181
|
+
var id$m = "org.hypercerts.claim.measurement";
|
|
1909
2182
|
var defs$6 = {
|
|
1910
2183
|
main: {
|
|
1911
2184
|
type: "record",
|
|
@@ -2012,12 +2285,12 @@ var defs$6 = {
|
|
|
2012
2285
|
};
|
|
2013
2286
|
var MEASUREMENT_LEXICON_JSON = {
|
|
2014
2287
|
lexicon: lexicon$4,
|
|
2015
|
-
id: id$
|
|
2288
|
+
id: id$m,
|
|
2016
2289
|
defs: defs$6
|
|
2017
2290
|
};
|
|
2018
2291
|
|
|
2019
2292
|
var lexicon$3 = 1;
|
|
2020
|
-
var id$
|
|
2293
|
+
var id$l = "org.hypercerts.claim.rights";
|
|
2021
2294
|
var defs$5 = {
|
|
2022
2295
|
main: {
|
|
2023
2296
|
type: "record",
|
|
@@ -2065,12 +2338,12 @@ var defs$5 = {
|
|
|
2065
2338
|
};
|
|
2066
2339
|
var RIGHTS_LEXICON_JSON = {
|
|
2067
2340
|
lexicon: lexicon$3,
|
|
2068
|
-
id: id$
|
|
2341
|
+
id: id$l,
|
|
2069
2342
|
defs: defs$5
|
|
2070
2343
|
};
|
|
2071
2344
|
|
|
2072
2345
|
var lexicon$2 = 1;
|
|
2073
|
-
var id$
|
|
2346
|
+
var id$k = "org.hypercerts.defs";
|
|
2074
2347
|
var defs$4 = {
|
|
2075
2348
|
uri: {
|
|
2076
2349
|
type: "object",
|
|
@@ -2164,12 +2437,12 @@ var defs$4 = {
|
|
|
2164
2437
|
};
|
|
2165
2438
|
var HYPERCERTS_DEFS_LEXICON_JSON = {
|
|
2166
2439
|
lexicon: lexicon$2,
|
|
2167
|
-
id: id$
|
|
2440
|
+
id: id$k,
|
|
2168
2441
|
defs: defs$4
|
|
2169
2442
|
};
|
|
2170
2443
|
|
|
2171
2444
|
var lexicon$1 = 1;
|
|
2172
|
-
var id$
|
|
2445
|
+
var id$j = "org.hypercerts.funding.receipt";
|
|
2173
2446
|
var defs$3 = {
|
|
2174
2447
|
main: {
|
|
2175
2448
|
type: "record",
|
|
@@ -2240,12 +2513,12 @@ var defs$3 = {
|
|
|
2240
2513
|
};
|
|
2241
2514
|
var FUNDING_RECEIPT_LEXICON_JSON = {
|
|
2242
2515
|
lexicon: lexicon$1,
|
|
2243
|
-
id: id$
|
|
2516
|
+
id: id$j,
|
|
2244
2517
|
defs: defs$3
|
|
2245
2518
|
};
|
|
2246
2519
|
|
|
2247
2520
|
var lexicon = 1;
|
|
2248
|
-
var id$
|
|
2521
|
+
var id$i = "org.hypercerts.helper.workScopeTag";
|
|
2249
2522
|
var defs$2 = {
|
|
2250
2523
|
main: {
|
|
2251
2524
|
type: "record",
|
|
@@ -2313,18 +2586,36 @@ var defs$2 = {
|
|
|
2313
2586
|
};
|
|
2314
2587
|
var WORK_SCOPE_TAG_LEXICON_JSON = {
|
|
2315
2588
|
lexicon: lexicon,
|
|
2316
|
-
id: id$
|
|
2589
|
+
id: id$i,
|
|
2317
2590
|
defs: defs$2
|
|
2318
2591
|
};
|
|
2319
2592
|
|
|
2320
|
-
const is$typed$
|
|
2321
|
-
const id$
|
|
2593
|
+
const is$typed$h = is$typed$i, validate$h = validate$i;
|
|
2594
|
+
const id$h = 'app.certified.actor.profile';
|
|
2595
|
+
const hashMain$f = 'main';
|
|
2596
|
+
function isMain$f(v) {
|
|
2597
|
+
return is$typed$h(v, id$h, hashMain$f);
|
|
2598
|
+
}
|
|
2599
|
+
function validateMain$f(v) {
|
|
2600
|
+
return validate$h(v, id$h, hashMain$f, true);
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
var profile = /*#__PURE__*/Object.freeze({
|
|
2604
|
+
__proto__: null,
|
|
2605
|
+
isMain: isMain$f,
|
|
2606
|
+
isRecord: isMain$f,
|
|
2607
|
+
validateMain: validateMain$f,
|
|
2608
|
+
validateRecord: validateMain$f
|
|
2609
|
+
});
|
|
2610
|
+
|
|
2611
|
+
const is$typed$g = is$typed$i, validate$g = validate$i;
|
|
2612
|
+
const id$g = 'app.certified.badge.award';
|
|
2322
2613
|
const hashMain$e = 'main';
|
|
2323
2614
|
function isMain$e(v) {
|
|
2324
|
-
return is$typed$
|
|
2615
|
+
return is$typed$g(v, id$g, hashMain$e);
|
|
2325
2616
|
}
|
|
2326
2617
|
function validateMain$e(v) {
|
|
2327
|
-
return validate$
|
|
2618
|
+
return validate$g(v, id$g, hashMain$e, true);
|
|
2328
2619
|
}
|
|
2329
2620
|
|
|
2330
2621
|
var award = /*#__PURE__*/Object.freeze({
|
|
@@ -2335,14 +2626,14 @@ var award = /*#__PURE__*/Object.freeze({
|
|
|
2335
2626
|
validateRecord: validateMain$e
|
|
2336
2627
|
});
|
|
2337
2628
|
|
|
2338
|
-
const is$typed$
|
|
2339
|
-
const id$
|
|
2629
|
+
const is$typed$f = is$typed$i, validate$f = validate$i;
|
|
2630
|
+
const id$f = 'app.certified.badge.definition';
|
|
2340
2631
|
const hashMain$d = 'main';
|
|
2341
2632
|
function isMain$d(v) {
|
|
2342
|
-
return is$typed$
|
|
2633
|
+
return is$typed$f(v, id$f, hashMain$d);
|
|
2343
2634
|
}
|
|
2344
2635
|
function validateMain$d(v) {
|
|
2345
|
-
return validate$
|
|
2636
|
+
return validate$f(v, id$f, hashMain$d, true);
|
|
2346
2637
|
}
|
|
2347
2638
|
|
|
2348
2639
|
var definition = /*#__PURE__*/Object.freeze({
|
|
@@ -2353,14 +2644,14 @@ var definition = /*#__PURE__*/Object.freeze({
|
|
|
2353
2644
|
validateRecord: validateMain$d
|
|
2354
2645
|
});
|
|
2355
2646
|
|
|
2356
|
-
const is$typed$
|
|
2357
|
-
const id$
|
|
2647
|
+
const is$typed$e = is$typed$i, validate$e = validate$i;
|
|
2648
|
+
const id$e = 'app.certified.badge.response';
|
|
2358
2649
|
const hashMain$c = 'main';
|
|
2359
2650
|
function isMain$c(v) {
|
|
2360
|
-
return is$typed$
|
|
2651
|
+
return is$typed$e(v, id$e, hashMain$c);
|
|
2361
2652
|
}
|
|
2362
2653
|
function validateMain$c(v) {
|
|
2363
|
-
return validate$
|
|
2654
|
+
return validate$e(v, id$e, hashMain$c, true);
|
|
2364
2655
|
}
|
|
2365
2656
|
|
|
2366
2657
|
var response = /*#__PURE__*/Object.freeze({
|
|
@@ -2371,11 +2662,23 @@ var response = /*#__PURE__*/Object.freeze({
|
|
|
2371
2662
|
validateRecord: validateMain$c
|
|
2372
2663
|
});
|
|
2373
2664
|
|
|
2665
|
+
const is$typed$d = is$typed$i, validate$d = validate$i;
|
|
2666
|
+
const id$d = 'app.certified.defs';
|
|
2667
|
+
const hashDid = 'did';
|
|
2668
|
+
function isDid(v) {
|
|
2669
|
+
return is$typed$d(v, id$d, hashDid);
|
|
2670
|
+
}
|
|
2671
|
+
function validateDid(v) {
|
|
2672
|
+
return validate$d(v, id$d, hashDid);
|
|
2673
|
+
}
|
|
2674
|
+
|
|
2374
2675
|
var defs$1 = /*#__PURE__*/Object.freeze({
|
|
2375
|
-
__proto__: null
|
|
2676
|
+
__proto__: null,
|
|
2677
|
+
isDid: isDid,
|
|
2678
|
+
validateDid: validateDid
|
|
2376
2679
|
});
|
|
2377
2680
|
|
|
2378
|
-
const is$typed$c = is$typed$
|
|
2681
|
+
const is$typed$c = is$typed$i, validate$c = validate$i;
|
|
2379
2682
|
const id$c = 'app.certified.location';
|
|
2380
2683
|
const hashMain$b = 'main';
|
|
2381
2684
|
function isMain$b(v) {
|
|
@@ -2384,16 +2687,25 @@ function isMain$b(v) {
|
|
|
2384
2687
|
function validateMain$b(v) {
|
|
2385
2688
|
return validate$c(v, id$c, hashMain$b, true);
|
|
2386
2689
|
}
|
|
2690
|
+
const hashString = 'string';
|
|
2691
|
+
function isString(v) {
|
|
2692
|
+
return is$typed$c(v, id$c, hashString);
|
|
2693
|
+
}
|
|
2694
|
+
function validateString(v) {
|
|
2695
|
+
return validate$c(v, id$c, hashString);
|
|
2696
|
+
}
|
|
2387
2697
|
|
|
2388
2698
|
var location = /*#__PURE__*/Object.freeze({
|
|
2389
2699
|
__proto__: null,
|
|
2390
2700
|
isMain: isMain$b,
|
|
2391
2701
|
isRecord: isMain$b,
|
|
2702
|
+
isString: isString,
|
|
2392
2703
|
validateMain: validateMain$b,
|
|
2393
|
-
validateRecord: validateMain$b
|
|
2704
|
+
validateRecord: validateMain$b,
|
|
2705
|
+
validateString: validateString
|
|
2394
2706
|
});
|
|
2395
2707
|
|
|
2396
|
-
const is$typed$b = is$typed$
|
|
2708
|
+
const is$typed$b = is$typed$i, validate$b = validate$i;
|
|
2397
2709
|
const id$b = 'com.atproto.repo.strongRef';
|
|
2398
2710
|
const hashMain$a = 'main';
|
|
2399
2711
|
function isMain$a(v) {
|
|
@@ -2409,7 +2721,7 @@ var strongRef = /*#__PURE__*/Object.freeze({
|
|
|
2409
2721
|
validateMain: validateMain$a
|
|
2410
2722
|
});
|
|
2411
2723
|
|
|
2412
|
-
const is$typed$a = is$typed$
|
|
2724
|
+
const is$typed$a = is$typed$i, validate$a = validate$i;
|
|
2413
2725
|
const id$a = 'org.hypercerts.claim.activity';
|
|
2414
2726
|
const hashMain$9 = 'main';
|
|
2415
2727
|
function isMain$9(v) {
|
|
@@ -2425,19 +2737,46 @@ function isContributor(v) {
|
|
|
2425
2737
|
function validateContributor(v) {
|
|
2426
2738
|
return validate$a(v, id$a, hashContributor);
|
|
2427
2739
|
}
|
|
2740
|
+
const hashContributorIdentity = 'contributorIdentity';
|
|
2741
|
+
function isContributorIdentity(v) {
|
|
2742
|
+
return is$typed$a(v, id$a, hashContributorIdentity);
|
|
2743
|
+
}
|
|
2744
|
+
function validateContributorIdentity(v) {
|
|
2745
|
+
return validate$a(v, id$a, hashContributorIdentity);
|
|
2746
|
+
}
|
|
2747
|
+
const hashContributorRole = 'contributorRole';
|
|
2748
|
+
function isContributorRole(v) {
|
|
2749
|
+
return is$typed$a(v, id$a, hashContributorRole);
|
|
2750
|
+
}
|
|
2751
|
+
function validateContributorRole(v) {
|
|
2752
|
+
return validate$a(v, id$a, hashContributorRole);
|
|
2753
|
+
}
|
|
2754
|
+
const hashWorkScopeString = 'workScopeString';
|
|
2755
|
+
function isWorkScopeString(v) {
|
|
2756
|
+
return is$typed$a(v, id$a, hashWorkScopeString);
|
|
2757
|
+
}
|
|
2758
|
+
function validateWorkScopeString(v) {
|
|
2759
|
+
return validate$a(v, id$a, hashWorkScopeString);
|
|
2760
|
+
}
|
|
2428
2761
|
|
|
2429
2762
|
var activity = /*#__PURE__*/Object.freeze({
|
|
2430
2763
|
__proto__: null,
|
|
2431
2764
|
isContributor: isContributor,
|
|
2765
|
+
isContributorIdentity: isContributorIdentity,
|
|
2766
|
+
isContributorRole: isContributorRole,
|
|
2432
2767
|
isMain: isMain$9,
|
|
2433
2768
|
isRecord: isMain$9,
|
|
2769
|
+
isWorkScopeString: isWorkScopeString,
|
|
2434
2770
|
validateContributor: validateContributor,
|
|
2771
|
+
validateContributorIdentity: validateContributorIdentity,
|
|
2772
|
+
validateContributorRole: validateContributorRole,
|
|
2435
2773
|
validateMain: validateMain$9,
|
|
2436
|
-
validateRecord: validateMain$9
|
|
2774
|
+
validateRecord: validateMain$9,
|
|
2775
|
+
validateWorkScopeString: validateWorkScopeString
|
|
2437
2776
|
});
|
|
2438
2777
|
|
|
2439
|
-
const is$typed$9 = is$typed$
|
|
2440
|
-
const id$9 = 'org.hypercerts.claim.
|
|
2778
|
+
const is$typed$9 = is$typed$i, validate$9 = validate$i;
|
|
2779
|
+
const id$9 = 'org.hypercerts.claim.attachment';
|
|
2441
2780
|
const hashMain$8 = 'main';
|
|
2442
2781
|
function isMain$8(v) {
|
|
2443
2782
|
return is$typed$9(v, id$9, hashMain$8);
|
|
@@ -2445,26 +2784,17 @@ function isMain$8(v) {
|
|
|
2445
2784
|
function validateMain$8(v) {
|
|
2446
2785
|
return validate$9(v, id$9, hashMain$8, true);
|
|
2447
2786
|
}
|
|
2448
|
-
const hashItem = 'item';
|
|
2449
|
-
function isItem(v) {
|
|
2450
|
-
return is$typed$9(v, id$9, hashItem);
|
|
2451
|
-
}
|
|
2452
|
-
function validateItem(v) {
|
|
2453
|
-
return validate$9(v, id$9, hashItem);
|
|
2454
|
-
}
|
|
2455
2787
|
|
|
2456
|
-
var
|
|
2788
|
+
var attachment = /*#__PURE__*/Object.freeze({
|
|
2457
2789
|
__proto__: null,
|
|
2458
|
-
isItem: isItem,
|
|
2459
2790
|
isMain: isMain$8,
|
|
2460
2791
|
isRecord: isMain$8,
|
|
2461
|
-
validateItem: validateItem,
|
|
2462
2792
|
validateMain: validateMain$8,
|
|
2463
2793
|
validateRecord: validateMain$8
|
|
2464
2794
|
});
|
|
2465
2795
|
|
|
2466
|
-
const is$typed$8 = is$typed$
|
|
2467
|
-
const id$8 = 'org.hypercerts.claim.
|
|
2796
|
+
const is$typed$8 = is$typed$i, validate$8 = validate$i;
|
|
2797
|
+
const id$8 = 'org.hypercerts.claim.collection';
|
|
2468
2798
|
const hashMain$7 = 'main';
|
|
2469
2799
|
function isMain$7(v) {
|
|
2470
2800
|
return is$typed$8(v, id$8, hashMain$7);
|
|
@@ -2472,17 +2802,26 @@ function isMain$7(v) {
|
|
|
2472
2802
|
function validateMain$7(v) {
|
|
2473
2803
|
return validate$8(v, id$8, hashMain$7, true);
|
|
2474
2804
|
}
|
|
2805
|
+
const hashItem = 'item';
|
|
2806
|
+
function isItem(v) {
|
|
2807
|
+
return is$typed$8(v, id$8, hashItem);
|
|
2808
|
+
}
|
|
2809
|
+
function validateItem(v) {
|
|
2810
|
+
return validate$8(v, id$8, hashItem);
|
|
2811
|
+
}
|
|
2475
2812
|
|
|
2476
|
-
var
|
|
2813
|
+
var collection = /*#__PURE__*/Object.freeze({
|
|
2477
2814
|
__proto__: null,
|
|
2815
|
+
isItem: isItem,
|
|
2478
2816
|
isMain: isMain$7,
|
|
2479
2817
|
isRecord: isMain$7,
|
|
2818
|
+
validateItem: validateItem,
|
|
2480
2819
|
validateMain: validateMain$7,
|
|
2481
2820
|
validateRecord: validateMain$7
|
|
2482
2821
|
});
|
|
2483
2822
|
|
|
2484
|
-
const is$typed$7 = is$typed$
|
|
2485
|
-
const id$7 = 'org.hypercerts.claim.
|
|
2823
|
+
const is$typed$7 = is$typed$i, validate$7 = validate$i;
|
|
2824
|
+
const id$7 = 'org.hypercerts.claim.contributionDetails';
|
|
2486
2825
|
const hashMain$6 = 'main';
|
|
2487
2826
|
function isMain$6(v) {
|
|
2488
2827
|
return is$typed$7(v, id$7, hashMain$6);
|
|
@@ -2491,7 +2830,7 @@ function validateMain$6(v) {
|
|
|
2491
2830
|
return validate$7(v, id$7, hashMain$6, true);
|
|
2492
2831
|
}
|
|
2493
2832
|
|
|
2494
|
-
var
|
|
2833
|
+
var contributionDetails = /*#__PURE__*/Object.freeze({
|
|
2495
2834
|
__proto__: null,
|
|
2496
2835
|
isMain: isMain$6,
|
|
2497
2836
|
isRecord: isMain$6,
|
|
@@ -2499,15 +2838,8 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
|
|
|
2499
2838
|
validateRecord: validateMain$6
|
|
2500
2839
|
});
|
|
2501
2840
|
|
|
2502
|
-
const is$typed$6 = is$typed$
|
|
2503
|
-
const id$6 = 'org.hypercerts.claim.
|
|
2504
|
-
const hashScore = 'score';
|
|
2505
|
-
function isScore(v) {
|
|
2506
|
-
return is$typed$6(v, id$6, hashScore);
|
|
2507
|
-
}
|
|
2508
|
-
function validateScore(v) {
|
|
2509
|
-
return validate$6(v, id$6, hashScore);
|
|
2510
|
-
}
|
|
2841
|
+
const is$typed$6 = is$typed$i, validate$6 = validate$i;
|
|
2842
|
+
const id$6 = 'org.hypercerts.claim.contributorInformation';
|
|
2511
2843
|
const hashMain$5 = 'main';
|
|
2512
2844
|
function isMain$5(v) {
|
|
2513
2845
|
return is$typed$6(v, id$6, hashMain$5);
|
|
@@ -2516,18 +2848,23 @@ function validateMain$5(v) {
|
|
|
2516
2848
|
return validate$6(v, id$6, hashMain$5, true);
|
|
2517
2849
|
}
|
|
2518
2850
|
|
|
2519
|
-
var
|
|
2851
|
+
var contributorInformation = /*#__PURE__*/Object.freeze({
|
|
2520
2852
|
__proto__: null,
|
|
2521
2853
|
isMain: isMain$5,
|
|
2522
2854
|
isRecord: isMain$5,
|
|
2523
|
-
isScore: isScore,
|
|
2524
2855
|
validateMain: validateMain$5,
|
|
2525
|
-
validateRecord: validateMain$5
|
|
2526
|
-
validateScore: validateScore
|
|
2856
|
+
validateRecord: validateMain$5
|
|
2527
2857
|
});
|
|
2528
2858
|
|
|
2529
|
-
const is$typed$5 = is$typed$
|
|
2530
|
-
const id$5 = 'org.hypercerts.claim.
|
|
2859
|
+
const is$typed$5 = is$typed$i, validate$5 = validate$i;
|
|
2860
|
+
const id$5 = 'org.hypercerts.claim.evaluation';
|
|
2861
|
+
const hashScore = 'score';
|
|
2862
|
+
function isScore(v) {
|
|
2863
|
+
return is$typed$5(v, id$5, hashScore);
|
|
2864
|
+
}
|
|
2865
|
+
function validateScore(v) {
|
|
2866
|
+
return validate$5(v, id$5, hashScore);
|
|
2867
|
+
}
|
|
2531
2868
|
const hashMain$4 = 'main';
|
|
2532
2869
|
function isMain$4(v) {
|
|
2533
2870
|
return is$typed$5(v, id$5, hashMain$4);
|
|
@@ -2536,15 +2873,17 @@ function validateMain$4(v) {
|
|
|
2536
2873
|
return validate$5(v, id$5, hashMain$4, true);
|
|
2537
2874
|
}
|
|
2538
2875
|
|
|
2539
|
-
var
|
|
2876
|
+
var evaluation = /*#__PURE__*/Object.freeze({
|
|
2540
2877
|
__proto__: null,
|
|
2541
2878
|
isMain: isMain$4,
|
|
2542
2879
|
isRecord: isMain$4,
|
|
2880
|
+
isScore: isScore,
|
|
2543
2881
|
validateMain: validateMain$4,
|
|
2544
|
-
validateRecord: validateMain$4
|
|
2882
|
+
validateRecord: validateMain$4,
|
|
2883
|
+
validateScore: validateScore
|
|
2545
2884
|
});
|
|
2546
2885
|
|
|
2547
|
-
const is$typed$4 = is$typed$
|
|
2886
|
+
const is$typed$4 = is$typed$i, validate$4 = validate$i;
|
|
2548
2887
|
const id$4 = 'org.hypercerts.claim.measurement';
|
|
2549
2888
|
const hashMain$3 = 'main';
|
|
2550
2889
|
function isMain$3(v) {
|
|
@@ -2562,7 +2901,7 @@ var measurement = /*#__PURE__*/Object.freeze({
|
|
|
2562
2901
|
validateRecord: validateMain$3
|
|
2563
2902
|
});
|
|
2564
2903
|
|
|
2565
|
-
const is$typed$3 = is$typed$
|
|
2904
|
+
const is$typed$3 = is$typed$i, validate$3 = validate$i;
|
|
2566
2905
|
const id$3 = 'org.hypercerts.claim.rights';
|
|
2567
2906
|
const hashMain$2 = 'main';
|
|
2568
2907
|
function isMain$2(v) {
|
|
@@ -2580,7 +2919,7 @@ var rights = /*#__PURE__*/Object.freeze({
|
|
|
2580
2919
|
validateRecord: validateMain$2
|
|
2581
2920
|
});
|
|
2582
2921
|
|
|
2583
|
-
const is$typed$2 = is$typed$
|
|
2922
|
+
const is$typed$2 = is$typed$i, validate$2 = validate$i;
|
|
2584
2923
|
const id$2 = 'org.hypercerts.defs';
|
|
2585
2924
|
const hashUri = 'uri';
|
|
2586
2925
|
function isUri(v) {
|
|
@@ -2632,7 +2971,7 @@ var defs = /*#__PURE__*/Object.freeze({
|
|
|
2632
2971
|
validateUri: validateUri
|
|
2633
2972
|
});
|
|
2634
2973
|
|
|
2635
|
-
const is$typed$1 = is$typed$
|
|
2974
|
+
const is$typed$1 = is$typed$i, validate$1 = validate$i;
|
|
2636
2975
|
const id$1 = 'org.hypercerts.funding.receipt';
|
|
2637
2976
|
const hashMain$1 = 'main';
|
|
2638
2977
|
function isMain$1(v) {
|
|
@@ -2650,7 +2989,7 @@ var receipt = /*#__PURE__*/Object.freeze({
|
|
|
2650
2989
|
validateRecord: validateMain$1
|
|
2651
2990
|
});
|
|
2652
2991
|
|
|
2653
|
-
const is$typed = is$typed$
|
|
2992
|
+
const is$typed = is$typed$i, validate = validate$i;
|
|
2654
2993
|
const id = 'org.hypercerts.helper.workScopeTag';
|
|
2655
2994
|
const hashMain = 'main';
|
|
2656
2995
|
function isMain(v) {
|
|
@@ -2674,7 +3013,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
|
|
|
2674
3013
|
* ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
|
|
2675
3014
|
*
|
|
2676
3015
|
* This file is automatically generated by scripts/generate-exports.js
|
|
2677
|
-
* Generated: 2026-
|
|
3016
|
+
* Generated: 2026-02-10T10:47:30.525Z
|
|
2678
3017
|
*
|
|
2679
3018
|
* To regenerate this file, run:
|
|
2680
3019
|
* npm run gen-api
|
|
@@ -2691,6 +3030,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
|
|
|
2691
3030
|
* @packageDocumentation
|
|
2692
3031
|
*/
|
|
2693
3032
|
// Individual NSID constants
|
|
3033
|
+
const ACTOR_PROFILE_NSID = "app.certified.actor.profile";
|
|
2694
3034
|
const BADGE_AWARD_NSID = "app.certified.badge.award";
|
|
2695
3035
|
const BADGE_DEFINITION_NSID = "app.certified.badge.definition";
|
|
2696
3036
|
const BADGE_RESPONSE_NSID = "app.certified.badge.response";
|
|
@@ -2698,11 +3038,11 @@ const CERTIFIED_DEFS_NSID = "app.certified.defs";
|
|
|
2698
3038
|
const LOCATION_NSID = "app.certified.location";
|
|
2699
3039
|
const STRONG_REF_NSID = "com.atproto.repo.strongRef";
|
|
2700
3040
|
const ACTIVITY_NSID = "org.hypercerts.claim.activity";
|
|
3041
|
+
const ATTACHMENT_NSID = "org.hypercerts.claim.attachment";
|
|
2701
3042
|
const COLLECTION_NSID = "org.hypercerts.claim.collection";
|
|
2702
3043
|
const CONTRIBUTION_DETAILS_NSID = "org.hypercerts.claim.contributionDetails";
|
|
2703
3044
|
const CONTRIBUTOR_INFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
|
|
2704
3045
|
const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
|
|
2705
|
-
const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
|
|
2706
3046
|
const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
|
|
2707
3047
|
const RIGHTS_NSID = "org.hypercerts.claim.rights";
|
|
2708
3048
|
const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
|
|
@@ -2715,6 +3055,7 @@ const WORK_SCOPE_TAG_NSID = "org.hypercerts.helper.workScopeTag";
|
|
|
2715
3055
|
* correct collection names.
|
|
2716
3056
|
*/
|
|
2717
3057
|
const HYPERCERTS_NSIDS = {
|
|
3058
|
+
ACTOR_PROFILE: ACTOR_PROFILE_NSID,
|
|
2718
3059
|
BADGE_AWARD: BADGE_AWARD_NSID,
|
|
2719
3060
|
BADGE_DEFINITION: BADGE_DEFINITION_NSID,
|
|
2720
3061
|
BADGE_RESPONSE: BADGE_RESPONSE_NSID,
|
|
@@ -2722,11 +3063,11 @@ const HYPERCERTS_NSIDS = {
|
|
|
2722
3063
|
LOCATION: LOCATION_NSID,
|
|
2723
3064
|
STRONG_REF: STRONG_REF_NSID,
|
|
2724
3065
|
ACTIVITY: ACTIVITY_NSID,
|
|
3066
|
+
ATTACHMENT: ATTACHMENT_NSID,
|
|
2725
3067
|
COLLECTION: COLLECTION_NSID,
|
|
2726
3068
|
CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_NSID,
|
|
2727
3069
|
CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_NSID,
|
|
2728
3070
|
EVALUATION: EVALUATION_NSID,
|
|
2729
|
-
EVIDENCE: EVIDENCE_NSID,
|
|
2730
3071
|
MEASUREMENT: MEASUREMENT_NSID,
|
|
2731
3072
|
RIGHTS: RIGHTS_NSID,
|
|
2732
3073
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
|
|
@@ -2737,6 +3078,7 @@ const HYPERCERTS_NSIDS = {
|
|
|
2737
3078
|
* Lexicon JSON objects organized by semantic record type.
|
|
2738
3079
|
*/
|
|
2739
3080
|
const HYPERCERTS_LEXICON_JSON = {
|
|
3081
|
+
ACTOR_PROFILE: ACTOR_PROFILE_LEXICON_JSON,
|
|
2740
3082
|
BADGE_AWARD: BADGE_AWARD_LEXICON_JSON,
|
|
2741
3083
|
BADGE_DEFINITION: BADGE_DEFINITION_LEXICON_JSON,
|
|
2742
3084
|
BADGE_RESPONSE: BADGE_RESPONSE_LEXICON_JSON,
|
|
@@ -2744,11 +3086,11 @@ const HYPERCERTS_LEXICON_JSON = {
|
|
|
2744
3086
|
LOCATION: LOCATION_LEXICON_JSON,
|
|
2745
3087
|
STRONG_REF: STRONG_REF_LEXICON_JSON,
|
|
2746
3088
|
ACTIVITY: ACTIVITY_LEXICON_JSON,
|
|
3089
|
+
ATTACHMENT: ATTACHMENT_LEXICON_JSON,
|
|
2747
3090
|
COLLECTION: COLLECTION_LEXICON_JSON,
|
|
2748
3091
|
CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_JSON,
|
|
2749
3092
|
CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_JSON,
|
|
2750
3093
|
EVALUATION: EVALUATION_LEXICON_JSON,
|
|
2751
|
-
EVIDENCE: EVIDENCE_LEXICON_JSON,
|
|
2752
3094
|
MEASUREMENT: MEASUREMENT_LEXICON_JSON,
|
|
2753
3095
|
RIGHTS: RIGHTS_LEXICON_JSON,
|
|
2754
3096
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
|
|
@@ -2756,6 +3098,7 @@ const HYPERCERTS_LEXICON_JSON = {
|
|
|
2756
3098
|
WORK_SCOPE_TAG: WORK_SCOPE_TAG_LEXICON_JSON,
|
|
2757
3099
|
};
|
|
2758
3100
|
// Individual lexicon objects (from lexicons.get())
|
|
3101
|
+
const ACTOR_PROFILE_LEXICON_DOC = lexicons.get(ACTOR_PROFILE_NSID);
|
|
2759
3102
|
const BADGE_AWARD_LEXICON_DOC = lexicons.get(BADGE_AWARD_NSID);
|
|
2760
3103
|
const BADGE_DEFINITION_LEXICON_DOC = lexicons.get(BADGE_DEFINITION_NSID);
|
|
2761
3104
|
const BADGE_RESPONSE_LEXICON_DOC = lexicons.get(BADGE_RESPONSE_NSID);
|
|
@@ -2763,11 +3106,11 @@ const CERTIFIED_DEFS_LEXICON_DOC = lexicons.get(CERTIFIED_DEFS_NSID);
|
|
|
2763
3106
|
const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
|
|
2764
3107
|
const STRONG_REF_LEXICON_DOC = lexicons.get(STRONG_REF_NSID);
|
|
2765
3108
|
const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
|
|
3109
|
+
const ATTACHMENT_LEXICON_DOC = lexicons.get(ATTACHMENT_NSID);
|
|
2766
3110
|
const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
|
|
2767
3111
|
const CONTRIBUTION_DETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTION_DETAILS_NSID);
|
|
2768
3112
|
const CONTRIBUTOR_INFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTOR_INFORMATION_NSID);
|
|
2769
3113
|
const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
|
|
2770
|
-
const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
|
|
2771
3114
|
const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
|
|
2772
3115
|
const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
|
|
2773
3116
|
const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
|
|
@@ -2777,6 +3120,7 @@ const WORK_SCOPE_TAG_LEXICON_DOC = lexicons.get(WORK_SCOPE_TAG_NSID);
|
|
|
2777
3120
|
* Lexicon document objects organized by semantic record type.
|
|
2778
3121
|
*/
|
|
2779
3122
|
const HYPERCERTS_LEXICON_DOC = {
|
|
3123
|
+
ACTOR_PROFILE: ACTOR_PROFILE_LEXICON_DOC,
|
|
2780
3124
|
BADGE_AWARD: BADGE_AWARD_LEXICON_DOC,
|
|
2781
3125
|
BADGE_DEFINITION: BADGE_DEFINITION_LEXICON_DOC,
|
|
2782
3126
|
BADGE_RESPONSE: BADGE_RESPONSE_LEXICON_DOC,
|
|
@@ -2784,11 +3128,11 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2784
3128
|
LOCATION: LOCATION_LEXICON_DOC,
|
|
2785
3129
|
STRONG_REF: STRONG_REF_LEXICON_DOC,
|
|
2786
3130
|
ACTIVITY: ACTIVITY_LEXICON_DOC,
|
|
3131
|
+
ATTACHMENT: ATTACHMENT_LEXICON_DOC,
|
|
2787
3132
|
COLLECTION: COLLECTION_LEXICON_DOC,
|
|
2788
3133
|
CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_DOC,
|
|
2789
3134
|
CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_DOC,
|
|
2790
3135
|
EVALUATION: EVALUATION_LEXICON_DOC,
|
|
2791
|
-
EVIDENCE: EVIDENCE_LEXICON_DOC,
|
|
2792
3136
|
MEASUREMENT: MEASUREMENT_LEXICON_DOC,
|
|
2793
3137
|
RIGHTS: RIGHTS_LEXICON_DOC,
|
|
2794
3138
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
|
|
@@ -2799,6 +3143,13 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2799
3143
|
exports.ACTIVITY_LEXICON_DOC = ACTIVITY_LEXICON_DOC;
|
|
2800
3144
|
exports.ACTIVITY_LEXICON_JSON = ACTIVITY_LEXICON_JSON;
|
|
2801
3145
|
exports.ACTIVITY_NSID = ACTIVITY_NSID;
|
|
3146
|
+
exports.ACTOR_PROFILE_LEXICON_DOC = ACTOR_PROFILE_LEXICON_DOC;
|
|
3147
|
+
exports.ACTOR_PROFILE_LEXICON_JSON = ACTOR_PROFILE_LEXICON_JSON;
|
|
3148
|
+
exports.ACTOR_PROFILE_NSID = ACTOR_PROFILE_NSID;
|
|
3149
|
+
exports.ATTACHMENT_LEXICON_DOC = ATTACHMENT_LEXICON_DOC;
|
|
3150
|
+
exports.ATTACHMENT_LEXICON_JSON = ATTACHMENT_LEXICON_JSON;
|
|
3151
|
+
exports.ATTACHMENT_NSID = ATTACHMENT_NSID;
|
|
3152
|
+
exports.AppCertifiedActorProfile = profile;
|
|
2802
3153
|
exports.AppCertifiedBadgeAward = award;
|
|
2803
3154
|
exports.AppCertifiedBadgeDefinition = definition;
|
|
2804
3155
|
exports.AppCertifiedBadgeResponse = response;
|
|
@@ -2829,9 +3180,6 @@ exports.ComAtprotoRepoStrongRef = strongRef;
|
|
|
2829
3180
|
exports.EVALUATION_LEXICON_DOC = EVALUATION_LEXICON_DOC;
|
|
2830
3181
|
exports.EVALUATION_LEXICON_JSON = EVALUATION_LEXICON_JSON;
|
|
2831
3182
|
exports.EVALUATION_NSID = EVALUATION_NSID;
|
|
2832
|
-
exports.EVIDENCE_LEXICON_DOC = EVIDENCE_LEXICON_DOC;
|
|
2833
|
-
exports.EVIDENCE_LEXICON_JSON = EVIDENCE_LEXICON_JSON;
|
|
2834
|
-
exports.EVIDENCE_NSID = EVIDENCE_NSID;
|
|
2835
3183
|
exports.FUNDING_RECEIPT_LEXICON_DOC = FUNDING_RECEIPT_LEXICON_DOC;
|
|
2836
3184
|
exports.FUNDING_RECEIPT_LEXICON_JSON = FUNDING_RECEIPT_LEXICON_JSON;
|
|
2837
3185
|
exports.FUNDING_RECEIPT_NSID = FUNDING_RECEIPT_NSID;
|
|
@@ -2851,11 +3199,11 @@ exports.MEASUREMENT_LEXICON_DOC = MEASUREMENT_LEXICON_DOC;
|
|
|
2851
3199
|
exports.MEASUREMENT_LEXICON_JSON = MEASUREMENT_LEXICON_JSON;
|
|
2852
3200
|
exports.MEASUREMENT_NSID = MEASUREMENT_NSID;
|
|
2853
3201
|
exports.OrgHypercertsClaimActivity = activity;
|
|
3202
|
+
exports.OrgHypercertsClaimAttachment = attachment;
|
|
2854
3203
|
exports.OrgHypercertsClaimCollection = collection;
|
|
2855
3204
|
exports.OrgHypercertsClaimContributionDetails = contributionDetails;
|
|
2856
3205
|
exports.OrgHypercertsClaimContributorInformation = contributorInformation;
|
|
2857
3206
|
exports.OrgHypercertsClaimEvaluation = evaluation;
|
|
2858
|
-
exports.OrgHypercertsClaimEvidence = evidence;
|
|
2859
3207
|
exports.OrgHypercertsClaimMeasurement = measurement;
|
|
2860
3208
|
exports.OrgHypercertsClaimRights = rights;
|
|
2861
3209
|
exports.OrgHypercertsDefs = defs;
|
|
@@ -2871,8 +3219,8 @@ exports.WORK_SCOPE_TAG_LEXICON_DOC = WORK_SCOPE_TAG_LEXICON_DOC;
|
|
|
2871
3219
|
exports.WORK_SCOPE_TAG_LEXICON_JSON = WORK_SCOPE_TAG_LEXICON_JSON;
|
|
2872
3220
|
exports.WORK_SCOPE_TAG_NSID = WORK_SCOPE_TAG_NSID;
|
|
2873
3221
|
exports.asPredicate = asPredicate;
|
|
2874
|
-
exports.is$typed = is$typed$
|
|
3222
|
+
exports.is$typed = is$typed$i;
|
|
2875
3223
|
exports.lexicons = lexicons;
|
|
2876
3224
|
exports.maybe$typed = maybe$typed;
|
|
2877
|
-
exports.validate = validate$
|
|
3225
|
+
exports.validate = validate$i;
|
|
2878
3226
|
//# sourceMappingURL=index.cjs.map
|