@hypercerts-org/lexicon 0.10.0-beta.12 → 0.10.0-beta.13
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 +93 -0
- package/README.md +142 -0
- package/SCHEMAS.md +174 -67
- package/dist/exports.d.ts +103 -61
- package/dist/exports.d.ts.map +1 -1
- package/dist/generated/exports.d.ts +103 -61
- package/dist/generated/exports.d.ts.map +1 -1
- package/dist/generated/lexicons.d.ts +196 -112
- package/dist/generated/lexicons.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/attachment.d.ts +37 -0
- package/dist/generated/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
- package/dist/index.cjs +283 -190
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +280 -187
- package/dist/index.mjs.map +1 -1
- package/dist/lexicons.cjs +102 -59
- package/dist/lexicons.cjs.map +1 -1
- package/dist/lexicons.d.ts +196 -112
- package/dist/lexicons.d.ts.map +1 -1
- package/dist/lexicons.mjs +102 -59
- package/dist/lexicons.mjs.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/attachment.d.ts +37 -0
- package/dist/types/org/hypercerts/claim/attachment.d.ts.map +1 -0
- package/lexicons/app/certified/location.json +16 -2
- 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/lexicons.d.ts
CHANGED
|
@@ -166,8 +166,8 @@ export declare const schemaDict: {
|
|
|
166
166
|
};
|
|
167
167
|
readonly location: {
|
|
168
168
|
readonly type: "union";
|
|
169
|
-
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
170
|
-
readonly description: "The location of where the work was performed as a URI or
|
|
169
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob", "lex:app.certified.location#string"];
|
|
170
|
+
readonly description: "The location of where the work was performed as a URI, blob, or inline string.";
|
|
171
171
|
};
|
|
172
172
|
readonly name: {
|
|
173
173
|
readonly type: "string";
|
|
@@ -189,6 +189,19 @@ export declare const schemaDict: {
|
|
|
189
189
|
};
|
|
190
190
|
};
|
|
191
191
|
};
|
|
192
|
+
readonly string: {
|
|
193
|
+
readonly type: "object";
|
|
194
|
+
readonly required: ["string"];
|
|
195
|
+
readonly description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.";
|
|
196
|
+
readonly properties: {
|
|
197
|
+
readonly string: {
|
|
198
|
+
readonly type: "string";
|
|
199
|
+
readonly description: "The location string value";
|
|
200
|
+
readonly maxLength: 10000;
|
|
201
|
+
readonly maxGraphemes: 1000;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
};
|
|
192
205
|
};
|
|
193
206
|
};
|
|
194
207
|
readonly ComAtprotoRepoStrongRef: {
|
|
@@ -344,6 +357,89 @@ export declare const schemaDict: {
|
|
|
344
357
|
};
|
|
345
358
|
};
|
|
346
359
|
};
|
|
360
|
+
readonly OrgHypercertsClaimAttachment: {
|
|
361
|
+
readonly lexicon: 1;
|
|
362
|
+
readonly id: "org.hypercerts.claim.attachment";
|
|
363
|
+
readonly defs: {
|
|
364
|
+
readonly main: {
|
|
365
|
+
readonly type: "record";
|
|
366
|
+
readonly description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).";
|
|
367
|
+
readonly key: "tid";
|
|
368
|
+
readonly record: {
|
|
369
|
+
readonly type: "object";
|
|
370
|
+
readonly required: ["title", "content", "createdAt"];
|
|
371
|
+
readonly properties: {
|
|
372
|
+
readonly subjects: {
|
|
373
|
+
readonly type: "array";
|
|
374
|
+
readonly 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.";
|
|
375
|
+
readonly items: {
|
|
376
|
+
readonly type: "ref";
|
|
377
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
378
|
+
};
|
|
379
|
+
readonly maxLength: 100;
|
|
380
|
+
};
|
|
381
|
+
readonly contentType: {
|
|
382
|
+
readonly type: "string";
|
|
383
|
+
readonly maxLength: 64;
|
|
384
|
+
readonly description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.";
|
|
385
|
+
};
|
|
386
|
+
readonly content: {
|
|
387
|
+
readonly type: "array";
|
|
388
|
+
readonly description: "The files, documents, or external references included in this attachment record.";
|
|
389
|
+
readonly items: {
|
|
390
|
+
readonly type: "union";
|
|
391
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
392
|
+
};
|
|
393
|
+
readonly maxLength: 100;
|
|
394
|
+
};
|
|
395
|
+
readonly title: {
|
|
396
|
+
readonly type: "string";
|
|
397
|
+
readonly maxLength: 256;
|
|
398
|
+
readonly description: "Title of this attachment.";
|
|
399
|
+
};
|
|
400
|
+
readonly shortDescription: {
|
|
401
|
+
readonly type: "string";
|
|
402
|
+
readonly description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.";
|
|
403
|
+
readonly maxLength: 3000;
|
|
404
|
+
readonly maxGraphemes: 300;
|
|
405
|
+
};
|
|
406
|
+
readonly shortDescriptionFacets: {
|
|
407
|
+
readonly type: "array";
|
|
408
|
+
readonly description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).";
|
|
409
|
+
readonly items: {
|
|
410
|
+
readonly type: "ref";
|
|
411
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
412
|
+
};
|
|
413
|
+
};
|
|
414
|
+
readonly description: {
|
|
415
|
+
readonly type: "string";
|
|
416
|
+
readonly description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.";
|
|
417
|
+
readonly maxLength: 30000;
|
|
418
|
+
readonly maxGraphemes: 3000;
|
|
419
|
+
};
|
|
420
|
+
readonly descriptionFacets: {
|
|
421
|
+
readonly type: "array";
|
|
422
|
+
readonly description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).";
|
|
423
|
+
readonly items: {
|
|
424
|
+
readonly type: "ref";
|
|
425
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
426
|
+
};
|
|
427
|
+
};
|
|
428
|
+
readonly location: {
|
|
429
|
+
readonly type: "ref";
|
|
430
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
431
|
+
readonly 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.";
|
|
432
|
+
};
|
|
433
|
+
readonly createdAt: {
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
readonly format: "datetime";
|
|
436
|
+
readonly description: "Client-declared timestamp when this record was originally created.";
|
|
437
|
+
};
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
};
|
|
441
|
+
};
|
|
442
|
+
};
|
|
347
443
|
readonly OrgHypercertsClaimCollection: {
|
|
348
444
|
readonly lexicon: 1;
|
|
349
445
|
readonly id: "org.hypercerts.claim.collection";
|
|
@@ -593,60 +689,6 @@ export declare const schemaDict: {
|
|
|
593
689
|
};
|
|
594
690
|
};
|
|
595
691
|
};
|
|
596
|
-
readonly OrgHypercertsClaimEvidence: {
|
|
597
|
-
readonly lexicon: 1;
|
|
598
|
-
readonly id: "org.hypercerts.claim.evidence";
|
|
599
|
-
readonly defs: {
|
|
600
|
-
readonly main: {
|
|
601
|
-
readonly type: "record";
|
|
602
|
-
readonly 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.";
|
|
603
|
-
readonly key: "tid";
|
|
604
|
-
readonly record: {
|
|
605
|
-
readonly type: "object";
|
|
606
|
-
readonly required: ["content", "title", "createdAt"];
|
|
607
|
-
readonly properties: {
|
|
608
|
-
readonly subject: {
|
|
609
|
-
readonly type: "ref";
|
|
610
|
-
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
611
|
-
readonly description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).";
|
|
612
|
-
};
|
|
613
|
-
readonly content: {
|
|
614
|
-
readonly type: "union";
|
|
615
|
-
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
616
|
-
readonly description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.";
|
|
617
|
-
};
|
|
618
|
-
readonly title: {
|
|
619
|
-
readonly type: "string";
|
|
620
|
-
readonly maxLength: 256;
|
|
621
|
-
readonly description: "Title to describe the nature of the evidence.";
|
|
622
|
-
};
|
|
623
|
-
readonly shortDescription: {
|
|
624
|
-
readonly type: "string";
|
|
625
|
-
readonly maxLength: 3000;
|
|
626
|
-
readonly maxGraphemes: 300;
|
|
627
|
-
readonly description: "Short description explaining what this evidence shows.";
|
|
628
|
-
};
|
|
629
|
-
readonly description: {
|
|
630
|
-
readonly type: "string";
|
|
631
|
-
readonly description: "Longer description describing the evidence in more detail.";
|
|
632
|
-
readonly maxLength: 30000;
|
|
633
|
-
readonly maxGraphemes: 3000;
|
|
634
|
-
};
|
|
635
|
-
readonly relationType: {
|
|
636
|
-
readonly type: "string";
|
|
637
|
-
readonly description: "How this evidence relates to the subject.";
|
|
638
|
-
readonly knownValues: ["supports", "challenges", "clarifies"];
|
|
639
|
-
};
|
|
640
|
-
readonly createdAt: {
|
|
641
|
-
readonly type: "string";
|
|
642
|
-
readonly format: "datetime";
|
|
643
|
-
readonly description: "Client-declared timestamp when this record was originally created";
|
|
644
|
-
};
|
|
645
|
-
};
|
|
646
|
-
};
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
};
|
|
650
692
|
readonly OrgHypercertsClaimMeasurement: {
|
|
651
693
|
readonly lexicon: 1;
|
|
652
694
|
readonly id: "org.hypercerts.claim.measurement";
|
|
@@ -1150,8 +1192,8 @@ export declare const schemas: ({
|
|
|
1150
1192
|
};
|
|
1151
1193
|
readonly location: {
|
|
1152
1194
|
readonly type: "union";
|
|
1153
|
-
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
1154
|
-
readonly description: "The location of where the work was performed as a URI or
|
|
1195
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob", "lex:app.certified.location#string"];
|
|
1196
|
+
readonly description: "The location of where the work was performed as a URI, blob, or inline string.";
|
|
1155
1197
|
};
|
|
1156
1198
|
readonly name: {
|
|
1157
1199
|
readonly type: "string";
|
|
@@ -1173,6 +1215,19 @@ export declare const schemas: ({
|
|
|
1173
1215
|
};
|
|
1174
1216
|
};
|
|
1175
1217
|
};
|
|
1218
|
+
readonly string: {
|
|
1219
|
+
readonly type: "object";
|
|
1220
|
+
readonly required: ["string"];
|
|
1221
|
+
readonly description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.";
|
|
1222
|
+
readonly properties: {
|
|
1223
|
+
readonly string: {
|
|
1224
|
+
readonly type: "string";
|
|
1225
|
+
readonly description: "The location string value";
|
|
1226
|
+
readonly maxLength: 10000;
|
|
1227
|
+
readonly maxGraphemes: 1000;
|
|
1228
|
+
};
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1176
1231
|
};
|
|
1177
1232
|
} | {
|
|
1178
1233
|
readonly lexicon: 1;
|
|
@@ -1325,6 +1380,88 @@ export declare const schemas: ({
|
|
|
1325
1380
|
readonly maxGraphemes: 1000;
|
|
1326
1381
|
};
|
|
1327
1382
|
};
|
|
1383
|
+
} | {
|
|
1384
|
+
readonly lexicon: 1;
|
|
1385
|
+
readonly id: "org.hypercerts.claim.attachment";
|
|
1386
|
+
readonly defs: {
|
|
1387
|
+
readonly main: {
|
|
1388
|
+
readonly type: "record";
|
|
1389
|
+
readonly description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).";
|
|
1390
|
+
readonly key: "tid";
|
|
1391
|
+
readonly record: {
|
|
1392
|
+
readonly type: "object";
|
|
1393
|
+
readonly required: ["title", "content", "createdAt"];
|
|
1394
|
+
readonly properties: {
|
|
1395
|
+
readonly subjects: {
|
|
1396
|
+
readonly type: "array";
|
|
1397
|
+
readonly 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.";
|
|
1398
|
+
readonly items: {
|
|
1399
|
+
readonly type: "ref";
|
|
1400
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1401
|
+
};
|
|
1402
|
+
readonly maxLength: 100;
|
|
1403
|
+
};
|
|
1404
|
+
readonly contentType: {
|
|
1405
|
+
readonly type: "string";
|
|
1406
|
+
readonly maxLength: 64;
|
|
1407
|
+
readonly description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.";
|
|
1408
|
+
};
|
|
1409
|
+
readonly content: {
|
|
1410
|
+
readonly type: "array";
|
|
1411
|
+
readonly description: "The files, documents, or external references included in this attachment record.";
|
|
1412
|
+
readonly items: {
|
|
1413
|
+
readonly type: "union";
|
|
1414
|
+
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
1415
|
+
};
|
|
1416
|
+
readonly maxLength: 100;
|
|
1417
|
+
};
|
|
1418
|
+
readonly title: {
|
|
1419
|
+
readonly type: "string";
|
|
1420
|
+
readonly maxLength: 256;
|
|
1421
|
+
readonly description: "Title of this attachment.";
|
|
1422
|
+
};
|
|
1423
|
+
readonly shortDescription: {
|
|
1424
|
+
readonly type: "string";
|
|
1425
|
+
readonly description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.";
|
|
1426
|
+
readonly maxLength: 3000;
|
|
1427
|
+
readonly maxGraphemes: 300;
|
|
1428
|
+
};
|
|
1429
|
+
readonly shortDescriptionFacets: {
|
|
1430
|
+
readonly type: "array";
|
|
1431
|
+
readonly description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).";
|
|
1432
|
+
readonly items: {
|
|
1433
|
+
readonly type: "ref";
|
|
1434
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
1435
|
+
};
|
|
1436
|
+
};
|
|
1437
|
+
readonly description: {
|
|
1438
|
+
readonly type: "string";
|
|
1439
|
+
readonly description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.";
|
|
1440
|
+
readonly maxLength: 30000;
|
|
1441
|
+
readonly maxGraphemes: 3000;
|
|
1442
|
+
};
|
|
1443
|
+
readonly descriptionFacets: {
|
|
1444
|
+
readonly type: "array";
|
|
1445
|
+
readonly description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).";
|
|
1446
|
+
readonly items: {
|
|
1447
|
+
readonly type: "ref";
|
|
1448
|
+
readonly ref: "lex:app.bsky.richtext.facet";
|
|
1449
|
+
};
|
|
1450
|
+
};
|
|
1451
|
+
readonly location: {
|
|
1452
|
+
readonly type: "ref";
|
|
1453
|
+
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1454
|
+
readonly 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.";
|
|
1455
|
+
};
|
|
1456
|
+
readonly createdAt: {
|
|
1457
|
+
readonly type: "string";
|
|
1458
|
+
readonly format: "datetime";
|
|
1459
|
+
readonly description: "Client-declared timestamp when this record was originally created.";
|
|
1460
|
+
};
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1328
1465
|
} | {
|
|
1329
1466
|
readonly lexicon: 1;
|
|
1330
1467
|
readonly id: "org.hypercerts.claim.collection";
|
|
@@ -1570,59 +1707,6 @@ export declare const schemas: ({
|
|
|
1570
1707
|
};
|
|
1571
1708
|
};
|
|
1572
1709
|
};
|
|
1573
|
-
} | {
|
|
1574
|
-
readonly lexicon: 1;
|
|
1575
|
-
readonly id: "org.hypercerts.claim.evidence";
|
|
1576
|
-
readonly defs: {
|
|
1577
|
-
readonly main: {
|
|
1578
|
-
readonly type: "record";
|
|
1579
|
-
readonly 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.";
|
|
1580
|
-
readonly key: "tid";
|
|
1581
|
-
readonly record: {
|
|
1582
|
-
readonly type: "object";
|
|
1583
|
-
readonly required: ["content", "title", "createdAt"];
|
|
1584
|
-
readonly properties: {
|
|
1585
|
-
readonly subject: {
|
|
1586
|
-
readonly type: "ref";
|
|
1587
|
-
readonly ref: "lex:com.atproto.repo.strongRef";
|
|
1588
|
-
readonly description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).";
|
|
1589
|
-
};
|
|
1590
|
-
readonly content: {
|
|
1591
|
-
readonly type: "union";
|
|
1592
|
-
readonly refs: ["lex:org.hypercerts.defs#uri", "lex:org.hypercerts.defs#smallBlob"];
|
|
1593
|
-
readonly description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.";
|
|
1594
|
-
};
|
|
1595
|
-
readonly title: {
|
|
1596
|
-
readonly type: "string";
|
|
1597
|
-
readonly maxLength: 256;
|
|
1598
|
-
readonly description: "Title to describe the nature of the evidence.";
|
|
1599
|
-
};
|
|
1600
|
-
readonly shortDescription: {
|
|
1601
|
-
readonly type: "string";
|
|
1602
|
-
readonly maxLength: 3000;
|
|
1603
|
-
readonly maxGraphemes: 300;
|
|
1604
|
-
readonly description: "Short description explaining what this evidence shows.";
|
|
1605
|
-
};
|
|
1606
|
-
readonly description: {
|
|
1607
|
-
readonly type: "string";
|
|
1608
|
-
readonly description: "Longer description describing the evidence in more detail.";
|
|
1609
|
-
readonly maxLength: 30000;
|
|
1610
|
-
readonly maxGraphemes: 3000;
|
|
1611
|
-
};
|
|
1612
|
-
readonly relationType: {
|
|
1613
|
-
readonly type: "string";
|
|
1614
|
-
readonly description: "How this evidence relates to the subject.";
|
|
1615
|
-
readonly knownValues: ["supports", "challenges", "clarifies"];
|
|
1616
|
-
};
|
|
1617
|
-
readonly createdAt: {
|
|
1618
|
-
readonly type: "string";
|
|
1619
|
-
readonly format: "datetime";
|
|
1620
|
-
readonly description: "Client-declared timestamp when this record was originally created";
|
|
1621
|
-
};
|
|
1622
|
-
};
|
|
1623
|
-
};
|
|
1624
|
-
};
|
|
1625
|
-
};
|
|
1626
1710
|
} | {
|
|
1627
1711
|
readonly lexicon: 1;
|
|
1628
1712
|
readonly id: "org.hypercerts.claim.measurement";
|
|
@@ -1977,11 +2061,11 @@ export declare const ids: {
|
|
|
1977
2061
|
readonly AppCertifiedLocation: "app.certified.location";
|
|
1978
2062
|
readonly ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef";
|
|
1979
2063
|
readonly OrgHypercertsClaimActivity: "org.hypercerts.claim.activity";
|
|
2064
|
+
readonly OrgHypercertsClaimAttachment: "org.hypercerts.claim.attachment";
|
|
1980
2065
|
readonly OrgHypercertsClaimCollection: "org.hypercerts.claim.collection";
|
|
1981
2066
|
readonly OrgHypercertsClaimContributionDetails: "org.hypercerts.claim.contributionDetails";
|
|
1982
2067
|
readonly OrgHypercertsClaimContributorInformation: "org.hypercerts.claim.contributorInformation";
|
|
1983
2068
|
readonly OrgHypercertsClaimEvaluation: "org.hypercerts.claim.evaluation";
|
|
1984
|
-
readonly OrgHypercertsClaimEvidence: "org.hypercerts.claim.evidence";
|
|
1985
2069
|
readonly OrgHypercertsClaimMeasurement: "org.hypercerts.claim.measurement";
|
|
1986
2070
|
readonly OrgHypercertsClaimRights: "org.hypercerts.claim.rights";
|
|
1987
2071
|
readonly OrgHypercertsDefs: "org.hypercerts.defs";
|
package/dist/lexicons.d.ts.map
CHANGED
|
@@ -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
|
|
1
|
+
{"version":3,"file":"lexicons.d.ts","sourceRoot":"","sources":["../generated/lexicons.ts"],"names":[],"mappings":"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"}
|
package/dist/lexicons.mjs
CHANGED
|
@@ -208,8 +208,9 @@ const schemaDict = {
|
|
|
208
208
|
refs: [
|
|
209
209
|
'lex:org.hypercerts.defs#uri',
|
|
210
210
|
'lex:org.hypercerts.defs#smallBlob',
|
|
211
|
+
'lex:app.certified.location#string',
|
|
211
212
|
],
|
|
212
|
-
description: 'The location of where the work was performed as a URI or
|
|
213
|
+
description: 'The location of where the work was performed as a URI, blob, or inline string.',
|
|
213
214
|
},
|
|
214
215
|
name: {
|
|
215
216
|
type: 'string',
|
|
@@ -231,6 +232,19 @@ const schemaDict = {
|
|
|
231
232
|
},
|
|
232
233
|
},
|
|
233
234
|
},
|
|
235
|
+
string: {
|
|
236
|
+
type: 'object',
|
|
237
|
+
required: ['string'],
|
|
238
|
+
description: 'A location represented as a string, e.g. coordinates or a small GeoJSON string.',
|
|
239
|
+
properties: {
|
|
240
|
+
string: {
|
|
241
|
+
type: 'string',
|
|
242
|
+
description: 'The location string value',
|
|
243
|
+
maxLength: 10000,
|
|
244
|
+
maxGraphemes: 1000,
|
|
245
|
+
},
|
|
246
|
+
},
|
|
247
|
+
},
|
|
234
248
|
},
|
|
235
249
|
},
|
|
236
250
|
ComAtprotoRepoStrongRef: {
|
|
@@ -398,6 +412,92 @@ const schemaDict = {
|
|
|
398
412
|
},
|
|
399
413
|
},
|
|
400
414
|
},
|
|
415
|
+
OrgHypercertsClaimAttachment: {
|
|
416
|
+
lexicon: 1,
|
|
417
|
+
id: 'org.hypercerts.claim.attachment',
|
|
418
|
+
defs: {
|
|
419
|
+
main: {
|
|
420
|
+
type: 'record',
|
|
421
|
+
description: 'An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).',
|
|
422
|
+
key: 'tid',
|
|
423
|
+
record: {
|
|
424
|
+
type: 'object',
|
|
425
|
+
required: ['title', 'content', 'createdAt'],
|
|
426
|
+
properties: {
|
|
427
|
+
subjects: {
|
|
428
|
+
type: 'array',
|
|
429
|
+
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.',
|
|
430
|
+
items: {
|
|
431
|
+
type: 'ref',
|
|
432
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
433
|
+
},
|
|
434
|
+
maxLength: 100,
|
|
435
|
+
},
|
|
436
|
+
contentType: {
|
|
437
|
+
type: 'string',
|
|
438
|
+
maxLength: 64,
|
|
439
|
+
description: 'The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.',
|
|
440
|
+
},
|
|
441
|
+
content: {
|
|
442
|
+
type: 'array',
|
|
443
|
+
description: 'The files, documents, or external references included in this attachment record.',
|
|
444
|
+
items: {
|
|
445
|
+
type: 'union',
|
|
446
|
+
refs: [
|
|
447
|
+
'lex:org.hypercerts.defs#uri',
|
|
448
|
+
'lex:org.hypercerts.defs#smallBlob',
|
|
449
|
+
],
|
|
450
|
+
},
|
|
451
|
+
maxLength: 100,
|
|
452
|
+
},
|
|
453
|
+
title: {
|
|
454
|
+
type: 'string',
|
|
455
|
+
maxLength: 256,
|
|
456
|
+
description: 'Title of this attachment.',
|
|
457
|
+
},
|
|
458
|
+
shortDescription: {
|
|
459
|
+
type: 'string',
|
|
460
|
+
description: 'Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',
|
|
461
|
+
maxLength: 3000,
|
|
462
|
+
maxGraphemes: 300,
|
|
463
|
+
},
|
|
464
|
+
shortDescriptionFacets: {
|
|
465
|
+
type: 'array',
|
|
466
|
+
description: 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',
|
|
467
|
+
items: {
|
|
468
|
+
type: 'ref',
|
|
469
|
+
ref: 'lex:app.bsky.richtext.facet',
|
|
470
|
+
},
|
|
471
|
+
},
|
|
472
|
+
description: {
|
|
473
|
+
type: 'string',
|
|
474
|
+
description: 'Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',
|
|
475
|
+
maxLength: 30000,
|
|
476
|
+
maxGraphemes: 3000,
|
|
477
|
+
},
|
|
478
|
+
descriptionFacets: {
|
|
479
|
+
type: 'array',
|
|
480
|
+
description: 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',
|
|
481
|
+
items: {
|
|
482
|
+
type: 'ref',
|
|
483
|
+
ref: 'lex:app.bsky.richtext.facet',
|
|
484
|
+
},
|
|
485
|
+
},
|
|
486
|
+
location: {
|
|
487
|
+
type: 'ref',
|
|
488
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
489
|
+
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.",
|
|
490
|
+
},
|
|
491
|
+
createdAt: {
|
|
492
|
+
type: 'string',
|
|
493
|
+
format: 'datetime',
|
|
494
|
+
description: 'Client-declared timestamp when this record was originally created.',
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
},
|
|
498
|
+
},
|
|
499
|
+
},
|
|
500
|
+
},
|
|
401
501
|
OrgHypercertsClaimCollection: {
|
|
402
502
|
lexicon: 1,
|
|
403
503
|
id: 'org.hypercerts.claim.collection',
|
|
@@ -659,63 +759,6 @@ const schemaDict = {
|
|
|
659
759
|
},
|
|
660
760
|
},
|
|
661
761
|
},
|
|
662
|
-
OrgHypercertsClaimEvidence: {
|
|
663
|
-
lexicon: 1,
|
|
664
|
-
id: 'org.hypercerts.claim.evidence',
|
|
665
|
-
defs: {
|
|
666
|
-
main: {
|
|
667
|
-
type: 'record',
|
|
668
|
-
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.',
|
|
669
|
-
key: 'tid',
|
|
670
|
-
record: {
|
|
671
|
-
type: 'object',
|
|
672
|
-
required: ['content', 'title', 'createdAt'],
|
|
673
|
-
properties: {
|
|
674
|
-
subject: {
|
|
675
|
-
type: 'ref',
|
|
676
|
-
ref: 'lex:com.atproto.repo.strongRef',
|
|
677
|
-
description: 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',
|
|
678
|
-
},
|
|
679
|
-
content: {
|
|
680
|
-
type: 'union',
|
|
681
|
-
refs: [
|
|
682
|
-
'lex:org.hypercerts.defs#uri',
|
|
683
|
-
'lex:org.hypercerts.defs#smallBlob',
|
|
684
|
-
],
|
|
685
|
-
description: 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',
|
|
686
|
-
},
|
|
687
|
-
title: {
|
|
688
|
-
type: 'string',
|
|
689
|
-
maxLength: 256,
|
|
690
|
-
description: 'Title to describe the nature of the evidence.',
|
|
691
|
-
},
|
|
692
|
-
shortDescription: {
|
|
693
|
-
type: 'string',
|
|
694
|
-
maxLength: 3000,
|
|
695
|
-
maxGraphemes: 300,
|
|
696
|
-
description: 'Short description explaining what this evidence shows.',
|
|
697
|
-
},
|
|
698
|
-
description: {
|
|
699
|
-
type: 'string',
|
|
700
|
-
description: 'Longer description describing the evidence in more detail.',
|
|
701
|
-
maxLength: 30000,
|
|
702
|
-
maxGraphemes: 3000,
|
|
703
|
-
},
|
|
704
|
-
relationType: {
|
|
705
|
-
type: 'string',
|
|
706
|
-
description: 'How this evidence relates to the subject.',
|
|
707
|
-
knownValues: ['supports', 'challenges', 'clarifies'],
|
|
708
|
-
},
|
|
709
|
-
createdAt: {
|
|
710
|
-
type: 'string',
|
|
711
|
-
format: 'datetime',
|
|
712
|
-
description: 'Client-declared timestamp when this record was originally created',
|
|
713
|
-
},
|
|
714
|
-
},
|
|
715
|
-
},
|
|
716
|
-
},
|
|
717
|
-
},
|
|
718
|
-
},
|
|
719
762
|
OrgHypercertsClaimMeasurement: {
|
|
720
763
|
lexicon: 1,
|
|
721
764
|
id: 'org.hypercerts.claim.measurement',
|
|
@@ -1089,11 +1132,11 @@ const ids = {
|
|
|
1089
1132
|
AppCertifiedLocation: 'app.certified.location',
|
|
1090
1133
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
1091
1134
|
OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
|
|
1135
|
+
OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
|
|
1092
1136
|
OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
|
|
1093
1137
|
OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
|
|
1094
1138
|
OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
|
|
1095
1139
|
OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
|
|
1096
|
-
OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
|
|
1097
1140
|
OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
|
|
1098
1141
|
OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
|
|
1099
1142
|
OrgHypercertsDefs: 'org.hypercerts.defs',
|