@hypercerts-org/lexicon 0.10.0-beta.3 → 0.10.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/README.md +66 -311
  3. package/SCHEMAS.md +276 -0
  4. package/dist/exports.d.ts +34 -130
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +34 -130
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +96 -278
  9. package/dist/generated/lexicons.d.ts.map +1 -1
  10. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +6 -19
  11. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  12. package/dist/generated/types/org/hypercerts/claim/collection.d.ts +9 -9
  13. package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -1
  14. package/dist/generated/types/org/hypercerts/claim/contributor.d.ts +31 -0
  15. package/dist/generated/types/org/hypercerts/claim/contributor.d.ts.map +1 -0
  16. package/dist/index.cjs +261 -503
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.mjs +253 -491
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/lexicons.cjs +52 -147
  21. package/dist/lexicons.cjs.map +1 -1
  22. package/dist/lexicons.d.ts +96 -278
  23. package/dist/lexicons.d.ts.map +1 -1
  24. package/dist/lexicons.mjs +52 -147
  25. package/dist/lexicons.mjs.map +1 -1
  26. package/dist/types/org/hypercerts/claim/activity.d.ts +6 -19
  27. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  28. package/dist/types/org/hypercerts/claim/collection.d.ts +9 -9
  29. package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -1
  30. package/dist/types/org/hypercerts/claim/contributor.d.ts +31 -0
  31. package/dist/types/org/hypercerts/claim/contributor.d.ts.map +1 -0
  32. package/lexicons/org/hypercerts/claim/activity.json +11 -48
  33. package/lexicons/org/hypercerts/claim/collection.json +14 -17
  34. package/lexicons/org/hypercerts/claim/{contribution.json → contributor.json} +24 -14
  35. package/lexicons/org/hypercerts/claim/evaluation.json +1 -1
  36. package/package.json +8 -4
  37. package/dist/generated/types/org/hypercerts/claim/contribution.d.ts +0 -24
  38. package/dist/generated/types/org/hypercerts/claim/contribution.d.ts.map +0 -1
  39. package/dist/generated/types/org/hypercerts/claim/project.d.ts +0 -29
  40. package/dist/generated/types/org/hypercerts/claim/project.d.ts.map +0 -1
  41. package/dist/types/org/hypercerts/claim/contribution.d.ts +0 -24
  42. package/dist/types/org/hypercerts/claim/contribution.d.ts.map +0 -1
  43. package/dist/types/org/hypercerts/claim/project.d.ts +0 -29
  44. package/dist/types/org/hypercerts/claim/project.d.ts.map +0 -1
  45. package/lexicons/org/hypercerts/claim/project.json +0 -64
