@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/index.cjs
CHANGED
|
@@ -219,8 +219,9 @@ const schemaDict = {
|
|
|
219
219
|
refs: [
|
|
220
220
|
'lex:org.hypercerts.defs#uri',
|
|
221
221
|
'lex:org.hypercerts.defs#smallBlob',
|
|
222
|
+
'lex:app.certified.location#string',
|
|
222
223
|
],
|
|
223
|
-
description: 'The location of where the work was performed as a URI or
|
|
224
|
+
description: 'The location of where the work was performed as a URI, blob, or inline string.',
|
|
224
225
|
},
|
|
225
226
|
name: {
|
|
226
227
|
type: 'string',
|
|
@@ -242,6 +243,19 @@ const schemaDict = {
|
|
|
242
243
|
},
|
|
243
244
|
},
|
|
244
245
|
},
|
|
246
|
+
string: {
|
|
247
|
+
type: 'object',
|
|
248
|
+
required: ['string'],
|
|
249
|
+
description: 'A location represented as a string, e.g. coordinates or a small GeoJSON string.',
|
|
250
|
+
properties: {
|
|
251
|
+
string: {
|
|
252
|
+
type: 'string',
|
|
253
|
+
description: 'The location string value',
|
|
254
|
+
maxLength: 10000,
|
|
255
|
+
maxGraphemes: 1000,
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
},
|
|
245
259
|
},
|
|
246
260
|
},
|
|
247
261
|
ComAtprotoRepoStrongRef: {
|
|
@@ -409,6 +423,92 @@ const schemaDict = {
|
|
|
409
423
|
},
|
|
410
424
|
},
|
|
411
425
|
},
|
|
426
|
+
OrgHypercertsClaimAttachment: {
|
|
427
|
+
lexicon: 1,
|
|
428
|
+
id: 'org.hypercerts.claim.attachment',
|
|
429
|
+
defs: {
|
|
430
|
+
main: {
|
|
431
|
+
type: 'record',
|
|
432
|
+
description: 'An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).',
|
|
433
|
+
key: 'tid',
|
|
434
|
+
record: {
|
|
435
|
+
type: 'object',
|
|
436
|
+
required: ['title', 'content', 'createdAt'],
|
|
437
|
+
properties: {
|
|
438
|
+
subjects: {
|
|
439
|
+
type: 'array',
|
|
440
|
+
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.',
|
|
441
|
+
items: {
|
|
442
|
+
type: 'ref',
|
|
443
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
444
|
+
},
|
|
445
|
+
maxLength: 100,
|
|
446
|
+
},
|
|
447
|
+
contentType: {
|
|
448
|
+
type: 'string',
|
|
449
|
+
maxLength: 64,
|
|
450
|
+
description: 'The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.',
|
|
451
|
+
},
|
|
452
|
+
content: {
|
|
453
|
+
type: 'array',
|
|
454
|
+
description: 'The files, documents, or external references included in this attachment record.',
|
|
455
|
+
items: {
|
|
456
|
+
type: 'union',
|
|
457
|
+
refs: [
|
|
458
|
+
'lex:org.hypercerts.defs#uri',
|
|
459
|
+
'lex:org.hypercerts.defs#smallBlob',
|
|
460
|
+
],
|
|
461
|
+
},
|
|
462
|
+
maxLength: 100,
|
|
463
|
+
},
|
|
464
|
+
title: {
|
|
465
|
+
type: 'string',
|
|
466
|
+
maxLength: 256,
|
|
467
|
+
description: 'Title of this attachment.',
|
|
468
|
+
},
|
|
469
|
+
shortDescription: {
|
|
470
|
+
type: 'string',
|
|
471
|
+
description: 'Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.',
|
|
472
|
+
maxLength: 3000,
|
|
473
|
+
maxGraphemes: 300,
|
|
474
|
+
},
|
|
475
|
+
shortDescriptionFacets: {
|
|
476
|
+
type: 'array',
|
|
477
|
+
description: 'Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).',
|
|
478
|
+
items: {
|
|
479
|
+
type: 'ref',
|
|
480
|
+
ref: 'lex:app.bsky.richtext.facet',
|
|
481
|
+
},
|
|
482
|
+
},
|
|
483
|
+
description: {
|
|
484
|
+
type: 'string',
|
|
485
|
+
description: 'Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.',
|
|
486
|
+
maxLength: 30000,
|
|
487
|
+
maxGraphemes: 3000,
|
|
488
|
+
},
|
|
489
|
+
descriptionFacets: {
|
|
490
|
+
type: 'array',
|
|
491
|
+
description: 'Rich text annotations for `description` (mentions, URLs, hashtags, etc).',
|
|
492
|
+
items: {
|
|
493
|
+
type: 'ref',
|
|
494
|
+
ref: 'lex:app.bsky.richtext.facet',
|
|
495
|
+
},
|
|
496
|
+
},
|
|
497
|
+
location: {
|
|
498
|
+
type: 'ref',
|
|
499
|
+
ref: 'lex:com.atproto.repo.strongRef',
|
|
500
|
+
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.",
|
|
501
|
+
},
|
|
502
|
+
createdAt: {
|
|
503
|
+
type: 'string',
|
|
504
|
+
format: 'datetime',
|
|
505
|
+
description: 'Client-declared timestamp when this record was originally created.',
|
|
506
|
+
},
|
|
507
|
+
},
|
|
508
|
+
},
|
|
509
|
+
},
|
|
510
|
+
},
|
|
511
|
+
},
|
|
412
512
|
OrgHypercertsClaimCollection: {
|
|
413
513
|
lexicon: 1,
|
|
414
514
|
id: 'org.hypercerts.claim.collection',
|
|
@@ -670,63 +770,6 @@ const schemaDict = {
|
|
|
670
770
|
},
|
|
671
771
|
},
|
|
672
772
|
},
|
|
673
|
-
OrgHypercertsClaimEvidence: {
|
|
674
|
-
lexicon: 1,
|
|
675
|
-
id: 'org.hypercerts.claim.evidence',
|
|
676
|
-
defs: {
|
|
677
|
-
main: {
|
|
678
|
-
type: 'record',
|
|
679
|
-
description: 'A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.',
|
|
680
|
-
key: 'tid',
|
|
681
|
-
record: {
|
|
682
|
-
type: 'object',
|
|
683
|
-
required: ['content', 'title', 'createdAt'],
|
|
684
|
-
properties: {
|
|
685
|
-
subject: {
|
|
686
|
-
type: 'ref',
|
|
687
|
-
ref: 'lex:com.atproto.repo.strongRef',
|
|
688
|
-
description: 'A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation).',
|
|
689
|
-
},
|
|
690
|
-
content: {
|
|
691
|
-
type: 'union',
|
|
692
|
-
refs: [
|
|
693
|
-
'lex:org.hypercerts.defs#uri',
|
|
694
|
-
'lex:org.hypercerts.defs#smallBlob',
|
|
695
|
-
],
|
|
696
|
-
description: 'A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim.',
|
|
697
|
-
},
|
|
698
|
-
title: {
|
|
699
|
-
type: 'string',
|
|
700
|
-
maxLength: 256,
|
|
701
|
-
description: 'Title to describe the nature of the evidence.',
|
|
702
|
-
},
|
|
703
|
-
shortDescription: {
|
|
704
|
-
type: 'string',
|
|
705
|
-
maxLength: 3000,
|
|
706
|
-
maxGraphemes: 300,
|
|
707
|
-
description: 'Short description explaining what this evidence shows.',
|
|
708
|
-
},
|
|
709
|
-
description: {
|
|
710
|
-
type: 'string',
|
|
711
|
-
description: 'Longer description describing the evidence in more detail.',
|
|
712
|
-
maxLength: 30000,
|
|
713
|
-
maxGraphemes: 3000,
|
|
714
|
-
},
|
|
715
|
-
relationType: {
|
|
716
|
-
type: 'string',
|
|
717
|
-
description: 'How this evidence relates to the subject.',
|
|
718
|
-
knownValues: ['supports', 'challenges', 'clarifies'],
|
|
719
|
-
},
|
|
720
|
-
createdAt: {
|
|
721
|
-
type: 'string',
|
|
722
|
-
format: 'datetime',
|
|
723
|
-
description: 'Client-declared timestamp when this record was originally created',
|
|
724
|
-
},
|
|
725
|
-
},
|
|
726
|
-
},
|
|
727
|
-
},
|
|
728
|
-
},
|
|
729
|
-
},
|
|
730
773
|
OrgHypercertsClaimMeasurement: {
|
|
731
774
|
lexicon: 1,
|
|
732
775
|
id: 'org.hypercerts.claim.measurement',
|
|
@@ -1100,11 +1143,11 @@ const ids = {
|
|
|
1100
1143
|
AppCertifiedLocation: 'app.certified.location',
|
|
1101
1144
|
ComAtprotoRepoStrongRef: 'com.atproto.repo.strongRef',
|
|
1102
1145
|
OrgHypercertsClaimActivity: 'org.hypercerts.claim.activity',
|
|
1146
|
+
OrgHypercertsClaimAttachment: 'org.hypercerts.claim.attachment',
|
|
1103
1147
|
OrgHypercertsClaimCollection: 'org.hypercerts.claim.collection',
|
|
1104
1148
|
OrgHypercertsClaimContributionDetails: 'org.hypercerts.claim.contributionDetails',
|
|
1105
1149
|
OrgHypercertsClaimContributorInformation: 'org.hypercerts.claim.contributorInformation',
|
|
1106
1150
|
OrgHypercertsClaimEvaluation: 'org.hypercerts.claim.evaluation',
|
|
1107
|
-
OrgHypercertsClaimEvidence: 'org.hypercerts.claim.evidence',
|
|
1108
1151
|
OrgHypercertsClaimMeasurement: 'org.hypercerts.claim.measurement',
|
|
1109
1152
|
OrgHypercertsClaimRights: 'org.hypercerts.claim.rights',
|
|
1110
1153
|
OrgHypercertsDefs: 'org.hypercerts.defs',
|
|
@@ -1326,9 +1369,10 @@ var defs$e = {
|
|
|
1326
1369
|
type: "union",
|
|
1327
1370
|
refs: [
|
|
1328
1371
|
"org.hypercerts.defs#uri",
|
|
1329
|
-
"org.hypercerts.defs#smallBlob"
|
|
1372
|
+
"org.hypercerts.defs#smallBlob",
|
|
1373
|
+
"#string"
|
|
1330
1374
|
],
|
|
1331
|
-
description: "The location of where the work was performed as a URI or
|
|
1375
|
+
description: "The location of where the work was performed as a URI, blob, or inline string."
|
|
1332
1376
|
},
|
|
1333
1377
|
name: {
|
|
1334
1378
|
type: "string",
|
|
@@ -1349,6 +1393,21 @@ var defs$e = {
|
|
|
1349
1393
|
}
|
|
1350
1394
|
}
|
|
1351
1395
|
}
|
|
1396
|
+
},
|
|
1397
|
+
string: {
|
|
1398
|
+
type: "object",
|
|
1399
|
+
required: [
|
|
1400
|
+
"string"
|
|
1401
|
+
],
|
|
1402
|
+
description: "A location represented as a string, e.g. coordinates or a small GeoJSON string.",
|
|
1403
|
+
properties: {
|
|
1404
|
+
string: {
|
|
1405
|
+
type: "string",
|
|
1406
|
+
description: "The location string value",
|
|
1407
|
+
maxLength: 10000,
|
|
1408
|
+
maxGraphemes: 1000
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1352
1411
|
}
|
|
1353
1412
|
};
|
|
1354
1413
|
var LOCATION_LEXICON_JSON = {
|
|
@@ -1541,8 +1600,102 @@ var ACTIVITY_LEXICON_JSON = {
|
|
|
1541
1600
|
};
|
|
1542
1601
|
|
|
1543
1602
|
var lexicon$9 = 1;
|
|
1544
|
-
var id$p = "org.hypercerts.claim.
|
|
1603
|
+
var id$p = "org.hypercerts.claim.attachment";
|
|
1545
1604
|
var defs$b = {
|
|
1605
|
+
main: {
|
|
1606
|
+
type: "record",
|
|
1607
|
+
description: "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).",
|
|
1608
|
+
key: "tid",
|
|
1609
|
+
record: {
|
|
1610
|
+
type: "object",
|
|
1611
|
+
required: [
|
|
1612
|
+
"title",
|
|
1613
|
+
"content",
|
|
1614
|
+
"createdAt"
|
|
1615
|
+
],
|
|
1616
|
+
properties: {
|
|
1617
|
+
subjects: {
|
|
1618
|
+
type: "array",
|
|
1619
|
+
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.",
|
|
1620
|
+
items: {
|
|
1621
|
+
type: "ref",
|
|
1622
|
+
ref: "com.atproto.repo.strongRef"
|
|
1623
|
+
},
|
|
1624
|
+
maxLength: 100
|
|
1625
|
+
},
|
|
1626
|
+
contentType: {
|
|
1627
|
+
type: "string",
|
|
1628
|
+
maxLength: 64,
|
|
1629
|
+
description: "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc."
|
|
1630
|
+
},
|
|
1631
|
+
content: {
|
|
1632
|
+
type: "array",
|
|
1633
|
+
description: "The files, documents, or external references included in this attachment record.",
|
|
1634
|
+
items: {
|
|
1635
|
+
type: "union",
|
|
1636
|
+
refs: [
|
|
1637
|
+
"org.hypercerts.defs#uri",
|
|
1638
|
+
"org.hypercerts.defs#smallBlob"
|
|
1639
|
+
]
|
|
1640
|
+
},
|
|
1641
|
+
maxLength: 100
|
|
1642
|
+
},
|
|
1643
|
+
title: {
|
|
1644
|
+
type: "string",
|
|
1645
|
+
maxLength: 256,
|
|
1646
|
+
description: "Title of this attachment."
|
|
1647
|
+
},
|
|
1648
|
+
shortDescription: {
|
|
1649
|
+
type: "string",
|
|
1650
|
+
description: "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
|
|
1651
|
+
maxLength: 3000,
|
|
1652
|
+
maxGraphemes: 300
|
|
1653
|
+
},
|
|
1654
|
+
shortDescriptionFacets: {
|
|
1655
|
+
type: "array",
|
|
1656
|
+
description: "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
|
|
1657
|
+
items: {
|
|
1658
|
+
type: "ref",
|
|
1659
|
+
ref: "app.bsky.richtext.facet"
|
|
1660
|
+
}
|
|
1661
|
+
},
|
|
1662
|
+
description: {
|
|
1663
|
+
type: "string",
|
|
1664
|
+
description: "Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`.",
|
|
1665
|
+
maxLength: 30000,
|
|
1666
|
+
maxGraphemes: 3000
|
|
1667
|
+
},
|
|
1668
|
+
descriptionFacets: {
|
|
1669
|
+
type: "array",
|
|
1670
|
+
description: "Rich text annotations for `description` (mentions, URLs, hashtags, etc).",
|
|
1671
|
+
items: {
|
|
1672
|
+
type: "ref",
|
|
1673
|
+
ref: "app.bsky.richtext.facet"
|
|
1674
|
+
}
|
|
1675
|
+
},
|
|
1676
|
+
location: {
|
|
1677
|
+
type: "ref",
|
|
1678
|
+
ref: "com.atproto.repo.strongRef",
|
|
1679
|
+
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."
|
|
1680
|
+
},
|
|
1681
|
+
createdAt: {
|
|
1682
|
+
type: "string",
|
|
1683
|
+
format: "datetime",
|
|
1684
|
+
description: "Client-declared timestamp when this record was originally created."
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
}
|
|
1689
|
+
};
|
|
1690
|
+
var ATTACHMENT_LEXICON_JSON = {
|
|
1691
|
+
lexicon: lexicon$9,
|
|
1692
|
+
id: id$p,
|
|
1693
|
+
defs: defs$b
|
|
1694
|
+
};
|
|
1695
|
+
|
|
1696
|
+
var lexicon$8 = 1;
|
|
1697
|
+
var id$o = "org.hypercerts.claim.collection";
|
|
1698
|
+
var defs$a = {
|
|
1546
1699
|
main: {
|
|
1547
1700
|
type: "record",
|
|
1548
1701
|
description: "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
|
|
@@ -1632,14 +1785,14 @@ var defs$b = {
|
|
|
1632
1785
|
}
|
|
1633
1786
|
};
|
|
1634
1787
|
var COLLECTION_LEXICON_JSON = {
|
|
1635
|
-
lexicon: lexicon$
|
|
1636
|
-
id: id$
|
|
1637
|
-
defs: defs$
|
|
1788
|
+
lexicon: lexicon$8,
|
|
1789
|
+
id: id$o,
|
|
1790
|
+
defs: defs$a
|
|
1638
1791
|
};
|
|
1639
1792
|
|
|
1640
|
-
var lexicon$
|
|
1641
|
-
var id$
|
|
1642
|
-
var defs$
|
|
1793
|
+
var lexicon$7 = 1;
|
|
1794
|
+
var id$n = "org.hypercerts.claim.contributionDetails";
|
|
1795
|
+
var defs$9 = {
|
|
1643
1796
|
main: {
|
|
1644
1797
|
type: "record",
|
|
1645
1798
|
description: "Details about a specific contribution including role, description, and timeframe.",
|
|
@@ -1681,14 +1834,14 @@ var defs$a = {
|
|
|
1681
1834
|
}
|
|
1682
1835
|
};
|
|
1683
1836
|
var CONTRIBUTION_DETAILS_LEXICON_JSON = {
|
|
1684
|
-
lexicon: lexicon$
|
|
1685
|
-
id: id$
|
|
1686
|
-
defs: defs$
|
|
1837
|
+
lexicon: lexicon$7,
|
|
1838
|
+
id: id$n,
|
|
1839
|
+
defs: defs$9
|
|
1687
1840
|
};
|
|
1688
1841
|
|
|
1689
|
-
var lexicon$
|
|
1690
|
-
var id$
|
|
1691
|
-
var defs$
|
|
1842
|
+
var lexicon$6 = 1;
|
|
1843
|
+
var id$m = "org.hypercerts.claim.contributorInformation";
|
|
1844
|
+
var defs$8 = {
|
|
1692
1845
|
main: {
|
|
1693
1846
|
type: "record",
|
|
1694
1847
|
description: "Contributor information including identifier, display name, and image.",
|
|
@@ -1726,14 +1879,14 @@ var defs$9 = {
|
|
|
1726
1879
|
}
|
|
1727
1880
|
};
|
|
1728
1881
|
var CONTRIBUTOR_INFORMATION_LEXICON_JSON = {
|
|
1729
|
-
lexicon: lexicon$
|
|
1730
|
-
id: id$
|
|
1731
|
-
defs: defs$
|
|
1882
|
+
lexicon: lexicon$6,
|
|
1883
|
+
id: id$m,
|
|
1884
|
+
defs: defs$8
|
|
1732
1885
|
};
|
|
1733
1886
|
|
|
1734
|
-
var lexicon$
|
|
1735
|
-
var id$
|
|
1736
|
-
var defs$
|
|
1887
|
+
var lexicon$5 = 1;
|
|
1888
|
+
var id$l = "org.hypercerts.claim.evaluation";
|
|
1889
|
+
var defs$7 = {
|
|
1737
1890
|
score: {
|
|
1738
1891
|
type: "object",
|
|
1739
1892
|
description: "Overall score for an evaluation on a numeric scale.",
|
|
@@ -1830,75 +1983,6 @@ var defs$8 = {
|
|
|
1830
1983
|
}
|
|
1831
1984
|
};
|
|
1832
1985
|
var EVALUATION_LEXICON_JSON = {
|
|
1833
|
-
lexicon: lexicon$6,
|
|
1834
|
-
id: id$m,
|
|
1835
|
-
defs: defs$8
|
|
1836
|
-
};
|
|
1837
|
-
|
|
1838
|
-
var lexicon$5 = 1;
|
|
1839
|
-
var id$l = "org.hypercerts.claim.evidence";
|
|
1840
|
-
var defs$7 = {
|
|
1841
|
-
main: {
|
|
1842
|
-
type: "record",
|
|
1843
|
-
description: "A piece of evidence related to a hypercert record (e.g. an activity, project, claim, or evaluation). Evidence may support, clarify, or challenge the referenced subject.",
|
|
1844
|
-
key: "tid",
|
|
1845
|
-
record: {
|
|
1846
|
-
type: "object",
|
|
1847
|
-
required: [
|
|
1848
|
-
"content",
|
|
1849
|
-
"title",
|
|
1850
|
-
"createdAt"
|
|
1851
|
-
],
|
|
1852
|
-
properties: {
|
|
1853
|
-
subject: {
|
|
1854
|
-
type: "ref",
|
|
1855
|
-
ref: "com.atproto.repo.strongRef",
|
|
1856
|
-
description: "A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation)."
|
|
1857
|
-
},
|
|
1858
|
-
content: {
|
|
1859
|
-
type: "union",
|
|
1860
|
-
refs: [
|
|
1861
|
-
"org.hypercerts.defs#uri",
|
|
1862
|
-
"org.hypercerts.defs#smallBlob"
|
|
1863
|
-
],
|
|
1864
|
-
description: "A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim."
|
|
1865
|
-
},
|
|
1866
|
-
title: {
|
|
1867
|
-
type: "string",
|
|
1868
|
-
maxLength: 256,
|
|
1869
|
-
description: "Title to describe the nature of the evidence."
|
|
1870
|
-
},
|
|
1871
|
-
shortDescription: {
|
|
1872
|
-
type: "string",
|
|
1873
|
-
maxLength: 3000,
|
|
1874
|
-
maxGraphemes: 300,
|
|
1875
|
-
description: "Short description explaining what this evidence shows."
|
|
1876
|
-
},
|
|
1877
|
-
description: {
|
|
1878
|
-
type: "string",
|
|
1879
|
-
description: "Longer description describing the evidence in more detail.",
|
|
1880
|
-
maxLength: 30000,
|
|
1881
|
-
maxGraphemes: 3000
|
|
1882
|
-
},
|
|
1883
|
-
relationType: {
|
|
1884
|
-
type: "string",
|
|
1885
|
-
description: "How this evidence relates to the subject.",
|
|
1886
|
-
knownValues: [
|
|
1887
|
-
"supports",
|
|
1888
|
-
"challenges",
|
|
1889
|
-
"clarifies"
|
|
1890
|
-
]
|
|
1891
|
-
},
|
|
1892
|
-
createdAt: {
|
|
1893
|
-
type: "string",
|
|
1894
|
-
format: "datetime",
|
|
1895
|
-
description: "Client-declared timestamp when this record was originally created"
|
|
1896
|
-
}
|
|
1897
|
-
}
|
|
1898
|
-
}
|
|
1899
|
-
}
|
|
1900
|
-
};
|
|
1901
|
-
var EVIDENCE_LEXICON_JSON = {
|
|
1902
1986
|
lexicon: lexicon$5,
|
|
1903
1987
|
id: id$l,
|
|
1904
1988
|
defs: defs$7
|
|
@@ -2384,13 +2468,22 @@ function isMain$b(v) {
|
|
|
2384
2468
|
function validateMain$b(v) {
|
|
2385
2469
|
return validate$c(v, id$c, hashMain$b, true);
|
|
2386
2470
|
}
|
|
2471
|
+
const hashString = 'string';
|
|
2472
|
+
function isString(v) {
|
|
2473
|
+
return is$typed$c(v, id$c, hashString);
|
|
2474
|
+
}
|
|
2475
|
+
function validateString(v) {
|
|
2476
|
+
return validate$c(v, id$c, hashString);
|
|
2477
|
+
}
|
|
2387
2478
|
|
|
2388
2479
|
var location = /*#__PURE__*/Object.freeze({
|
|
2389
2480
|
__proto__: null,
|
|
2390
2481
|
isMain: isMain$b,
|
|
2391
2482
|
isRecord: isMain$b,
|
|
2483
|
+
isString: isString,
|
|
2392
2484
|
validateMain: validateMain$b,
|
|
2393
|
-
validateRecord: validateMain$b
|
|
2485
|
+
validateRecord: validateMain$b,
|
|
2486
|
+
validateString: validateString
|
|
2394
2487
|
});
|
|
2395
2488
|
|
|
2396
2489
|
const is$typed$b = is$typed$g, validate$b = validate$g;
|
|
@@ -2437,7 +2530,7 @@ var activity = /*#__PURE__*/Object.freeze({
|
|
|
2437
2530
|
});
|
|
2438
2531
|
|
|
2439
2532
|
const is$typed$9 = is$typed$g, validate$9 = validate$g;
|
|
2440
|
-
const id$9 = 'org.hypercerts.claim.
|
|
2533
|
+
const id$9 = 'org.hypercerts.claim.attachment';
|
|
2441
2534
|
const hashMain$8 = 'main';
|
|
2442
2535
|
function isMain$8(v) {
|
|
2443
2536
|
return is$typed$9(v, id$9, hashMain$8);
|
|
@@ -2445,26 +2538,17 @@ function isMain$8(v) {
|
|
|
2445
2538
|
function validateMain$8(v) {
|
|
2446
2539
|
return validate$9(v, id$9, hashMain$8, true);
|
|
2447
2540
|
}
|
|
2448
|
-
const hashItem = 'item';
|
|
2449
|
-
function isItem(v) {
|
|
2450
|
-
return is$typed$9(v, id$9, hashItem);
|
|
2451
|
-
}
|
|
2452
|
-
function validateItem(v) {
|
|
2453
|
-
return validate$9(v, id$9, hashItem);
|
|
2454
|
-
}
|
|
2455
2541
|
|
|
2456
|
-
var
|
|
2542
|
+
var attachment = /*#__PURE__*/Object.freeze({
|
|
2457
2543
|
__proto__: null,
|
|
2458
|
-
isItem: isItem,
|
|
2459
2544
|
isMain: isMain$8,
|
|
2460
2545
|
isRecord: isMain$8,
|
|
2461
|
-
validateItem: validateItem,
|
|
2462
2546
|
validateMain: validateMain$8,
|
|
2463
2547
|
validateRecord: validateMain$8
|
|
2464
2548
|
});
|
|
2465
2549
|
|
|
2466
2550
|
const is$typed$8 = is$typed$g, validate$8 = validate$g;
|
|
2467
|
-
const id$8 = 'org.hypercerts.claim.
|
|
2551
|
+
const id$8 = 'org.hypercerts.claim.collection';
|
|
2468
2552
|
const hashMain$7 = 'main';
|
|
2469
2553
|
function isMain$7(v) {
|
|
2470
2554
|
return is$typed$8(v, id$8, hashMain$7);
|
|
@@ -2472,17 +2556,26 @@ function isMain$7(v) {
|
|
|
2472
2556
|
function validateMain$7(v) {
|
|
2473
2557
|
return validate$8(v, id$8, hashMain$7, true);
|
|
2474
2558
|
}
|
|
2559
|
+
const hashItem = 'item';
|
|
2560
|
+
function isItem(v) {
|
|
2561
|
+
return is$typed$8(v, id$8, hashItem);
|
|
2562
|
+
}
|
|
2563
|
+
function validateItem(v) {
|
|
2564
|
+
return validate$8(v, id$8, hashItem);
|
|
2565
|
+
}
|
|
2475
2566
|
|
|
2476
|
-
var
|
|
2567
|
+
var collection = /*#__PURE__*/Object.freeze({
|
|
2477
2568
|
__proto__: null,
|
|
2569
|
+
isItem: isItem,
|
|
2478
2570
|
isMain: isMain$7,
|
|
2479
2571
|
isRecord: isMain$7,
|
|
2572
|
+
validateItem: validateItem,
|
|
2480
2573
|
validateMain: validateMain$7,
|
|
2481
2574
|
validateRecord: validateMain$7
|
|
2482
2575
|
});
|
|
2483
2576
|
|
|
2484
2577
|
const is$typed$7 = is$typed$g, validate$7 = validate$g;
|
|
2485
|
-
const id$7 = 'org.hypercerts.claim.
|
|
2578
|
+
const id$7 = 'org.hypercerts.claim.contributionDetails';
|
|
2486
2579
|
const hashMain$6 = 'main';
|
|
2487
2580
|
function isMain$6(v) {
|
|
2488
2581
|
return is$typed$7(v, id$7, hashMain$6);
|
|
@@ -2491,7 +2584,7 @@ function validateMain$6(v) {
|
|
|
2491
2584
|
return validate$7(v, id$7, hashMain$6, true);
|
|
2492
2585
|
}
|
|
2493
2586
|
|
|
2494
|
-
var
|
|
2587
|
+
var contributionDetails = /*#__PURE__*/Object.freeze({
|
|
2495
2588
|
__proto__: null,
|
|
2496
2589
|
isMain: isMain$6,
|
|
2497
2590
|
isRecord: isMain$6,
|
|
@@ -2500,14 +2593,7 @@ var contributorInformation = /*#__PURE__*/Object.freeze({
|
|
|
2500
2593
|
});
|
|
2501
2594
|
|
|
2502
2595
|
const is$typed$6 = is$typed$g, validate$6 = validate$g;
|
|
2503
|
-
const id$6 = 'org.hypercerts.claim.
|
|
2504
|
-
const hashScore = 'score';
|
|
2505
|
-
function isScore(v) {
|
|
2506
|
-
return is$typed$6(v, id$6, hashScore);
|
|
2507
|
-
}
|
|
2508
|
-
function validateScore(v) {
|
|
2509
|
-
return validate$6(v, id$6, hashScore);
|
|
2510
|
-
}
|
|
2596
|
+
const id$6 = 'org.hypercerts.claim.contributorInformation';
|
|
2511
2597
|
const hashMain$5 = 'main';
|
|
2512
2598
|
function isMain$5(v) {
|
|
2513
2599
|
return is$typed$6(v, id$6, hashMain$5);
|
|
@@ -2516,18 +2602,23 @@ function validateMain$5(v) {
|
|
|
2516
2602
|
return validate$6(v, id$6, hashMain$5, true);
|
|
2517
2603
|
}
|
|
2518
2604
|
|
|
2519
|
-
var
|
|
2605
|
+
var contributorInformation = /*#__PURE__*/Object.freeze({
|
|
2520
2606
|
__proto__: null,
|
|
2521
2607
|
isMain: isMain$5,
|
|
2522
2608
|
isRecord: isMain$5,
|
|
2523
|
-
isScore: isScore,
|
|
2524
2609
|
validateMain: validateMain$5,
|
|
2525
|
-
validateRecord: validateMain$5
|
|
2526
|
-
validateScore: validateScore
|
|
2610
|
+
validateRecord: validateMain$5
|
|
2527
2611
|
});
|
|
2528
2612
|
|
|
2529
2613
|
const is$typed$5 = is$typed$g, validate$5 = validate$g;
|
|
2530
|
-
const id$5 = 'org.hypercerts.claim.
|
|
2614
|
+
const id$5 = 'org.hypercerts.claim.evaluation';
|
|
2615
|
+
const hashScore = 'score';
|
|
2616
|
+
function isScore(v) {
|
|
2617
|
+
return is$typed$5(v, id$5, hashScore);
|
|
2618
|
+
}
|
|
2619
|
+
function validateScore(v) {
|
|
2620
|
+
return validate$5(v, id$5, hashScore);
|
|
2621
|
+
}
|
|
2531
2622
|
const hashMain$4 = 'main';
|
|
2532
2623
|
function isMain$4(v) {
|
|
2533
2624
|
return is$typed$5(v, id$5, hashMain$4);
|
|
@@ -2536,12 +2627,14 @@ function validateMain$4(v) {
|
|
|
2536
2627
|
return validate$5(v, id$5, hashMain$4, true);
|
|
2537
2628
|
}
|
|
2538
2629
|
|
|
2539
|
-
var
|
|
2630
|
+
var evaluation = /*#__PURE__*/Object.freeze({
|
|
2540
2631
|
__proto__: null,
|
|
2541
2632
|
isMain: isMain$4,
|
|
2542
2633
|
isRecord: isMain$4,
|
|
2634
|
+
isScore: isScore,
|
|
2543
2635
|
validateMain: validateMain$4,
|
|
2544
|
-
validateRecord: validateMain$4
|
|
2636
|
+
validateRecord: validateMain$4,
|
|
2637
|
+
validateScore: validateScore
|
|
2545
2638
|
});
|
|
2546
2639
|
|
|
2547
2640
|
const is$typed$4 = is$typed$g, validate$4 = validate$g;
|
|
@@ -2674,7 +2767,7 @@ var workScopeTag = /*#__PURE__*/Object.freeze({
|
|
|
2674
2767
|
* ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
|
|
2675
2768
|
*
|
|
2676
2769
|
* This file is automatically generated by scripts/generate-exports.js
|
|
2677
|
-
* Generated: 2026-01-
|
|
2770
|
+
* Generated: 2026-01-25T04:32:42.985Z
|
|
2678
2771
|
*
|
|
2679
2772
|
* To regenerate this file, run:
|
|
2680
2773
|
* npm run gen-api
|
|
@@ -2698,11 +2791,11 @@ const CERTIFIED_DEFS_NSID = "app.certified.defs";
|
|
|
2698
2791
|
const LOCATION_NSID = "app.certified.location";
|
|
2699
2792
|
const STRONG_REF_NSID = "com.atproto.repo.strongRef";
|
|
2700
2793
|
const ACTIVITY_NSID = "org.hypercerts.claim.activity";
|
|
2794
|
+
const ATTACHMENT_NSID = "org.hypercerts.claim.attachment";
|
|
2701
2795
|
const COLLECTION_NSID = "org.hypercerts.claim.collection";
|
|
2702
2796
|
const CONTRIBUTION_DETAILS_NSID = "org.hypercerts.claim.contributionDetails";
|
|
2703
2797
|
const CONTRIBUTOR_INFORMATION_NSID = "org.hypercerts.claim.contributorInformation";
|
|
2704
2798
|
const EVALUATION_NSID = "org.hypercerts.claim.evaluation";
|
|
2705
|
-
const EVIDENCE_NSID = "org.hypercerts.claim.evidence";
|
|
2706
2799
|
const MEASUREMENT_NSID = "org.hypercerts.claim.measurement";
|
|
2707
2800
|
const RIGHTS_NSID = "org.hypercerts.claim.rights";
|
|
2708
2801
|
const HYPERCERTS_DEFS_NSID = "org.hypercerts.defs";
|
|
@@ -2722,11 +2815,11 @@ const HYPERCERTS_NSIDS = {
|
|
|
2722
2815
|
LOCATION: LOCATION_NSID,
|
|
2723
2816
|
STRONG_REF: STRONG_REF_NSID,
|
|
2724
2817
|
ACTIVITY: ACTIVITY_NSID,
|
|
2818
|
+
ATTACHMENT: ATTACHMENT_NSID,
|
|
2725
2819
|
COLLECTION: COLLECTION_NSID,
|
|
2726
2820
|
CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_NSID,
|
|
2727
2821
|
CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_NSID,
|
|
2728
2822
|
EVALUATION: EVALUATION_NSID,
|
|
2729
|
-
EVIDENCE: EVIDENCE_NSID,
|
|
2730
2823
|
MEASUREMENT: MEASUREMENT_NSID,
|
|
2731
2824
|
RIGHTS: RIGHTS_NSID,
|
|
2732
2825
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_NSID,
|
|
@@ -2744,11 +2837,11 @@ const HYPERCERTS_LEXICON_JSON = {
|
|
|
2744
2837
|
LOCATION: LOCATION_LEXICON_JSON,
|
|
2745
2838
|
STRONG_REF: STRONG_REF_LEXICON_JSON,
|
|
2746
2839
|
ACTIVITY: ACTIVITY_LEXICON_JSON,
|
|
2840
|
+
ATTACHMENT: ATTACHMENT_LEXICON_JSON,
|
|
2747
2841
|
COLLECTION: COLLECTION_LEXICON_JSON,
|
|
2748
2842
|
CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_JSON,
|
|
2749
2843
|
CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_JSON,
|
|
2750
2844
|
EVALUATION: EVALUATION_LEXICON_JSON,
|
|
2751
|
-
EVIDENCE: EVIDENCE_LEXICON_JSON,
|
|
2752
2845
|
MEASUREMENT: MEASUREMENT_LEXICON_JSON,
|
|
2753
2846
|
RIGHTS: RIGHTS_LEXICON_JSON,
|
|
2754
2847
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_JSON,
|
|
@@ -2763,11 +2856,11 @@ const CERTIFIED_DEFS_LEXICON_DOC = lexicons.get(CERTIFIED_DEFS_NSID);
|
|
|
2763
2856
|
const LOCATION_LEXICON_DOC = lexicons.get(LOCATION_NSID);
|
|
2764
2857
|
const STRONG_REF_LEXICON_DOC = lexicons.get(STRONG_REF_NSID);
|
|
2765
2858
|
const ACTIVITY_LEXICON_DOC = lexicons.get(ACTIVITY_NSID);
|
|
2859
|
+
const ATTACHMENT_LEXICON_DOC = lexicons.get(ATTACHMENT_NSID);
|
|
2766
2860
|
const COLLECTION_LEXICON_DOC = lexicons.get(COLLECTION_NSID);
|
|
2767
2861
|
const CONTRIBUTION_DETAILS_LEXICON_DOC = lexicons.get(CONTRIBUTION_DETAILS_NSID);
|
|
2768
2862
|
const CONTRIBUTOR_INFORMATION_LEXICON_DOC = lexicons.get(CONTRIBUTOR_INFORMATION_NSID);
|
|
2769
2863
|
const EVALUATION_LEXICON_DOC = lexicons.get(EVALUATION_NSID);
|
|
2770
|
-
const EVIDENCE_LEXICON_DOC = lexicons.get(EVIDENCE_NSID);
|
|
2771
2864
|
const MEASUREMENT_LEXICON_DOC = lexicons.get(MEASUREMENT_NSID);
|
|
2772
2865
|
const RIGHTS_LEXICON_DOC = lexicons.get(RIGHTS_NSID);
|
|
2773
2866
|
const HYPERCERTS_DEFS_LEXICON_DOC = lexicons.get(HYPERCERTS_DEFS_NSID);
|
|
@@ -2784,11 +2877,11 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2784
2877
|
LOCATION: LOCATION_LEXICON_DOC,
|
|
2785
2878
|
STRONG_REF: STRONG_REF_LEXICON_DOC,
|
|
2786
2879
|
ACTIVITY: ACTIVITY_LEXICON_DOC,
|
|
2880
|
+
ATTACHMENT: ATTACHMENT_LEXICON_DOC,
|
|
2787
2881
|
COLLECTION: COLLECTION_LEXICON_DOC,
|
|
2788
2882
|
CONTRIBUTION_DETAILS: CONTRIBUTION_DETAILS_LEXICON_DOC,
|
|
2789
2883
|
CONTRIBUTOR_INFORMATION: CONTRIBUTOR_INFORMATION_LEXICON_DOC,
|
|
2790
2884
|
EVALUATION: EVALUATION_LEXICON_DOC,
|
|
2791
|
-
EVIDENCE: EVIDENCE_LEXICON_DOC,
|
|
2792
2885
|
MEASUREMENT: MEASUREMENT_LEXICON_DOC,
|
|
2793
2886
|
RIGHTS: RIGHTS_LEXICON_DOC,
|
|
2794
2887
|
HYPERCERTS_DEFS: HYPERCERTS_DEFS_LEXICON_DOC,
|
|
@@ -2799,6 +2892,9 @@ const HYPERCERTS_LEXICON_DOC = {
|
|
|
2799
2892
|
exports.ACTIVITY_LEXICON_DOC = ACTIVITY_LEXICON_DOC;
|
|
2800
2893
|
exports.ACTIVITY_LEXICON_JSON = ACTIVITY_LEXICON_JSON;
|
|
2801
2894
|
exports.ACTIVITY_NSID = ACTIVITY_NSID;
|
|
2895
|
+
exports.ATTACHMENT_LEXICON_DOC = ATTACHMENT_LEXICON_DOC;
|
|
2896
|
+
exports.ATTACHMENT_LEXICON_JSON = ATTACHMENT_LEXICON_JSON;
|
|
2897
|
+
exports.ATTACHMENT_NSID = ATTACHMENT_NSID;
|
|
2802
2898
|
exports.AppCertifiedBadgeAward = award;
|
|
2803
2899
|
exports.AppCertifiedBadgeDefinition = definition;
|
|
2804
2900
|
exports.AppCertifiedBadgeResponse = response;
|
|
@@ -2829,9 +2925,6 @@ exports.ComAtprotoRepoStrongRef = strongRef;
|
|
|
2829
2925
|
exports.EVALUATION_LEXICON_DOC = EVALUATION_LEXICON_DOC;
|
|
2830
2926
|
exports.EVALUATION_LEXICON_JSON = EVALUATION_LEXICON_JSON;
|
|
2831
2927
|
exports.EVALUATION_NSID = EVALUATION_NSID;
|
|
2832
|
-
exports.EVIDENCE_LEXICON_DOC = EVIDENCE_LEXICON_DOC;
|
|
2833
|
-
exports.EVIDENCE_LEXICON_JSON = EVIDENCE_LEXICON_JSON;
|
|
2834
|
-
exports.EVIDENCE_NSID = EVIDENCE_NSID;
|
|
2835
2928
|
exports.FUNDING_RECEIPT_LEXICON_DOC = FUNDING_RECEIPT_LEXICON_DOC;
|
|
2836
2929
|
exports.FUNDING_RECEIPT_LEXICON_JSON = FUNDING_RECEIPT_LEXICON_JSON;
|
|
2837
2930
|
exports.FUNDING_RECEIPT_NSID = FUNDING_RECEIPT_NSID;
|
|
@@ -2851,11 +2944,11 @@ exports.MEASUREMENT_LEXICON_DOC = MEASUREMENT_LEXICON_DOC;
|
|
|
2851
2944
|
exports.MEASUREMENT_LEXICON_JSON = MEASUREMENT_LEXICON_JSON;
|
|
2852
2945
|
exports.MEASUREMENT_NSID = MEASUREMENT_NSID;
|
|
2853
2946
|
exports.OrgHypercertsClaimActivity = activity;
|
|
2947
|
+
exports.OrgHypercertsClaimAttachment = attachment;
|
|
2854
2948
|
exports.OrgHypercertsClaimCollection = collection;
|
|
2855
2949
|
exports.OrgHypercertsClaimContributionDetails = contributionDetails;
|
|
2856
2950
|
exports.OrgHypercertsClaimContributorInformation = contributorInformation;
|
|
2857
2951
|
exports.OrgHypercertsClaimEvaluation = evaluation;
|
|
2858
|
-
exports.OrgHypercertsClaimEvidence = evidence;
|
|
2859
2952
|
exports.OrgHypercertsClaimMeasurement = measurement;
|
|
2860
2953
|
exports.OrgHypercertsClaimRights = rights;
|
|
2861
2954
|
exports.OrgHypercertsDefs = defs;
|