@hypercerts-org/lexicon 0.10.0-beta.13 → 0.10.0-beta.15
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 +51 -0
- package/README.md +69 -2
- package/SCHEMAS.md +73 -9
- package/dist/exports.d.ts +140 -7
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +140 -7
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +268 -22
- 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 +2 -2
- package/dist/generated/types/app/certified/location.d.ts.map +1 -1
- package/dist/generated/types/org/hypercerts/acknowledgement.d.ts +21 -0
- package/dist/generated/types/org/hypercerts/acknowledgement.d.ts.map +1 -0
- 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/index.cjs +530 -141
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +518 -137
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +151 -11
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +268 -22
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +151 -11
- 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 +2 -2
- package/dist/types/app/certified/location.d.ts.map +1 -1
- package/dist/types/org/hypercerts/acknowledgement.d.ts +21 -0
- package/dist/types/org/hypercerts/acknowledgement.d.ts.map +1 -0
- package/dist/types/org/hypercerts/claim/activity.d.ts +21 -3
- package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
- package/lexicons/app/certified/actor/profile.json +51 -0
- package/lexicons/app/certified/defs.json +11 -3
- package/lexicons/app/certified/location.json +11 -2
- package/lexicons/org/hypercerts/acknowledgement.json +41 -0
- package/lexicons/org/hypercerts/claim/activity.json +31 -8
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
|
|
5
5
|
*
|
|
6
6
|
* This file is automatically generated by scripts/generate-exports.js
|
|
7
|
-
* Generated: 2026-
|
|
7
|
+
* Generated: 2026-02-12T03:41:04.097Z
|
|
8
8
|
*
|
|
9
9
|
* To regenerate this file, run:
|
|
10
10
|
* npm run gen-api
|
|
@@ -21,12 +21,14 @@
|
|
|
21
21
|
* @packageDocumentation
|
|
22
22
|
*/
|
|
23
23
|
import type { LexiconDoc } from "@atproto/lexicon";
|
|
24
|
+
import ACTOR_PROFILE_LEXICON_JSON from "../lexicons/app/certified/actor/profile.json";
|
|
24
25
|
import BADGE_AWARD_LEXICON_JSON from "../lexicons/app/certified/badge/award.json";
|
|
25
26
|
import BADGE_DEFINITION_LEXICON_JSON from "../lexicons/app/certified/badge/definition.json";
|
|
26
27
|
import BADGE_RESPONSE_LEXICON_JSON from "../lexicons/app/certified/badge/response.json";
|
|
27
28
|
import CERTIFIED_DEFS_LEXICON_JSON from "../lexicons/app/certified/defs.json";
|
|
28
29
|
import LOCATION_LEXICON_JSON from "../lexicons/app/certified/location.json";
|
|
29
30
|
import STRONG_REF_LEXICON_JSON from "../lexicons/com/atproto/repo/strongRef.json";
|
|
31
|
+
import HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_JSON from "../lexicons/org/hypercerts/acknowledgement.json";
|
|
30
32
|
import ACTIVITY_LEXICON_JSON from "../lexicons/org/hypercerts/claim/activity.json";
|
|
31
33
|
import ATTACHMENT_LEXICON_JSON from "../lexicons/org/hypercerts/claim/attachment.json";
|
|
32
34
|
import COLLECTION_LEXICON_JSON from "../lexicons/org/hypercerts/claim/collection.json";
|
|
@@ -38,14 +40,16 @@ import RIGHTS_LEXICON_JSON from "../lexicons/org/hypercerts/claim/rights.json";
|
|
|
38
40
|
import HYPERCERTS_DEFS_LEXICON_JSON from "../lexicons/org/hypercerts/defs.json";
|
|
39
41
|
import FUNDING_RECEIPT_LEXICON_JSON from "../lexicons/org/hypercerts/funding/receipt.json";
|
|
40
42
|
import WORK_SCOPE_TAG_LEXICON_JSON from "../lexicons/org/hypercerts/helper/workScopeTag.json";
|
|
41
|
-
export { BADGE_AWARD_LEXICON_JSON, BADGE_DEFINITION_LEXICON_JSON, BADGE_RESPONSE_LEXICON_JSON, CERTIFIED_DEFS_LEXICON_JSON, LOCATION_LEXICON_JSON, STRONG_REF_LEXICON_JSON, ACTIVITY_LEXICON_JSON, ATTACHMENT_LEXICON_JSON, COLLECTION_LEXICON_JSON, CONTRIBUTION_DETAILS_LEXICON_JSON, CONTRIBUTOR_INFORMATION_LEXICON_JSON, EVALUATION_LEXICON_JSON, MEASUREMENT_LEXICON_JSON, RIGHTS_LEXICON_JSON, HYPERCERTS_DEFS_LEXICON_JSON, FUNDING_RECEIPT_LEXICON_JSON, WORK_SCOPE_TAG_LEXICON_JSON, };
|
|
43
|
+
export { ACTOR_PROFILE_LEXICON_JSON, BADGE_AWARD_LEXICON_JSON, BADGE_DEFINITION_LEXICON_JSON, BADGE_RESPONSE_LEXICON_JSON, CERTIFIED_DEFS_LEXICON_JSON, LOCATION_LEXICON_JSON, STRONG_REF_LEXICON_JSON, HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_JSON, ACTIVITY_LEXICON_JSON, ATTACHMENT_LEXICON_JSON, COLLECTION_LEXICON_JSON, CONTRIBUTION_DETAILS_LEXICON_JSON, CONTRIBUTOR_INFORMATION_LEXICON_JSON, EVALUATION_LEXICON_JSON, MEASUREMENT_LEXICON_JSON, RIGHTS_LEXICON_JSON, HYPERCERTS_DEFS_LEXICON_JSON, FUNDING_RECEIPT_LEXICON_JSON, WORK_SCOPE_TAG_LEXICON_JSON, };
|
|
42
44
|
export { schemas as HYPERCERTS_SCHEMAS, schemaDict as HYPERCERTS_SCHEMA_DICT, lexicons, validate, ids as HYPERCERTS_NSIDS_BY_TYPE, } from "./lexicons.js";
|
|
45
|
+
export declare const ACTOR_PROFILE_NSID: "app.certified.actor.profile";
|
|
43
46
|
export declare const BADGE_AWARD_NSID: "app.certified.badge.award";
|
|
44
47
|
export declare const BADGE_DEFINITION_NSID: "app.certified.badge.definition";
|
|
45
48
|
export declare const BADGE_RESPONSE_NSID: "app.certified.badge.response";
|
|
46
49
|
export declare const CERTIFIED_DEFS_NSID: "app.certified.defs";
|
|
47
50
|
export declare const LOCATION_NSID: "app.certified.location";
|
|
48
51
|
export declare const STRONG_REF_NSID: "com.atproto.repo.strongRef";
|
|
52
|
+
export declare const HYPERCERTS_ACKNOWLEDGEMENT_NSID: "org.hypercerts.acknowledgement";
|
|
49
53
|
export declare const ACTIVITY_NSID: "org.hypercerts.claim.activity";
|
|
50
54
|
export declare const ATTACHMENT_NSID: "org.hypercerts.claim.attachment";
|
|
51
55
|
export declare const COLLECTION_NSID: "org.hypercerts.claim.collection";
|
|
@@ -64,12 +68,14 @@ export declare const WORK_SCOPE_TAG_NSID: "org.hypercerts.helper.workScopeTag";
|
|
|
64
68
|
* correct collection names.
|
|
65
69
|
*/
|
|
66
70
|
export declare const HYPERCERTS_NSIDS: {
|
|
71
|
+
readonly ACTOR_PROFILE: "app.certified.actor.profile";
|
|
67
72
|
readonly BADGE_AWARD: "app.certified.badge.award";
|
|
68
73
|
readonly BADGE_DEFINITION: "app.certified.badge.definition";
|
|
69
74
|
readonly BADGE_RESPONSE: "app.certified.badge.response";
|
|
70
75
|
readonly CERTIFIED_DEFS: "app.certified.defs";
|
|
71
76
|
readonly LOCATION: "app.certified.location";
|
|
72
77
|
readonly STRONG_REF: "com.atproto.repo.strongRef";
|
|
78
|
+
readonly HYPERCERTS_ACKNOWLEDGEMENT: "org.hypercerts.acknowledgement";
|
|
73
79
|
readonly ACTIVITY: "org.hypercerts.claim.activity";
|
|
74
80
|
readonly ATTACHMENT: "org.hypercerts.claim.attachment";
|
|
75
81
|
readonly COLLECTION: "org.hypercerts.claim.collection";
|
|
@@ -86,6 +92,57 @@ export declare const HYPERCERTS_NSIDS: {
|
|
|
86
92
|
* Lexicon JSON objects organized by semantic record type.
|
|
87
93
|
*/
|
|
88
94
|
export declare const HYPERCERTS_LEXICON_JSON: {
|
|
95
|
+
readonly ACTOR_PROFILE: {
|
|
96
|
+
lexicon: number;
|
|
97
|
+
id: string;
|
|
98
|
+
defs: {
|
|
99
|
+
main: {
|
|
100
|
+
type: string;
|
|
101
|
+
description: string;
|
|
102
|
+
key: string;
|
|
103
|
+
record: {
|
|
104
|
+
type: string;
|
|
105
|
+
properties: {
|
|
106
|
+
displayName: {
|
|
107
|
+
type: string;
|
|
108
|
+
maxGraphemes: number;
|
|
109
|
+
maxLength: number;
|
|
110
|
+
};
|
|
111
|
+
description: {
|
|
112
|
+
type: string;
|
|
113
|
+
description: string;
|
|
114
|
+
maxGraphemes: number;
|
|
115
|
+
maxLength: number;
|
|
116
|
+
};
|
|
117
|
+
pronouns: {
|
|
118
|
+
type: string;
|
|
119
|
+
description: string;
|
|
120
|
+
maxGraphemes: number;
|
|
121
|
+
maxLength: number;
|
|
122
|
+
};
|
|
123
|
+
website: {
|
|
124
|
+
type: string;
|
|
125
|
+
format: string;
|
|
126
|
+
};
|
|
127
|
+
avatar: {
|
|
128
|
+
type: string;
|
|
129
|
+
refs: string[];
|
|
130
|
+
description: string;
|
|
131
|
+
};
|
|
132
|
+
banner: {
|
|
133
|
+
type: string;
|
|
134
|
+
refs: string[];
|
|
135
|
+
description: string;
|
|
136
|
+
};
|
|
137
|
+
createdAt: {
|
|
138
|
+
type: string;
|
|
139
|
+
format: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
89
146
|
readonly BADGE_AWARD: {
|
|
90
147
|
lexicon: number;
|
|
91
148
|
id: string;
|
|
@@ -213,8 +270,16 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
213
270
|
defs: {
|
|
214
271
|
did: {
|
|
215
272
|
type: string;
|
|
216
|
-
format: string;
|
|
217
273
|
description: string;
|
|
274
|
+
required: string[];
|
|
275
|
+
properties: {
|
|
276
|
+
did: {
|
|
277
|
+
type: string;
|
|
278
|
+
format: string;
|
|
279
|
+
description: string;
|
|
280
|
+
maxLength: number;
|
|
281
|
+
};
|
|
282
|
+
};
|
|
218
283
|
};
|
|
219
284
|
};
|
|
220
285
|
};
|
|
@@ -308,6 +373,47 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
308
373
|
};
|
|
309
374
|
};
|
|
310
375
|
};
|
|
376
|
+
readonly HYPERCERTS_ACKNOWLEDGEMENT: {
|
|
377
|
+
lexicon: number;
|
|
378
|
+
id: string;
|
|
379
|
+
defs: {
|
|
380
|
+
main: {
|
|
381
|
+
type: string;
|
|
382
|
+
description: string;
|
|
383
|
+
key: string;
|
|
384
|
+
record: {
|
|
385
|
+
type: string;
|
|
386
|
+
required: string[];
|
|
387
|
+
properties: {
|
|
388
|
+
subject: {
|
|
389
|
+
type: string;
|
|
390
|
+
ref: string;
|
|
391
|
+
description: string;
|
|
392
|
+
};
|
|
393
|
+
context: {
|
|
394
|
+
type: string;
|
|
395
|
+
ref: string;
|
|
396
|
+
description: string;
|
|
397
|
+
};
|
|
398
|
+
acknowledged: {
|
|
399
|
+
type: string;
|
|
400
|
+
description: string;
|
|
401
|
+
};
|
|
402
|
+
comment: {
|
|
403
|
+
type: string;
|
|
404
|
+
description: string;
|
|
405
|
+
maxLength: number;
|
|
406
|
+
};
|
|
407
|
+
createdAt: {
|
|
408
|
+
type: string;
|
|
409
|
+
format: string;
|
|
410
|
+
description: string;
|
|
411
|
+
};
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
};
|
|
416
|
+
};
|
|
311
417
|
readonly ACTIVITY: {
|
|
312
418
|
lexicon: number;
|
|
313
419
|
id: string;
|
|
@@ -425,18 +531,41 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
425
531
|
contributorIdentity: {
|
|
426
532
|
type: string;
|
|
427
533
|
description: string;
|
|
534
|
+
required: string[];
|
|
535
|
+
properties: {
|
|
536
|
+
identity: {
|
|
537
|
+
type: string;
|
|
538
|
+
description: string;
|
|
539
|
+
maxLength: number;
|
|
540
|
+
maxGraphemes: number;
|
|
541
|
+
};
|
|
542
|
+
};
|
|
428
543
|
};
|
|
429
544
|
contributorRole: {
|
|
430
545
|
type: string;
|
|
431
546
|
description: string;
|
|
432
|
-
|
|
433
|
-
|
|
547
|
+
required: string[];
|
|
548
|
+
properties: {
|
|
549
|
+
role: {
|
|
550
|
+
type: string;
|
|
551
|
+
description: string;
|
|
552
|
+
maxLength: number;
|
|
553
|
+
maxGraphemes: number;
|
|
554
|
+
};
|
|
555
|
+
};
|
|
434
556
|
};
|
|
435
557
|
workScopeString: {
|
|
436
558
|
type: string;
|
|
437
559
|
description: string;
|
|
438
|
-
|
|
439
|
-
|
|
560
|
+
required: string[];
|
|
561
|
+
properties: {
|
|
562
|
+
scope: {
|
|
563
|
+
type: string;
|
|
564
|
+
description: string;
|
|
565
|
+
maxLength: number;
|
|
566
|
+
maxGraphemes: number;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
440
569
|
};
|
|
441
570
|
};
|
|
442
571
|
};
|
|
@@ -1116,12 +1245,14 @@ export declare const HYPERCERTS_LEXICON_JSON: {
|
|
|
1116
1245
|
};
|
|
1117
1246
|
};
|
|
1118
1247
|
};
|
|
1248
|
+
export declare const ACTOR_PROFILE_LEXICON_DOC: LexiconDoc;
|
|
1119
1249
|
export declare const BADGE_AWARD_LEXICON_DOC: LexiconDoc;
|
|
1120
1250
|
export declare const BADGE_DEFINITION_LEXICON_DOC: LexiconDoc;
|
|
1121
1251
|
export declare const BADGE_RESPONSE_LEXICON_DOC: LexiconDoc;
|
|
1122
1252
|
export declare const CERTIFIED_DEFS_LEXICON_DOC: LexiconDoc;
|
|
1123
1253
|
export declare const LOCATION_LEXICON_DOC: LexiconDoc;
|
|
1124
1254
|
export declare const STRONG_REF_LEXICON_DOC: LexiconDoc;
|
|
1255
|
+
export declare const HYPERCERTS_ACKNOWLEDGEMENT_LEXICON_DOC: LexiconDoc;
|
|
1125
1256
|
export declare const ACTIVITY_LEXICON_DOC: LexiconDoc;
|
|
1126
1257
|
export declare const ATTACHMENT_LEXICON_DOC: LexiconDoc;
|
|
1127
1258
|
export declare const COLLECTION_LEXICON_DOC: LexiconDoc;
|
|
@@ -1137,12 +1268,14 @@ export declare const WORK_SCOPE_TAG_LEXICON_DOC: LexiconDoc;
|
|
|
1137
1268
|
* Lexicon document objects organized by semantic record type.
|
|
1138
1269
|
*/
|
|
1139
1270
|
export declare const HYPERCERTS_LEXICON_DOC: Record<string, LexiconDoc>;
|
|
1271
|
+
export * as AppCertifiedActorProfile from "./types/app/certified/actor/profile.js";
|
|
1140
1272
|
export * as AppCertifiedBadgeAward from "./types/app/certified/badge/award.js";
|
|
1141
1273
|
export * as AppCertifiedBadgeDefinition from "./types/app/certified/badge/definition.js";
|
|
1142
1274
|
export * as AppCertifiedBadgeResponse from "./types/app/certified/badge/response.js";
|
|
1143
1275
|
export * as AppCertifiedDefs from "./types/app/certified/defs.js";
|
|
1144
1276
|
export * as AppCertifiedLocation from "./types/app/certified/location.js";
|
|
1145
1277
|
export * as ComAtprotoRepoStrongRef from "./types/com/atproto/repo/strongRef.js";
|
|
1278
|
+
export * as OrgHypercertsAcknowledgement from "./types/org/hypercerts/acknowledgement.js";
|
|
1146
1279
|
export * as OrgHypercertsClaimActivity from "./types/org/hypercerts/claim/activity.js";
|
|
1147
1280
|
export * as OrgHypercertsClaimAttachment from "./types/org/hypercerts/claim/attachment.js";
|
|
1148
1281
|
export * as OrgHypercertsClaimCollection from "./types/org/hypercerts/claim/collection.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"exports.d.ts","sourceRoot":"","sources":["../../generated/exports.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,wBAAwB,MAAM,4CAA4C,CAAC;AAClF,OAAO,6BAA6B,MAAM,iDAAiD,CAAC;AAC5F,OAAO,2BAA2B,MAAM,+CAA+C,CAAC;AACxF,OAAO,2BAA2B,MAAM,qCAAqC,CAAC;AAC9E,OAAO,qBAAqB,MAAM,yCAAyC,CAAC;AAC5E,OAAO,uBAAuB,MAAM,6CAA6C,CAAC;AAClF,OAAO,qBAAqB,MAAM,gDAAgD,CAAC;AACnF,OAAO,uBAAuB,MAAM,kDAAkD,CAAC;AACvF,OAAO,uBAAuB,MAAM,kDAAkD,CAAC;AACvF,OAAO,iCAAiC,MAAM,2DAA2D,CAAC;AAC1G,OAAO,oCAAoC,MAAM,8DAA8D,CAAC;AAChH,OAAO,uBAAuB,MAAM,kDAAkD,CAAC;AACvF,OAAO,wBAAwB,MAAM,mDAAmD,CAAC;AACzF,OAAO,mBAAmB,MAAM,8CAA8C,CAAC;AAC/E,OAAO,4BAA4B,MAAM,sCAAsC,CAAC;AAChF,OAAO,4BAA4B,MAAM,iDAAiD,CAAC;AAC3F,OAAO,2BAA2B,MAAM,qDAAqD,CAAC;AAG9F,OAAO,EACL,wBAAwB,EACxB,6BAA6B,EAC7B,2BAA2B,EAC3B,2BAA2B,EAC3B,qBAAqB,EACrB,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,iCAAiC,EACjC,oCAAoC,EACpC,uBAAuB,EACvB,wBAAwB,EACxB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O,KAAK,4BAA4B,MAAM,2CAA2C,CAAC;AAC1F,OAAO,KAAK,0BAA0B,MAAM,0CAA0C,CAAC;AACvF,OAAO,KAAK,4BAA4B,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,4BAA4B,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,qCAAqC,MAAM,qDAAqD,CAAC;AAC7G,OAAO,KAAK,wCAAwC,MAAM,wDAAwD,CAAC;AACnH,OAAO,KAAK,4BAA4B,MAAM,4CAA4C,CAAC;AAC3F,OAAO,KAAK,6BAA6B,MAAM,6CAA6C,CAAC;AAC7F,OAAO,KAAK,wBAAwB,MAAM,wCAAwC,CAAC;AACnF,OAAO,KAAK,iBAAiB,MAAM,gCAAgC,CAAC;AACpE,OAAO,KAAK,2BAA2B,MAAM,2CAA2C,CAAC;AACzF,OAAO,KAAK,+BAA+B,MAAM,+CAA+C,CAAC;AAGjG,cAAc,WAAW,CAAC"}
|
|
@@ -3,6 +3,57 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import { Lexicons, type ValidationResult } from '@atproto/lexicon';
|
|
5
5
|
export declare const schemaDict: {
|
|
6
|
+
readonly AppCertifiedActorProfile: {
|
|
7
|
+
readonly lexicon: 1;
|
|
8
|
+
readonly id: "app.certified.actor.profile";
|
|
9
|
+
readonly defs: {
|
|
10
|
+
readonly main: {
|
|
11
|
+
readonly type: "record";
|
|
12
|
+
readonly description: "A declaration of a Hypercert account profile.";
|
|
13
|
+
readonly key: "literal:self";
|
|
14
|
+
readonly record: {
|
|
15
|
+
readonly type: "object";
|
|
16
|
+
readonly properties: {
|
|
17
|
+
readonly displayName: {
|
|
18
|
+
readonly type: "string";
|
|
19
|
+
readonly maxGraphemes: 64;
|
|
20
|
+
readonly maxLength: 640;
|
|
21
|
+
};
|
|
22
|
+
readonly description: {
|
|
23
|
+
readonly type: "string";
|
|
24
|
+
readonly description: "Free-form profile description text.";
|
|
25
|
+
readonly maxGraphemes: 256;
|
|
26
|
+
readonly maxLength: 2560;
|
|
27
|
+
};
|
|
28
|
+
readonly pronouns: {
|
|
29
|
+
readonly type: "string";
|
|
30
|
+
readonly description: "Free-form pronouns text.";
|
|
31
|
+
readonly maxGraphemes: 20;
|
|
32
|
+
readonly maxLength: 200;
|
|
33
|
+
};
|
|
34
|
+
readonly website: {
|
|
35
|
+
readonly type: "string";
|
|
36
|
+
readonly format: "uri";
|
|
37
|
+
};
|
|
38
|
+
readonly avatar: {
|
|
39
|
+
readonly type: "union";
|
|
40
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
41
|
+
readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'";
|
|
42
|
+
};
|
|
43
|
+
readonly banner: {
|
|
44
|
+
readonly type: "union";
|
|
45
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
|
|
46
|
+
readonly description: "Larger horizontal image to display behind profile view.";
|
|
47
|
+
};
|
|
48
|
+
readonly createdAt: {
|
|
49
|
+
readonly type: "string";
|
|
50
|
+
readonly format: "datetime";
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
6
57
|
readonly AppCertifiedBadgeAward: {
|
|
7
58
|
readonly lexicon: 1;
|
|
8
59
|
readonly id: "app.certified.badge.award";
|
|
@@ -129,9 +180,17 @@ export declare const schemaDict: {
|
|
|
129
180
|
readonly description: "Common type definitions used across certified protocols.";
|
|
130
181
|
readonly defs: {
|
|
131
182
|
readonly did: {
|
|
132
|
-
readonly type: "
|
|
133
|
-
readonly format: "did";
|
|
183
|
+
readonly type: "object";
|
|
134
184
|
readonly description: "A Decentralized Identifier (DID) string.";
|
|
185
|
+
readonly required: ["did"];
|
|
186
|
+
readonly properties: {
|
|
187
|
+
readonly did: {
|
|
188
|
+
readonly type: "string";
|
|
189
|
+
readonly format: "did";
|
|
190
|
+
readonly description: "The DID string value.";
|
|
191
|
+
readonly maxLength: 256;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
135
194
|
};
|
|
136
195
|
};
|
|
137
196
|
};
|
|
@@ -160,8 +219,8 @@ export declare const schemaDict: {
|
|
|
160
219
|
};
|
|
161
220
|
readonly locationType: {
|
|
162
221
|
readonly type: "string";
|
|
163
|
-
readonly description: "An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point)";
|
|
164
|
-
readonly knownValues: ["coordinate-decimal", "geojson-point"];
|
|
222
|
+
readonly description: "An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point). See the Location Protocol spec for the full registry: https://spec.decentralizedgeo.org/specification/location-types/#location-type-registry";
|
|
223
|
+
readonly knownValues: ["coordinate-decimal", "geojson-point", "geojson", "h3", "geohash", "wkt", "address", "scaledCoordinates"];
|
|
165
224
|
readonly maxLength: 20;
|
|
166
225
|
};
|
|
167
226
|
readonly location: {
|
|
@@ -225,6 +284,47 @@ export declare const schemaDict: {
|
|
|
225
284
|
};
|
|
226
285
|
};
|
|
227
286
|
};
|
|
287
|
+
readonly OrgHypercertsAcknowledgement: {
|
|
288
|
+
readonly lexicon: 1;
|
|
289
|
+
readonly id: "org.hypercerts.acknowledgement";
|
|
290
|
+
readonly defs: {
|
|
291
|
+
readonly main: {
|
|
292
|
+
readonly type: "record";
|
|
293
|
+
readonly description: "Acknowledges the inclusion of one record (subject) within another (context). Typically created in the subject owner's repo to form a bidirectional link. For example, a contributor acknowledging inclusion in an activity, or an activity owner acknowledging inclusion in a collection.";
|
|
294
|
+
readonly key: "tid";
|
|
295
|
+
readonly record: {
|
|
296
|
+
readonly type: "object";
|
|
297
|
+
readonly required: ["subject", "context", "acknowledged", "createdAt"];
|
|
298
|
+
readonly properties: {
|
|
299
|
+
readonly subject: {
|
|
300
|
+
readonly type: "ref";
|
|
301
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
302
|
+
readonly description: "The record whose inclusion is being acknowledged (e.g. an activity, a contributor information record).";
|
|
303
|
+
};
|
|
304
|
+
readonly context: {
|
|
305
|
+
readonly type: "ref";
|
|
306
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
307
|
+
readonly description: "The record that includes the subject (e.g. a collection/project that includes an activity, or an activity that includes a contributor).";
|
|
308
|
+
};
|
|
309
|
+
readonly acknowledged: {
|
|
310
|
+
readonly type: "boolean";
|
|
311
|
+
readonly description: "Whether inclusion is acknowledged (true) or rejected (false).";
|
|
312
|
+
};
|
|
313
|
+
readonly comment: {
|
|
314
|
+
readonly type: "string";
|
|
315
|
+
readonly description: "Optional comment providing additional context or reasoning.";
|
|
316
|
+
readonly maxLength: 1000;
|
|
317
|
+
};
|
|
318
|
+
readonly createdAt: {
|
|
319
|
+
readonly type: "string";
|
|
320
|
+
readonly format: "datetime";
|
|
321
|
+
readonly description: "Client-declared timestamp when this record was originally created.";
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
};
|
|
327
|
+
};
|
|
228
328
|
readonly OrgHypercertsClaimActivity: {
|
|
229
329
|
readonly lexicon: 1;
|
|
230
330
|
readonly id: "org.hypercerts.claim.activity";
|
|
@@ -340,20 +440,43 @@ export declare const schemaDict: {
|
|
|
340
440
|
};
|
|
341
441
|
};
|
|
342
442
|
readonly contributorIdentity: {
|
|
343
|
-
readonly type: "
|
|
443
|
+
readonly type: "object";
|
|
344
444
|
readonly description: "Contributor information as a string (DID or identifier).";
|
|
445
|
+
readonly required: ["identity"];
|
|
446
|
+
readonly properties: {
|
|
447
|
+
readonly identity: {
|
|
448
|
+
readonly type: "string";
|
|
449
|
+
readonly description: "The contributor identity string (DID or identifier).";
|
|
450
|
+
readonly maxLength: 1000;
|
|
451
|
+
readonly maxGraphemes: 100;
|
|
452
|
+
};
|
|
453
|
+
};
|
|
345
454
|
};
|
|
346
455
|
readonly contributorRole: {
|
|
347
|
-
readonly type: "
|
|
456
|
+
readonly type: "object";
|
|
348
457
|
readonly description: "Contribution details as a string.";
|
|
349
|
-
readonly
|
|
350
|
-
readonly
|
|
458
|
+
readonly required: ["role"];
|
|
459
|
+
readonly properties: {
|
|
460
|
+
readonly role: {
|
|
461
|
+
readonly type: "string";
|
|
462
|
+
readonly description: "The contribution role or details.";
|
|
463
|
+
readonly maxLength: 1000;
|
|
464
|
+
readonly maxGraphemes: 100;
|
|
465
|
+
};
|
|
466
|
+
};
|
|
351
467
|
};
|
|
352
468
|
readonly workScopeString: {
|
|
353
|
-
readonly type: "
|
|
469
|
+
readonly type: "object";
|
|
354
470
|
readonly description: "A free-form string describing the work scope for simple or legacy scopes.";
|
|
355
|
-
readonly
|
|
356
|
-
readonly
|
|
471
|
+
readonly required: ["scope"];
|
|
472
|
+
readonly properties: {
|
|
473
|
+
readonly scope: {
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
readonly description: "The work scope description string.";
|
|
476
|
+
readonly maxLength: 1000;
|
|
477
|
+
readonly maxGraphemes: 100;
|
|
478
|
+
};
|
|
479
|
+
};
|
|
357
480
|
};
|
|
358
481
|
};
|
|
359
482
|
};
|
|
@@ -1034,6 +1157,56 @@ export declare const schemaDict: {
|
|
|
1034
1157
|
};
|
|
1035
1158
|
};
|
|
1036
1159
|
export declare const schemas: ({
|
|
1160
|
+
readonly lexicon: 1;
|
|
1161
|
+
readonly id: "app.certified.actor.profile";
|
|
1162
|
+
readonly defs: {
|
|
1163
|
+
readonly main: {
|
|
1164
|
+
readonly type: "record";
|
|
1165
|
+
readonly description: "A declaration of a Hypercert account profile.";
|
|
1166
|
+
readonly key: "literal:self";
|
|
1167
|
+
readonly record: {
|
|
1168
|
+
readonly type: "object";
|
|
1169
|
+
readonly properties: {
|
|
1170
|
+
readonly displayName: {
|
|
1171
|
+
readonly type: "string";
|
|
1172
|
+
readonly maxGraphemes: 64;
|
|
1173
|
+
readonly maxLength: 640;
|
|
1174
|
+
};
|
|
1175
|
+
readonly description: {
|
|
1176
|
+
readonly type: "string";
|
|
1177
|
+
readonly description: "Free-form profile description text.";
|
|
1178
|
+
readonly maxGraphemes: 256;
|
|
1179
|
+
readonly maxLength: 2560;
|
|
1180
|
+
};
|
|
1181
|
+
readonly pronouns: {
|
|
1182
|
+
readonly type: "string";
|
|
1183
|
+
readonly description: "Free-form pronouns text.";
|
|
1184
|
+
readonly maxGraphemes: 20;
|
|
1185
|
+
readonly maxLength: 200;
|
|
1186
|
+
};
|
|
1187
|
+
readonly website: {
|
|
1188
|
+
readonly type: "string";
|
|
1189
|
+
readonly format: "uri";
|
|
1190
|
+
};
|
|
1191
|
+
readonly avatar: {
|
|
1192
|
+
readonly type: "union";
|
|
1193
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
|
|
1194
|
+
readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'";
|
|
1195
|
+
};
|
|
1196
|
+
readonly banner: {
|
|
1197
|
+
readonly type: "union";
|
|
1198
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#largeImage"];
|
|
1199
|
+
readonly description: "Larger horizontal image to display behind profile view.";
|
|
1200
|
+
};
|
|
1201
|
+
readonly createdAt: {
|
|
1202
|
+
readonly type: "string";
|
|
1203
|
+
readonly format: "datetime";
|
|
1204
|
+
};
|
|
1205
|
+
};
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
} | {
|
|
1037
1210
|
readonly lexicon: 1;
|
|
1038
1211
|
readonly id: "app.certified.badge.award";
|
|
1039
1212
|
readonly defs: {
|
|
@@ -1156,9 +1329,17 @@ export declare const schemas: ({
|
|
|
1156
1329
|
readonly description: "Common type definitions used across certified protocols.";
|
|
1157
1330
|
readonly defs: {
|
|
1158
1331
|
readonly did: {
|
|
1159
|
-
readonly type: "
|
|
1160
|
-
readonly format: "did";
|
|
1332
|
+
readonly type: "object";
|
|
1161
1333
|
readonly description: "A Decentralized Identifier (DID) string.";
|
|
1334
|
+
readonly required: ["did"];
|
|
1335
|
+
readonly properties: {
|
|
1336
|
+
readonly did: {
|
|
1337
|
+
readonly type: "string";
|
|
1338
|
+
readonly format: "did";
|
|
1339
|
+
readonly description: "The DID string value.";
|
|
1340
|
+
readonly maxLength: 256;
|
|
1341
|
+
};
|
|
1342
|
+
};
|
|
1162
1343
|
};
|
|
1163
1344
|
};
|
|
1164
1345
|
} | {
|
|
@@ -1186,8 +1367,8 @@ export declare const schemas: ({
|
|
|
1186
1367
|
};
|
|
1187
1368
|
readonly locationType: {
|
|
1188
1369
|
readonly type: "string";
|
|
1189
|
-
readonly description: "An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point)";
|
|
1190
|
-
readonly knownValues: ["coordinate-decimal", "geojson-point"];
|
|
1370
|
+
readonly description: "An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point). See the Location Protocol spec for the full registry: https://spec.decentralizedgeo.org/specification/location-types/#location-type-registry";
|
|
1371
|
+
readonly knownValues: ["coordinate-decimal", "geojson-point", "geojson", "h3", "geohash", "wkt", "address", "scaledCoordinates"];
|
|
1191
1372
|
readonly maxLength: 20;
|
|
1192
1373
|
};
|
|
1193
1374
|
readonly location: {
|
|
@@ -1249,6 +1430,46 @@ export declare const schemas: ({
|
|
|
1249
1430
|
};
|
|
1250
1431
|
};
|
|
1251
1432
|
};
|
|
1433
|
+
} | {
|
|
1434
|
+
readonly lexicon: 1;
|
|
1435
|
+
readonly id: "org.hypercerts.acknowledgement";
|
|
1436
|
+
readonly defs: {
|
|
1437
|
+
readonly main: {
|
|
1438
|
+
readonly type: "record";
|
|
1439
|
+
readonly description: "Acknowledges the inclusion of one record (subject) within another (context). Typically created in the subject owner's repo to form a bidirectional link. For example, a contributor acknowledging inclusion in an activity, or an activity owner acknowledging inclusion in a collection.";
|
|
1440
|
+
readonly key: "tid";
|
|
1441
|
+
readonly record: {
|
|
1442
|
+
readonly type: "object";
|
|
1443
|
+
readonly required: ["subject", "context", "acknowledged", "createdAt"];
|
|
1444
|
+
readonly properties: {
|
|
1445
|
+
readonly subject: {
|
|
1446
|
+
readonly type: "ref";
|
|
1447
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1448
|
+
readonly description: "The record whose inclusion is being acknowledged (e.g. an activity, a contributor information record).";
|
|
1449
|
+
};
|
|
1450
|
+
readonly context: {
|
|
1451
|
+
readonly type: "ref";
|
|
1452
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1453
|
+
readonly description: "The record that includes the subject (e.g. a collection/project that includes an activity, or an activity that includes a contributor).";
|
|
1454
|
+
};
|
|
1455
|
+
readonly acknowledged: {
|
|
1456
|
+
readonly type: "boolean";
|
|
1457
|
+
readonly description: "Whether inclusion is acknowledged (true) or rejected (false).";
|
|
1458
|
+
};
|
|
1459
|
+
readonly comment: {
|
|
1460
|
+
readonly type: "string";
|
|
1461
|
+
readonly description: "Optional comment providing additional context or reasoning.";
|
|
1462
|
+
readonly maxLength: 1000;
|
|
1463
|
+
};
|
|
1464
|
+
readonly createdAt: {
|
|
1465
|
+
readonly type: "string";
|
|
1466
|
+
readonly format: "datetime";
|
|
1467
|
+
readonly description: "Client-declared timestamp when this record was originally created.";
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
};
|
|
1472
|
+
};
|
|
1252
1473
|
} | {
|
|
1253
1474
|
readonly lexicon: 1;
|
|
1254
1475
|
readonly id: "org.hypercerts.claim.activity";
|
|
@@ -1364,20 +1585,43 @@ export declare const schemas: ({
|
|
|
1364
1585
|
};
|
|
1365
1586
|
};
|
|
1366
1587
|
readonly contributorIdentity: {
|
|
1367
|
-
readonly type: "
|
|
1588
|
+
readonly type: "object";
|
|
1368
1589
|
readonly description: "Contributor information as a string (DID or identifier).";
|
|
1590
|
+
readonly required: ["identity"];
|
|
1591
|
+
readonly properties: {
|
|
1592
|
+
readonly identity: {
|
|
1593
|
+
readonly type: "string";
|
|
1594
|
+
readonly description: "The contributor identity string (DID or identifier).";
|
|
1595
|
+
readonly maxLength: 1000;
|
|
1596
|
+
readonly maxGraphemes: 100;
|
|
1597
|
+
};
|
|
1598
|
+
};
|
|
1369
1599
|
};
|
|
1370
1600
|
readonly contributorRole: {
|
|
1371
|
-
readonly type: "
|
|
1601
|
+
readonly type: "object";
|
|
1372
1602
|
readonly description: "Contribution details as a string.";
|
|
1373
|
-
readonly
|
|
1374
|
-
readonly
|
|
1603
|
+
readonly required: ["role"];
|
|
1604
|
+
readonly properties: {
|
|
1605
|
+
readonly role: {
|
|
1606
|
+
readonly type: "string";
|
|
1607
|
+
readonly description: "The contribution role or details.";
|
|
1608
|
+
readonly maxLength: 1000;
|
|
1609
|
+
readonly maxGraphemes: 100;
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1375
1612
|
};
|
|
1376
1613
|
readonly workScopeString: {
|
|
1377
|
-
readonly type: "
|
|
1614
|
+
readonly type: "object";
|
|
1378
1615
|
readonly description: "A free-form string describing the work scope for simple or legacy scopes.";
|
|
1379
|
-
readonly
|
|
1380
|
-
readonly
|
|
1616
|
+
readonly required: ["scope"];
|
|
1617
|
+
readonly properties: {
|
|
1618
|
+
readonly scope: {
|
|
1619
|
+
readonly type: "string";
|
|
1620
|
+
readonly description: "The work scope description string.";
|
|
1621
|
+
readonly maxLength: 1000;
|
|
1622
|
+
readonly maxGraphemes: 100;
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1381
1625
|
};
|
|
1382
1626
|
};
|
|
1383
1627
|
} | {
|
|
@@ -2054,12 +2298,14 @@ export declare function validate<T extends {
|
|
|
2054
2298
|
$type?: string;
|
|
2055
2299
|
}>(v: unknown, id: string, hash: string, requiredType?: false): ValidationResult<T>;
|
|
2056
2300
|
export declare const ids: {
|
|
2301
|
+
readonly AppCertifiedActorProfile: "app.certified.actor.profile";
|
|
2057
2302
|
readonly AppCertifiedBadgeAward: "app.certified.badge.award";
|
|
2058
2303
|
readonly AppCertifiedBadgeDefinition: "app.certified.badge.definition";
|
|
2059
2304
|
readonly AppCertifiedBadgeResponse: "app.certified.badge.response";
|
|
2060
2305
|
readonly AppCertifiedDefs: "app.certified.defs";
|
|
2061
2306
|
readonly AppCertifiedLocation: "app.certified.location";
|
|
2062
2307
|
readonly ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef";
|
|
2308
|
+
readonly OrgHypercertsAcknowledgement: "org.hypercerts.acknowledgement";
|
|
2063
2309
|
readonly OrgHypercertsClaimActivity: "org.hypercerts.claim.activity";
|
|
2064
2310
|
readonly OrgHypercertsClaimAttachment: "org.hypercerts.claim.attachment";
|
|
2065
2311
|
readonly OrgHypercertsClaimCollection: "org.hypercerts.claim.collection";
|