@@ -222,7 +222,7 @@ export declare const schemaDict: {
222
222
  readonly key: "any";
223
223
  readonly record: {
224
224
  readonly type: "object";
225
- readonly required: ["title", "shortDescription", "createdAt", "startDate", "endDate"];
225
+ readonly required: ["title", "shortDescription", "createdAt"];
226
226
  readonly properties: {
227
227
  readonly title: {
228
228
  readonly type: "string";
@@ -248,7 +248,8 @@ export declare const schemaDict: {
248
248
  };
249
249
  readonly workScope: {
250
250
  readonly type: "ref";
251
- readonly ref: "lex:org.hypercerts.claim.activity#workScope";
251
+ readonly ref: "lex:com.atproto.repo.strongRef";
252
+ readonly description: "A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions.";
252
253
  };
253
254
  readonly startDate: {
254
255
  readonly type: "string";
@@ -262,7 +263,7 @@ export declare const schemaDict: {
262
263
  };
263
264
  readonly contributions: {
264
265
  readonly type: "array";
265
- readonly description: "A strong reference to the contributions done to create the impact in the hypercerts. The record referenced must conform with the lexicon org.hypercerts.claim.contribution.";
266
+ readonly description: "A strong reference to the contributions done to create the impact in the hypercerts. The record referenced must conform with the lexicon org.hypercerts.claim.contributor.";
266
267
  readonly items: {
267
268
  readonly type: "ref";
268
269
  readonly ref: "lex:com.atproto.repo.strongRef";
@@ -273,15 +274,13 @@ export declare const schemaDict: {
273
274
  readonly ref: "lex:com.atproto.repo.strongRef";
274
275
  readonly description: "A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights.";
275
276
  };
276
- readonly location: {
277
- readonly type: "ref";
278
- readonly ref: "lex:com.atproto.repo.strongRef";
279
- readonly description: "A strong reference to the location where the activity was performed. The record referenced must conform with the lexicon app.certified.location.";
280
- };
281
- readonly project: {
282
- readonly type: "string";
283
- readonly format: "at-uri";
284
- readonly description: "A reference (AT-URI) to the project record that this activity is part of. The record referenced must conform with the lexicon org.hypercerts.claim.project. This activity must also be referenced by the project, establishing a bidirectional link.";
277
+ readonly locations: {
278
+ readonly type: "array";
279
+ readonly description: "An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location.";
280
+ readonly items: {
281
+ readonly type: "ref";
282
+ readonly ref: "lex:com.atproto.repo.strongRef";
283
+ };
285
284
  };
286
285
  readonly createdAt: {
287
286
  readonly type: "string";
@@ -291,36 +290,6 @@ export declare const schemaDict: {
291
290
  };
292
291
  };
293
292
  };
294
- readonly workScope: {
295
- readonly type: "object";
296
- readonly description: "Logical scope of the work using label-based conditions. All labels in `withinAllOf` must apply; at least one label in `withinAnyOf` must apply if provided; no label in `withinNoneOf` may apply.";
297
- readonly properties: {
298
- readonly withinAllOf: {
299
- readonly type: "array";
300
- readonly description: "Labels that MUST all hold for the scope to apply.";
301
- readonly items: {
302
- readonly type: "string";
303
- };
304
- readonly maxLength: 100;
305
- };
306
- readonly withinAnyOf: {
307
- readonly type: "array";
308
- readonly description: "Labels of which AT LEAST ONE must hold (optional). If omitted or empty, imposes no additional condition.";
309
- readonly items: {
310
- readonly type: "string";
311
- };
312
- readonly maxLength: 100;
313
- };
314
- readonly withinNoneOf: {
315
- readonly type: "array";
316
- readonly description: "Labels that MUST NOT hold for the scope to apply.";
317
- readonly items: {
318
- readonly type: "string";
319
- };
320
- readonly maxLength: 100;
321
- };
322
- };
323
- };
324
293
  readonly activityWeight: {
325
294
  readonly type: "object";
326
295
  readonly required: ["activity", "weight"];
@@ -344,12 +313,16 @@ export declare const schemaDict: {
344
313
  readonly defs: {
345
314
  readonly main: {
346
315
  readonly type: "record";
347
- readonly description: "A collection/group of hypercerts that have a specific property.";
316
+ readonly description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.";
348
317
  readonly key: "tid";
349
318
  readonly record: {
350
319
  readonly type: "object";
351
- readonly required: ["title", "activities", "createdAt"];
320
+ readonly required: ["title", "items", "createdAt"];
352
321
  readonly properties: {
322
+ readonly type: {
323
+ readonly type: "string";
324
+ readonly description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection.";
325
+ };
353
326
  readonly title: {
354
327
  readonly type: "string";
355
328
  readonly description: "The title of this collection";
@@ -360,26 +333,19 @@ export declare const schemaDict: {
360
333
  readonly type: "string";
361
334
  readonly maxLength: 3000;
362
335
  readonly maxGraphemes: 300;
363
- readonly description: "A short description of this collection";
364
- };
365
- readonly avatar: {
366
- readonly type: "blob";
367
- readonly description: "Primary avatar image representing this collection across apps and views; typically a square image.";
368
- readonly accept: ["image/png", "image/jpeg"];
369
- readonly maxSize: 1000000;
336
+ readonly description: "Short summary of this collection, suitable for previews and list views";
370
337
  };
371
- readonly coverPhoto: {
372
- readonly type: "blob";
373
- readonly description: "The cover photo of this collection.";
374
- readonly accept: ["image/png", "image/jpeg"];
375
- readonly maxSize: 1000000;
338
+ readonly description: {
339
+ readonly type: "ref";
340
+ readonly ref: "lex:pub.leaflet.pages.linearDocument#main";
341
+ readonly description: "Rich-text description, represented as a Leaflet linear document.";
376
342
  };
377
- readonly activities: {
343
+ readonly items: {
378
344
  readonly type: "array";
379
- readonly description: "Array of activities with their associated weights in this collection";
345
+ readonly description: "Array of strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).";
380
346
  readonly items: {
381
347
  readonly type: "ref";
382
- readonly ref: "lex:org.hypercerts.claim.activity#activityWeight";
348
+ readonly ref: "lex:com.atproto.repo.strongRef";
383
349
  };
384
350
  };
385
351
  readonly createdAt: {
@@ -392,9 +358,9 @@ export declare const schemaDict: {
392
358
  };
393
359
  };
394
360
  };
395
- readonly OrgHypercertsClaimContribution: {
361
+ readonly OrgHypercertsClaimContributor: {
396
362
  readonly lexicon: 1;
397
- readonly id: "org.hypercerts.claim.contribution";
363
+ readonly id: "org.hypercerts.claim.contributor";
398
364
  readonly defs: {
399
365
  readonly main: {
400
366
  readonly type: "record";
@@ -402,23 +368,30 @@ export declare const schemaDict: {
402
368
  readonly key: "tid";
403
369
  readonly record: {
404
370
  readonly type: "object";
405
- readonly required: ["contributors", "createdAt"];
371
+ readonly required: ["createdAt"];
406
372
  readonly properties: {
407
- readonly role: {
373
+ readonly identifier: {
408
374
  readonly type: "string";
409
- readonly description: "Role or title of the contributor(s).";
375
+ readonly description: "DID or a URI to a social profile of the contributor.";
376
+ };
377
+ readonly displayName: {
378
+ readonly type: "string";
379
+ readonly description: "Display name of the contributor.";
410
380
  readonly maxLength: 100;
411
381
  };
412
- readonly contributors: {
413
- readonly type: "array";
414
- readonly description: "List of the contributors (names, pseudonyms, or DIDs). If multiple contributors are stored in the same hypercertContribution, then they would have the exact same role.";
415
- readonly items: {
416
- readonly type: "string";
417
- };
382
+ readonly image: {
383
+ readonly type: "union";
384
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
385
+ readonly description: "The contributor visual representation as a URI or image blob.";
418
386
  };
419
- readonly description: {
387
+ readonly role: {
420
388
  readonly type: "string";
421
- readonly description: "What the contribution concretely achieved";
389
+ readonly description: "Role or title of the contributor.";
390
+ readonly maxLength: 100;
391
+ };
392
+ readonly contributionDescription: {
393
+ readonly type: "string";
394
+ readonly description: "What the contribution concretely achieved.";
422
395
  readonly maxLength: 2000;
423
396
  readonly maxGraphemes: 500;
424
397
  };
@@ -430,12 +403,12 @@ export declare const schemaDict: {
430
403
  readonly endDate: {
431
404
  readonly type: "string";
432
405
  readonly format: "datetime";
433
- readonly description: "When this contribution finished. This should be a subset of the hypercert timeframe.";
406
+ readonly description: "When this contribution finished. This should be a subset of the hypercert timeframe.";
434
407
  };
435
408
  readonly createdAt: {
436
409
  readonly type: "string";
437
410
  readonly format: "datetime";
438
- readonly description: "Client-declared timestamp when this record was originally created";
411
+ readonly description: "Client-declared timestamp when this record was originally created.";
439
412
  };
440
413
  };
441
414
  };
@@ -498,7 +471,7 @@ export declare const schemaDict: {
498
471
  };
499
472
  readonly measurements: {
500
473
  readonly type: "array";
501
- readonly description: "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement ";
474
+ readonly description: "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement";
502
475
  readonly items: {
503
476
  readonly type: "ref";
504
477
  readonly ref: "lex:com.atproto.repo.strongRef";
@@ -655,70 +628,6 @@ export declare const schemaDict: {
655
628
  };
656
629
  };
657
630
  };
658
- readonly OrgHypercertsClaimProject: {
659
- readonly lexicon: 1;
660
- readonly id: "org.hypercerts.claim.project";
661
- readonly defs: {
662
- readonly main: {
663
- readonly type: "record";
664
- readonly description: "A project that can include multiple activities, each of which may be linked to at most one project.";
665
- readonly key: "tid";
666
- readonly record: {
667
- readonly type: "object";
668
- readonly required: ["title", "shortDescription", "createdAt"];
669
- readonly properties: {
670
- readonly title: {
671
- readonly type: "string";
672
- readonly description: "Title of this project";
673
- readonly maxLength: 800;
674
- readonly maxGraphemes: 80;
675
- };
676
- readonly shortDescription: {
677
- readonly type: "string";
678
- readonly maxLength: 3000;
679
- readonly maxGraphemes: 300;
680
- readonly description: "Short summary of this project, suitable for previews and list views.";
681
- };
682
- readonly description: {
683
- readonly type: "ref";
684
- readonly ref: "lex:pub.leaflet.pages.linearDocument#main";
685
- readonly description: "Rich-text description of this project, represented as a Leaflet linear document.";
686
- };
687
- readonly avatar: {
688
- readonly type: "blob";
689
- readonly description: "Primary avatar image representing this project across apps and views; typically a square logo or project identity image.";
690
- readonly accept: ["image/png", "image/jpeg"];
691
- readonly maxSize: 1000000;
692
- };
693
- readonly coverPhoto: {
694
- readonly type: "blob";
695
- readonly description: "The cover photo of this project.";
696
- readonly accept: ["image/png", "image/jpeg"];
697
- readonly maxSize: 1000000;
698
- };
699
- readonly activities: {
700
- readonly type: "array";
701
- readonly description: "Array of activities with their associated weights in this project";
702
- readonly items: {
703
- readonly type: "ref";
704
- readonly ref: "lex:org.hypercerts.claim.activity#activityWeight";
705
- };
706
- };
707
- readonly location: {
708
- readonly type: "ref";
709
- readonly ref: "lex:com.atproto.repo.strongRef";
710
- readonly description: "A strong reference to a location record describing where the work for this project took place. The referenced record must conform to the app.certified.location lexicon.";
711
- };
712
- readonly createdAt: {
713
- readonly type: "string";
714
- readonly format: "datetime";
715
- readonly description: "Client-declared timestamp when this record was originally created";
716
- };
717
- };
718
- };
719
- };
720
- };
721
- };
722
631
  readonly OrgHypercertsClaimRights: {
723
632
  readonly lexicon: 1;
724
633
  readonly id: "org.hypercerts.claim.rights";
@@ -1111,7 +1020,7 @@ export declare const schemas: ({
1111
1020
  readonly key: "any";
1112
1021
  readonly record: {
1113
1022
  readonly type: "object";
1114
- readonly required: ["title", "shortDescription", "createdAt", "startDate", "endDate"];
1023
+ readonly required: ["title", "shortDescription", "createdAt"];
1115
1024
  readonly properties: {
1116
1025
  readonly title: {
1117
1026
  readonly type: "string";
@@ -1137,7 +1046,8 @@ export declare const schemas: ({
1137
1046
  };
1138
1047
  readonly workScope: {
1139
1048
  readonly type: "ref";
1140
- readonly ref: "lex:org.hypercerts.claim.activity#workScope";
1049
+ readonly ref: "lex:com.atproto.repo.strongRef";
1050
+ readonly description: "A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions.";
1141
1051
  };
1142
1052
  readonly startDate: {
1143
1053
  readonly type: "string";
@@ -1151,7 +1061,7 @@ export declare const schemas: ({
1151
1061
  };
1152
1062
  readonly contributions: {
1153
1063
  readonly type: "array";
1154
- readonly description: "A strong reference to the contributions done to create the impact in the hypercerts. The record referenced must conform with the lexicon org.hypercerts.claim.contribution.";
1064
+ readonly description: "A strong reference to the contributions done to create the impact in the hypercerts. The record referenced must conform with the lexicon org.hypercerts.claim.contributor.";
1155
1065
  readonly items: {
1156
1066
  readonly type: "ref";
1157
1067
  readonly ref: "lex:com.atproto.repo.strongRef";
@@ -1162,15 +1072,13 @@ export declare const schemas: ({
1162
1072
  readonly ref: "lex:com.atproto.repo.strongRef";
1163
1073
  readonly description: "A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights.";
1164
1074
  };
1165
- readonly location: {
1166
- readonly type: "ref";
1167
- readonly ref: "lex:com.atproto.repo.strongRef";
1168
- readonly description: "A strong reference to the location where the activity was performed. The record referenced must conform with the lexicon app.certified.location.";
1169
- };
1170
- readonly project: {
1171
- readonly type: "string";
1172
- readonly format: "at-uri";
1173
- readonly description: "A reference (AT-URI) to the project record that this activity is part of. The record referenced must conform with the lexicon org.hypercerts.claim.project. This activity must also be referenced by the project, establishing a bidirectional link.";
1075
+ readonly locations: {
1076
+ readonly type: "array";
1077
+ readonly description: "An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location.";
1078
+ readonly items: {
1079
+ readonly type: "ref";
1080
+ readonly ref: "lex:com.atproto.repo.strongRef";
1081
+ };
1174
1082
  };
1175
1083
  readonly createdAt: {
1176
1084
  readonly type: "string";
@@ -1180,36 +1088,6 @@ export declare const schemas: ({
1180
1088
  };
1181
1089
  };
1182
1090
  };
1183
- readonly workScope: {
1184
- readonly type: "object";
1185
- readonly description: "Logical scope of the work using label-based conditions. All labels in `withinAllOf` must apply; at least one label in `withinAnyOf` must apply if provided; no label in `withinNoneOf` may apply.";
1186
- readonly properties: {
1187
- readonly withinAllOf: {
1188
- readonly type: "array";
1189
- readonly description: "Labels that MUST all hold for the scope to apply.";
1190
- readonly items: {
1191
- readonly type: "string";
1192
- };
1193
- readonly maxLength: 100;
1194
- };
1195
- readonly withinAnyOf: {
1196
- readonly type: "array";
1197
- readonly description: "Labels of which AT LEAST ONE must hold (optional). If omitted or empty, imposes no additional condition.";
1198
- readonly items: {
1199
- readonly type: "string";
1200
- };
1201
- readonly maxLength: 100;
1202
- };
1203
- readonly withinNoneOf: {
1204
- readonly type: "array";
1205
- readonly description: "Labels that MUST NOT hold for the scope to apply.";
1206
- readonly items: {
1207
- readonly type: "string";
1208
- };
1209
- readonly maxLength: 100;
1210
- };
1211
- };
1212
- };
1213
1091
  readonly activityWeight: {
1214
1092
  readonly type: "object";
1215
1093
  readonly required: ["activity", "weight"];
@@ -1232,12 +1110,16 @@ export declare const schemas: ({
1232
1110
  readonly defs: {
1233
1111
  readonly main: {
1234
1112
  readonly type: "record";
1235
- readonly description: "A collection/group of hypercerts that have a specific property.";
1113
+ readonly description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting. Use app.certified.location as a sidecar (same TID) for location metadata.";
1236
1114
  readonly key: "tid";
1237
1115
  readonly record: {
1238
1116
  readonly type: "object";
1239
- readonly required: ["title", "activities", "createdAt"];
1117
+ readonly required: ["title", "items", "createdAt"];
1240
1118
  readonly properties: {
1119
+ readonly type: {
1120
+ readonly type: "string";
1121
+ readonly description: "The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection.";
1122
+ };
1241
1123
  readonly title: {
1242
1124
  readonly type: "string";
1243
1125
  readonly description: "The title of this collection";
@@ -1248,26 +1130,19 @@ export declare const schemas: ({
1248
1130
  readonly type: "string";
1249
1131
  readonly maxLength: 3000;
1250
1132
  readonly maxGraphemes: 300;
1251
- readonly description: "A short description of this collection";
1252
- };
1253
- readonly avatar: {
1254
- readonly type: "blob";
1255
- readonly description: "Primary avatar image representing this collection across apps and views; typically a square image.";
1256
- readonly accept: ["image/png", "image/jpeg"];
1257
- readonly maxSize: 1000000;
1133
+ readonly description: "Short summary of this collection, suitable for previews and list views";
1258
1134
  };
1259
- readonly coverPhoto: {
1260
- readonly type: "blob";
1261
- readonly description: "The cover photo of this collection.";
1262
- readonly accept: ["image/png", "image/jpeg"];
1263
- readonly maxSize: 1000000;
1135
+ readonly description: {
1136
+ readonly type: "ref";
1137
+ readonly ref: "lex:pub.leaflet.pages.linearDocument#main";
1138
+ readonly description: "Rich-text description, represented as a Leaflet linear document.";
1264
1139
  };
1265
- readonly activities: {
1140
+ readonly items: {
1266
1141
  readonly type: "array";
1267
- readonly description: "Array of activities with their associated weights in this collection";
1142
+ readonly description: "Array of strong references to items in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection).";
1268
1143
  readonly items: {
1269
1144
  readonly type: "ref";
1270
- readonly ref: "lex:org.hypercerts.claim.activity#activityWeight";
1145
+ readonly ref: "lex:com.atproto.repo.strongRef";
1271
1146
  };
1272
1147
  };
1273
1148
  readonly createdAt: {
@@ -1281,7 +1156,7 @@ export declare const schemas: ({
1281
1156
  };
1282
1157
  } | {
1283
1158
  readonly lexicon: 1;
1284
- readonly id: "org.hypercerts.claim.contribution";
1159
+ readonly id: "org.hypercerts.claim.contributor";
1285
1160
  readonly defs: {
1286
1161
  readonly main: {
1287
1162
  readonly type: "record";
@@ -1289,23 +1164,30 @@ export declare const schemas: ({
1289
1164
  readonly key: "tid";
1290
1165
  readonly record: {
1291
1166
  readonly type: "object";
1292
- readonly required: ["contributors", "createdAt"];
1167
+ readonly required: ["createdAt"];
1293
1168
  readonly properties: {
1294
- readonly role: {
1169
+ readonly identifier: {
1295
1170
  readonly type: "string";
1296
- readonly description: "Role or title of the contributor(s).";
1171
+ readonly description: "DID or a URI to a social profile of the contributor.";
1172
+ };
1173
+ readonly displayName: {
1174
+ readonly type: "string";
1175
+ readonly description: "Display name of the contributor.";
1297
1176
  readonly maxLength: 100;
1298
1177
  };
1299
- readonly contributors: {
1300
- readonly type: "array";
1301
- readonly description: "List of the contributors (names, pseudonyms, or DIDs). If multiple contributors are stored in the same hypercertContribution, then they would have the exact same role.";
1302
- readonly items: {
1303
- readonly type: "string";
1304
- };
1178
+ readonly image: {
1179
+ readonly type: "union";
1180
+ readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallImage"];
1181
+ readonly description: "The contributor visual representation as a URI or image blob.";
1305
1182
  };
1306
- readonly description: {
1183
+ readonly role: {
1307
1184
  readonly type: "string";
1308
- readonly description: "What the contribution concretely achieved";
1185
+ readonly description: "Role or title of the contributor.";
1186
+ readonly maxLength: 100;
1187
+ };
1188
+ readonly contributionDescription: {
1189
+ readonly type: "string";
1190
+ readonly description: "What the contribution concretely achieved.";
1309
1191
  readonly maxLength: 2000;
1310
1192
  readonly maxGraphemes: 500;
1311
1193
  };
@@ -1317,12 +1199,12 @@ export declare const schemas: ({
1317
1199
  readonly endDate: {
1318
1200
  readonly type: "string";
1319
1201
  readonly format: "datetime";
1320
- readonly description: "When this contribution finished. This should be a subset of the hypercert timeframe.";
1202
+ readonly description: "When this contribution finished. This should be a subset of the hypercert timeframe.";
1321
1203
  };
1322
1204
  readonly createdAt: {
1323
1205
  readonly type: "string";
1324
1206
  readonly format: "datetime";
1325
- readonly description: "Client-declared timestamp when this record was originally created";
1207
+ readonly description: "Client-declared timestamp when this record was originally created.";
1326
1208
  };
1327
1209
  };
1328
1210
  };
@@ -1384,7 +1266,7 @@ export declare const schemas: ({
1384
1266
  };
1385
1267
  readonly measurements: {
1386
1268
  readonly type: "array";
1387
- readonly description: "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement ";
1269
+ readonly description: "Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement";
1388
1270
  readonly items: {
1389
1271
  readonly type: "ref";
1390
1272
  readonly ref: "lex:com.atproto.repo.strongRef";
@@ -1538,69 +1420,6 @@ export declare const schemas: ({
1538
1420
  };
1539
1421
  };
1540
1422
  };
1541
- } | {
1542
- readonly lexicon: 1;
1543
- readonly id: "org.hypercerts.claim.project";
1544
- readonly defs: {
1545
- readonly main: {
1546
- readonly type: "record";
1547
- readonly description: "A project that can include multiple activities, each of which may be linked to at most one project.";
1548
- readonly key: "tid";
1549
- readonly record: {
1550
- readonly type: "object";
1551
- readonly required: ["title", "shortDescription", "createdAt"];
1552
- readonly properties: {
1553
- readonly title: {
1554
- readonly type: "string";
1555
- readonly description: "Title of this project";
1556
- readonly maxLength: 800;
1557
- readonly maxGraphemes: 80;
1558
- };
1559
- readonly shortDescription: {
1560
- readonly type: "string";
1561
- readonly maxLength: 3000;
1562
- readonly maxGraphemes: 300;
1563
- readonly description: "Short summary of this project, suitable for previews and list views.";
1564
- };
1565
- readonly description: {
1566
- readonly type: "ref";
1567
- readonly ref: "lex:pub.leaflet.pages.linearDocument#main";
1568
- readonly description: "Rich-text description of this project, represented as a Leaflet linear document.";
1569
- };
1570
- readonly avatar: {
1571
- readonly type: "blob";
1572
- readonly description: "Primary avatar image representing this project across apps and views; typically a square logo or project identity image.";
1573
- readonly accept: ["image/png", "image/jpeg"];
1574
- readonly maxSize: 1000000;
1575
- };
1576
- readonly coverPhoto: {
1577
- readonly type: "blob";
1578
- readonly description: "The cover photo of this project.";
1579
- readonly accept: ["image/png", "image/jpeg"];
1580
- readonly maxSize: 1000000;
1581
- };
1582
- readonly activities: {
1583
- readonly type: "array";
1584
- readonly description: "Array of activities with their associated weights in this project";
1585
- readonly items: {
1586
- readonly type: "ref";
1587
- readonly ref: "lex:org.hypercerts.claim.activity#activityWeight";
1588
- };
1589
- };
1590
- readonly location: {
1591
- readonly type: "ref";
1592
- readonly ref: "lex:com.atproto.repo.strongRef";
1593
- readonly description: "A strong reference to a location record describing where the work for this project took place. The referenced record must conform to the app.certified.location lexicon.";
1594
- };
1595
- readonly createdAt: {
1596
- readonly type: "string";
1597
- readonly format: "datetime";
1598
- readonly description: "Client-declared timestamp when this record was originally created";
1599
- };
1600
- };
1601
- };
1602
- };
1603
- };
1604
1423
  } | {
1605
1424
  readonly lexicon: 1;
1606
1425
  readonly id: "org.hypercerts.claim.rights";
@@ -1793,11 +1612,10 @@ export declare const ids: {
1793
1612
  readonly ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef";
1794
1613
  readonly OrgHypercertsClaimActivity: "org.hypercerts.claim.activity";
1795
1614
  readonly OrgHypercertsClaimCollection: "org.hypercerts.claim.collection";
1796
- readonly OrgHypercertsClaimContribution: "org.hypercerts.claim.contribution";
1615
+ readonly OrgHypercertsClaimContributor: "org.hypercerts.claim.contributor";
1797
1616
  readonly OrgHypercertsClaimEvaluation: "org.hypercerts.claim.evaluation";
1798
1617
  readonly OrgHypercertsClaimEvidence: "org.hypercerts.claim.evidence";
1799
1618
  readonly OrgHypercertsClaimMeasurement: "org.hypercerts.claim.measurement";
1800
- readonly OrgHypercertsClaimProject: "org.hypercerts.claim.project";
1801
1619
  readonly OrgHypercertsClaimRights: "org.hypercerts.claim.rights";
1802
1620
  readonly OrgHypercertsDefs: "org.hypercerts.defs";
1803
1621
  readonly OrgHypercertsFundingReceipt: "org.hypercerts.funding.receipt";
@@ -1 +1 @@
1
- {"version":3,"file":"lexicons.d.ts","sourceRoot":"","sources":["../generated/lexicons.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAEL,QAAQ,EAER,KAAK,gBAAgB,EACtB,MAAM,kBAAkB,CAAA;AAGzB,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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