@hypercerts-org/lexicon 0.10.0-beta.6 → 0.10.0-beta.7

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 (34) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/README.md +46 -0
  3. package/SCHEMAS.md +103 -97
  4. package/dist/exports.d.ts +44 -18
  5. package/dist/exports.d.ts.map +1 -1
  6. package/dist/generated/exports.d.ts +44 -18
  7. package/dist/generated/exports.d.ts.map +1 -1
  8. package/dist/generated/lexicons.d.ts +100 -48
  9. package/dist/generated/lexicons.d.ts.map +1 -1
  10. package/dist/generated/types/app/bsky/richtext/facet.d.ts +8 -0
  11. package/dist/generated/types/app/bsky/richtext/facet.d.ts.map +1 -0
  12. package/dist/generated/types/org/hypercerts/claim/activity.d.ts +9 -12
  13. package/dist/generated/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  14. package/dist/generated/types/org/hypercerts/claim/collection.d.ts +18 -2
  15. package/dist/generated/types/org/hypercerts/claim/collection.d.ts.map +1 -1
  16. package/dist/index.cjs +124 -61
  17. package/dist/index.cjs.map +1 -1
  18. package/dist/index.mjs +124 -61
  19. package/dist/index.mjs.map +1 -1
  20. package/dist/lexicons.cjs +56 -24
  21. package/dist/lexicons.cjs.map +1 -1
  22. package/dist/lexicons.d.ts +100 -48
  23. package/dist/lexicons.d.ts.map +1 -1
  24. package/dist/lexicons.mjs +56 -24
  25. package/dist/lexicons.mjs.map +1 -1
  26. package/dist/types/app/bsky/richtext/facet.d.ts +8 -0
  27. package/dist/types/app/bsky/richtext/facet.d.ts.map +1 -0
  28. package/dist/types/org/hypercerts/claim/activity.d.ts +9 -12
  29. package/dist/types/org/hypercerts/claim/activity.d.ts.map +1 -1
  30. package/dist/types/org/hypercerts/claim/collection.d.ts +18 -2
  31. package/dist/types/org/hypercerts/claim/collection.d.ts.map +1 -1
  32. package/lexicons/org/hypercerts/claim/activity.json +23 -22
  33. package/lexicons/org/hypercerts/claim/collection.json +33 -2
  34. package/package.json +4 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,55 @@
1
1
  # @hypercerts-org/lexicon
2
2
 
3
+ ## 0.10.0-beta.7
4
+
5
+ ### Minor Changes
6
+
7
+ - [#106](https://github.com/hypercerts-org/hypercerts-lexicon/pull/106) [`b03a1f7`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/b03a1f7925b56a5d614bb3a40f7fe5e6321f3d34) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add avatar and banner fields to collection lexicon for visual representation
8
+
9
+ - [#113](https://github.com/hypercerts-org/hypercerts-lexicon/pull/113) [`c3f9ca2`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/c3f9ca2f5cb2c5da4d0f4272a74d06f6798e058b) Thanks [@holkexyz](https://github.com/holkexyz)! - Refactor collection items structure to support optional weights and remove activityWeight from activity schema
10
+
11
+ **Breaking Changes:**
12
+ - **Activity lexicon (`org.hypercerts.claim.activity`):**
13
+ - Removed `org.hypercerts.claim.activity#activityWeight` def
14
+ - Activity records no longer include activity weight information
15
+ - **Collection lexicon (`org.hypercerts.claim.collection`):**
16
+ - Changed `org.hypercerts.claim.collection#items` from array of strongRefs to array of item objects
17
+ - Added `org.hypercerts.claim.collection#item` def with:
18
+ - `itemIdentifier` (required): strongRef to an item (activity or collection)
19
+ - `itemWeight` (optional): positive numeric value stored as string
20
+ - Supports recursive collection nesting (items can reference activities or other collections)
21
+
22
+ **Migration:**
23
+
24
+ **Collection items:** Convert from array of strongRefs to array of item objects:
25
+
26
+ ```json
27
+ // Before
28
+ "items": [strongRef1, strongRef2]
29
+
30
+ // After
31
+ "items": [
32
+ { "itemIdentifier": strongRef1, "itemWeight": "1.5" },
33
+ { "itemIdentifier": strongRef2 }
34
+ ]
35
+ ```
36
+
37
+ **Activity weights:** Migrate existing `org.hypercerts.claim.activity#activityWeight` data to collection `org.hypercerts.claim.collection#item.itemWeight`:
38
+
39
+ ```json
40
+ // Old (removed from activity)
41
+ { "activity": { "uri": "...", "cid": "..." }, "weight": "1.5" }
42
+
43
+ // New (in collection items)
44
+ { "itemIdentifier": { "uri": "...", "cid": "..." }, "itemWeight": "1.5" }
45
+ ```
46
+
47
+ Update collections that reference activities to include weights in `org.hypercerts.claim.collection#item.itemWeight`. Weights can be dropped if not needed.
48
+
49
+ - [#91](https://github.com/hypercerts-org/hypercerts-lexicon/pull/91) [`0c6da09`](https://github.com/hypercerts-org/hypercerts-lexicon/commit/0c6da093c8a38a3ee516a85b6bffee0850535b14) Thanks [@holkexyz](https://github.com/holkexyz)! - Add rich text facet support to activity claim descriptions
50
+
51
+ Add `shortDescriptionFacets` and `descriptionFacets` fields to the activity lexicon to support rich text annotations (mentions, URLs, hashtags, etc.) in activity claim descriptions.
52
+
3
53
  ## 0.10.0-beta.6
4
54
 
5
55
  ### Minor Changes
package/README.md CHANGED
@@ -254,3 +254,49 @@ const projectRecord = {
254
254
  **Note**: The `type` field is optional and can be set to "project",
255
255
  "favorites", or any other collection type. The `description` field
256
256
  supports rich-text via Leaflet linear documents.
257
+
258
+ ### Adding Visual Representation to Collections
259
+
260
+ Collections can include `avatar` and `banner` fields for visual representation:
261
+
262
+ ```typescript
263
+ import { COLLECTION_NSID } from "@hypercerts-org/lexicon";
264
+
265
+ const collectionRecord = {
266
+ $type: COLLECTION_NSID,
267
+ title: "Climate Action Projects",
268
+ avatar: {
269
+ image: blobRef, // or { uri: "https://..." }
270
+ },
271
+ banner: {
272
+ image: largeBlobRef, // or { uri: "https://..." }
273
+ },
274
+ items: [
275
+ // ... collection items
276
+ ],
277
+ createdAt: new Date().toISOString(),
278
+ };
279
+ ```
280
+
281
+ **Note**: Both `avatar` (up to 5MB) and `banner` (up to 10MB) fields
282
+ are optional and support either embedded image blobs or URI references to
283
+ external images.
284
+
285
+ ### Adding Locations to Activities
286
+
287
+ The `locations` field in activity records is an array of strong references
288
+ (`com.atproto.repo.strongRef`) pointing to `app.certified.location` records.
289
+ Each strong reference contains two required fields:
290
+
291
+ - `uri`: The ATProto URI of the location record (e.g., `at://did:plc:alice/app.certified.location/abc123`)
292
+ - `cid`: The content identifier (CID) of the location record, ensuring referential integrity
293
+
294
+ **Validation and Expectations**:
295
+
296
+ - All location records referenced in the `locations` array must conform to the
297
+ `app.certified.location` lexicon schema
298
+ - The `uri` field must be a valid ATProto URI pointing to an existing location record
299
+ - The `cid` field must match the current CID of the referenced location record
300
+ - The `locations` field is optional; activities can be created without location data
301
+ - When using the sidecar pattern (same TID), ensure the location record is created
302
+ or updated alongside the activity record for consistency
package/SCHEMAS.md CHANGED
@@ -15,36 +15,31 @@ Hypercerts-specific lexicons for tracking impact work and claims.
15
15
 
16
16
  #### Properties
17
17
 
18
- | Property | Type | Required | Description | Comments |
19
- | ------------------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
20
- | `title` | `string` | yes | Title of the hypercert. | maxLength: 256 |
21
- | `shortDescription` | `string` | yes | Short blurb of the impact work done. | maxLength: 3000, maxGraphemes: 300 |
22
- | `description` | `string` | no | Optional longer description of the impact work done. | maxLength: 30000, maxGraphemes: 3000 |
23
- | `image` | `union` | no | The hypercert visual representation as a URI or image blob. | |
24
- | `workScope` | `ref` | no | A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions. | |
25
- | `startDate` | `string` | no | When the work began | |
26
- | `endDate` | `string` | no | When the work ended | |
27
- | `contributors` | `ref` | no | An array of contributor objects, each containing contributor information, weight, and contribution details. | |
28
- | `rights` | `ref` | no | A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights. | |
29
- | `locations` | `ref` | no | An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location. | |
30
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
18
+ | Property | Type | Required | Description | Comments |
19
+ | ------------------------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ |
20
+ | `title` | `string` | | Title of the hypercert. | maxLength: 256 |
21
+ | `shortDescription` | `string` | | Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. | maxLength: 3000, maxGraphemes: 300 |
22
+ | `shortDescriptionFacets` | `ref` | | Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). | |
23
+ | `description` | `string` | | Optional longer description of this activity claim, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`. | maxLength: 30000, maxGraphemes: 3000 |
24
+ | `descriptionFacets` | `ref` | | Rich text annotations for `description` (mentions, URLs, hashtags, etc). | |
25
+ | `image` | `union` | | The hypercert visual representation as a URI or image blob. | |
26
+ | `workScope` | `ref` | | A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions. | |
27
+ | `startDate` | `string` | | When the work began | |
28
+ | `endDate` | `string` | | When the work ended | |
29
+ | `contributors` | `ref` | | An array of contributor objects, each containing contributor information, weight, and contribution details. | |
30
+ | `rights` | `ref` | | A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights. | |
31
+ | `locations` | `ref` | ❌ | An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location. | |
32
+ | `createdAt` | `string` | ✅ | Client-declared timestamp when this record was originally created | |
31
33
 
32
34
  #### Defs
33
35
 
34
36
  ##### contributor
35
37
 
36
- | Property | Type | Required | Description |
37
- | ------------------------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
38
- | `contributorInformation` | `union` | yes | Contributor information as a string (DID or identifier) or strong reference to for instance org.hypercerts.claim.contributorInformation#main. |
39
- | `weight` | `string` | no | The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed. |
40
- | `contributionDetails` | `union` | no | Contribution details as a string or strong reference to org.hypercerts.claim.contributionDetails#main. |
41
-
42
- ##### activityWeight
43
-
44
- | Property | Type | Required | Description |
45
- | ---------- | -------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
46
- | `activity` | `ref` | yes | A strong reference to a hypercert activity record. This activity must conform to the lexicon org.hypercerts.claim.activity |
47
- | `weight` | `string` | yes | The relative weight/importance of this hypercert activity (stored as a string to avoid float precision issues). Weights can be any positive numeric values and do not need to sum to a specific total; normalization can be performed by the consuming application as needed. |
38
+ | Property | Type | Required | Description |
39
+ | --------------------- | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
40
+ | `contributorIdentity` | `union` | | Contributor identity as a string (DID or identifier) via org.hypercerts.claim.activity#contributorIdentity, or a strong reference to a contributor information record. |
41
+ | `contributionWeight` | `string` | | The relative weight/importance of this contribution (stored as a string to avoid float precision issues). Must be a positive numeric value. Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed. |
42
+ | `contributionDetails` | `union` | | Contribution details as a string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record. |
48
43
 
49
44
  ---
50
45
 
@@ -58,14 +53,14 @@ Hypercerts-specific lexicons for tracking impact work and claims.
58
53
 
59
54
  | Property | Type | Required | Description | Comments |
60
55
  | -------------- | -------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------- |
61
- | `subject` | `ref` | no | A strong reference to what is being evaluated. (e.g activity, measurement, contribution, etc.) | |
62
- | `evaluators` | `ref` | yes | DIDs of the evaluators | maxLength: 1000 |
63
- | `content` | `union` | no | Evaluation data (URIs or blobs) containing detailed reports or methodology | maxLength: 100 |
64
- | `measurements` | `ref` | no | Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement | maxLength: 100 |
65
- | `summary` | `string` | yes | Brief evaluation summary | maxLength: 5000, maxGraphemes: 1000 |
66
- | `score` | `ref` | no | Overall score for an evaluation on a numeric scale. | |
67
- | `location` | `ref` | no | An optional reference for georeferenced evaluations. The record referenced must conform with the lexicon app.certified.location. | |
68
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
56
+ | `subject` | `ref` | | A strong reference to what is being evaluated. (e.g activity, measurement, contribution, etc.) | |
57
+ | `evaluators` | `ref` | | DIDs of the evaluators | maxLength: 1000 |
58
+ | `content` | `union` | | Evaluation data (URIs or blobs) containing detailed reports or methodology | maxLength: 100 |
59
+ | `measurements` | `ref` | | Optional references to the measurements that contributed to this evaluation. The record(s) referenced must conform with the lexicon org.hypercerts.claim.measurement | maxLength: 100 |
60
+ | `summary` | `string` | | Brief evaluation summary | maxLength: 5000, maxGraphemes: 1000 |
61
+ | `score` | `ref` | | Overall score for an evaluation on a numeric scale. | |
62
+ | `location` | `ref` | | An optional reference for georeferenced evaluations. The record referenced must conform with the lexicon app.certified.location. | |
63
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created | |
69
64
 
70
65
  #### Defs
71
66
 
@@ -73,9 +68,9 @@ Hypercerts-specific lexicons for tracking impact work and claims.
73
68
 
74
69
  | Property | Type | Required | Description |
75
70
  | -------- | --------- | -------- | -------------------------------------------- |
76
- | `min` | `integer` | yes | Minimum value of the scale, e.g. 0 or 1. |
77
- | `max` | `integer` | yes | Maximum value of the scale, e.g. 5 or 10. |
78
- | `value` | `integer` | yes | Score within the inclusive range [min, max]. |
71
+ | `min` | `integer` | | Minimum value of the scale, e.g. 0 or 1. |
72
+ | `max` | `integer` | | Maximum value of the scale, e.g. 5 or 10. |
73
+ | `value` | `integer` | | Score within the inclusive range [min, max]. |
79
74
 
80
75
  ---
81
76
 
@@ -89,13 +84,13 @@ Hypercerts-specific lexicons for tracking impact work and claims.
89
84
 
90
85
  | Property | Type | Required | Description | Comments |
91
86
  | ------------------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------- |
92
- | `subject` | `ref` | no | A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation). | |
93
- | `content` | `union` | yes | A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim. | |
94
- | `title` | `string` | yes | Title to describe the nature of the evidence. | maxLength: 256 |
95
- | `shortDescription` | `string` | no | Short description explaining what this evidence shows. | maxLength: 3000, maxGraphemes: 300 |
96
- | `description` | `string` | no | Longer description describing the evidence in more detail. | maxLength: 30000, maxGraphemes: 3000 |
97
- | `relationType` | `string` | no | How this evidence relates to the subject. | Known values: `supports`, `challenges`, `clarifies` |
98
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
87
+ | `subject` | `ref` | | A strong reference to the record this evidence relates to (e.g. an activity, project, claim, or evaluation). | |
88
+ | `content` | `union` | | A piece of evidence (URI or blob) related to the subject record; it may support, clarify, or challenge a hypercert claim. | |
89
+ | `title` | `string` | | Title to describe the nature of the evidence. | maxLength: 256 |
90
+ | `shortDescription` | `string` | | Short description explaining what this evidence shows. | maxLength: 3000, maxGraphemes: 300 |
91
+ | `description` | `string` | | Longer description describing the evidence in more detail. | maxLength: 30000, maxGraphemes: 3000 |
92
+ | `relationType` | `string` | | How this evidence relates to the subject. | Known values: `supports`, `challenges`, `clarifies` |
93
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created | |
99
94
 
100
95
  ---
101
96
 
@@ -109,15 +104,15 @@ Hypercerts-specific lexicons for tracking impact work and claims.
109
104
 
110
105
  | Property | Type | Required | Description | Comments |
111
106
  | ------------- | -------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
112
- | `subject` | `ref` | no | A strong reference to the record this measurement refers to (e.g. an activity, project, or claim). | |
113
- | `measurers` | `ref` | yes | DIDs of the entity (or entities) that measured this data | maxLength: 100 |
114
- | `metric` | `string` | yes | The metric being measured | maxLength: 500 |
115
- | `value` | `string` | yes | The measured value | maxLength: 500 |
116
- | `methodType` | `string` | no | Short identifier for the measurement methodology | maxLength: 30 |
117
- | `methodURI` | `string` | no | URI to methodology documentation, standard protocol, or measurement procedure | |
118
- | `evidenceURI` | `string` | no | URIs to related evidence or underlying data (e.g. org.hypercerts.claim.evidence records or raw datasets) | maxLength: 50 |
119
- | `location` | `ref` | no | A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location | |
120
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
107
+ | `subject` | `ref` | | A strong reference to the record this measurement refers to (e.g. an activity, project, or claim). | |
108
+ | `measurers` | `ref` | | DIDs of the entity (or entities) that measured this data | maxLength: 100 |
109
+ | `metric` | `string` | | The metric being measured | maxLength: 500 |
110
+ | `value` | `string` | | The measured value | maxLength: 500 |
111
+ | `methodType` | `string` | | Short identifier for the measurement methodology | maxLength: 30 |
112
+ | `methodURI` | `string` | | URI to methodology documentation, standard protocol, or measurement procedure | |
113
+ | `evidenceURI` | `string` | | URIs to related evidence or underlying data (e.g. org.hypercerts.claim.evidence records or raw datasets) | maxLength: 50 |
114
+ | `location` | `ref` | | A strong reference to the location where the measurement was taken. The record referenced must conform with the lexicon app.certified.location | |
115
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created | |
121
116
 
122
117
  ---
123
118
 
@@ -129,14 +124,25 @@ Hypercerts-specific lexicons for tracking impact work and claims.
129
124
 
130
125
  #### Properties
131
126
 
132
- | Property | Type | Required | Description | Comments |
133
- | ------------------ | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------- |
134
- | `type` | `string` | no | The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection. | |
135
- | `title` | `string` | yes | The title of this collection | maxLength: 800, maxGraphemes: 80 |
136
- | `shortDescription` | `string` | no | Short summary of this collection, suitable for previews and list views | maxLength: 3000, maxGraphemes: 300 |
137
- | `description` | `ref` | no | Rich-text description, represented as a Leaflet linear document. | |
138
- | `items` | `ref` | yes | 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). | |
139
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
127
+ | Property | Type | Required | Description | Comments |
128
+ | ------------------ | -------- | -------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------- |
129
+ | `type` | `string` | | The type of this collection. Possible fields can be 'favorites', 'project', or any other type of collection. | |
130
+ | `title` | `string` | | The title of this collection | maxLength: 800, maxGraphemes: 80 |
131
+ | `shortDescription` | `string` | | Short summary of this collection, suitable for previews and list views | maxLength: 3000, maxGraphemes: 300 |
132
+ | `description` | `ref` | | Rich-text description, represented as a Leaflet linear document. | |
133
+ | `avatar` | `union` | | The collection's avatar/profile image as a URI or image blob. | |
134
+ | `banner` | `union` | | Larger horizontal image to display behind the collection view. | |
135
+ | `items` | `ref` | ✅ | Array of items in this collection with optional weights. | |
136
+ | `createdAt` | `string` | ✅ | Client-declared timestamp when this record was originally created | |
137
+
138
+ #### Defs
139
+
140
+ ##### item
141
+
142
+ | Property | Type | Required | Description |
143
+ | ---------------- | -------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
144
+ | `itemIdentifier` | `ref` | ✅ | Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity) and/or other collections (org.hypercerts.claim.collection). |
145
+ | `itemWeight` | `string` | ❌ | Optional weight for this item (positive numeric value stored as string). Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed. |
140
146
 
141
147
  ---
142
148
 
@@ -150,11 +156,11 @@ Hypercerts-specific lexicons for tracking impact work and claims.
150
156
 
151
157
  | Property | Type | Required | Description | Comments |
152
158
  | ------------------- | -------- | -------- | ------------------------------------------------------------------ | -------------- |
153
- | `rightsName` | `string` | yes | Full name of the rights | maxLength: 100 |
154
- | `rightsType` | `string` | yes | Short rights identifier for easier search | maxLength: 10 |
155
- | `rightsDescription` | `string` | yes | Description of the rights of this hypercert | |
156
- | `attachment` | `union` | no | An attachment to define the rights further, e.g. a legal document. | |
157
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
159
+ | `rightsName` | `string` | | Full name of the rights | maxLength: 100 |
160
+ | `rightsType` | `string` | | Short rights identifier for easier search | maxLength: 10 |
161
+ | `rightsDescription` | `string` | | Description of the rights of this hypercert | |
162
+ | `attachment` | `union` | | An attachment to define the rights further, e.g. a legal document. | |
163
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created | |
158
164
 
159
165
  ---
160
166
 
@@ -168,17 +174,17 @@ Hypercerts-specific lexicons for tracking impact work and claims.
168
174
 
169
175
  | Property | Type | Required | Description | Comments |
170
176
  | ---------------- | -------- | -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------- |
171
- | `from` | `ref` | yes | DID of the sender who transferred the funds. Leave empty if sender wants to stay anonymous. | |
172
- | `to` | `string` | yes | The recipient of the funds. Can be identified by DID or a clear-text name. | |
173
- | `amount` | `string` | yes | Amount of funding received. | |
174
- | `currency` | `string` | yes | Currency of the payment (e.g. EUR, USD, ETH). | |
175
- | `paymentRail` | `string` | no | How the funds were transferred (e.g. bank_transfer, credit_card, onchain, cash, check, payment_processor). | |
176
- | `paymentNetwork` | `string` | no | Optional network within the payment rail (e.g. arbitrum, ethereum, sepa, visa, paypal). | |
177
- | `transactionId` | `string` | no | Identifier of the underlying payment transaction (e.g. bank reference, onchain transaction hash, or processor-specific ID). Use paymentNetwork to specify the network where applicable. | |
178
- | `for` | `string` | no | Optional reference to the activity, project, or organization this funding relates to. | |
179
- | `notes` | `string` | no | Optional notes or additional context for this funding receipt. | maxLength: 500 |
180
- | `occurredAt` | `string` | no | Timestamp when the payment occurred. | |
181
- | `createdAt` | `string` | yes | Client-declared timestamp when this receipt record was created. | |
177
+ | `from` | `ref` | | DID of the sender who transferred the funds. Leave empty if sender wants to stay anonymous. | |
178
+ | `to` | `string` | | The recipient of the funds. Can be identified by DID or a clear-text name. | |
179
+ | `amount` | `string` | | Amount of funding received. | |
180
+ | `currency` | `string` | | Currency of the payment (e.g. EUR, USD, ETH). | |
181
+ | `paymentRail` | `string` | | How the funds were transferred (e.g. bank_transfer, credit_card, onchain, cash, check, payment_processor). | |
182
+ | `paymentNetwork` | `string` | | Optional network within the payment rail (e.g. arbitrum, ethereum, sepa, visa, paypal). | |
183
+ | `transactionId` | `string` | | Identifier of the underlying payment transaction (e.g. bank reference, onchain transaction hash, or processor-specific ID). Use paymentNetwork to specify the network where applicable. | |
184
+ | `for` | `string` | | Optional reference to the activity, project, or organization this funding relates to. | |
185
+ | `notes` | `string` | | Optional notes or additional context for this funding receipt. | maxLength: 500 |
186
+ | `occurredAt` | `string` | | Timestamp when the payment occurred. | |
187
+ | `createdAt` | `string` | | Client-declared timestamp when this receipt record was created. | |
182
188
 
183
189
  ---
184
190
 
@@ -212,13 +218,13 @@ Certified lexicons are common/shared lexicons that can be used across multiple p
212
218
 
213
219
  | Property | Type | Required | Description | Comments |
214
220
  | -------------- | -------- | -------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
215
- | `lpVersion` | `string` | yes | The version of the Location Protocol | maxLength: 10 |
216
- | `srs` | `string` | yes | The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system. | maxLength: 100 |
217
- | `locationType` | `string` | yes | An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point) | maxLength: 20, Known values: `coordinate-decimal`, `geojson-point` |
218
- | `location` | `union` | yes | The location of where the work was performed as a URI or blob. | |
219
- | `name` | `string` | no | Optional name for this location | maxLength: 1000, maxGraphemes: 100 |
220
- | `description` | `string` | no | Optional description for this location | maxLength: 2000, maxGraphemes: 500 |
221
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
221
+ | `lpVersion` | `string` | | The version of the Location Protocol | maxLength: 10 |
222
+ | `srs` | `string` | | The Spatial Reference System URI (e.g., http://www.opengis.net/def/crs/OGC/1.3/CRS84) that defines the coordinate system. | maxLength: 100 |
223
+ | `locationType` | `string` | | An identifier for the format of the location data (e.g., coordinate-decimal, geojson-point) | maxLength: 20, Known values: `coordinate-decimal`, `geojson-point` |
224
+ | `location` | `union` | | The location of where the work was performed as a URI or blob. | |
225
+ | `name` | `string` | | Optional name for this location | maxLength: 1000, maxGraphemes: 100 |
226
+ | `description` | `string` | | Optional description for this location | maxLength: 2000, maxGraphemes: 500 |
227
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created | |
222
228
 
223
229
  ---
224
230
 
@@ -232,12 +238,12 @@ Certified lexicons are common/shared lexicons that can be used across multiple p
232
238
 
233
239
  | Property | Type | Required | Description | Comments |
234
240
  | ---------------- | -------- | -------- | ---------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
235
- | `badgeType` | `string` | yes | Category of the badge (e.g. endorsement, participation, affiliation). | |
236
- | `title` | `string` | yes | Human-readable title of the badge. | |
237
- | `icon` | `blob` | yes | Icon representing the badge, stored as a blob for compact visual display. | maxSize: 1048576, accepts: image/png, image/jpeg, image/webp, image/svg+xml |
238
- | `description` | `string` | no | Optional short statement describing what the badge represents. | |
239
- | `allowedIssuers` | `ref` | no | Optional allowlist of DIDs allowed to issue this badge. If omitted, anyone may issue it. | |
240
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created | |
241
+ | `badgeType` | `string` | | Category of the badge (e.g. endorsement, participation, affiliation). | |
242
+ | `title` | `string` | | Human-readable title of the badge. | |
243
+ | `icon` | `blob` | | Icon representing the badge, stored as a blob for compact visual display. | maxSize: 1048576, accepts: image/png, image/jpeg, image/webp, image/svg+xml |
244
+ | `description` | `string` | | Optional short statement describing what the badge represents. | |
245
+ | `allowedIssuers` | `ref` | | Optional allowlist of DIDs allowed to issue this badge. If omitted, anyone may issue it. | |
246
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created | |
241
247
 
242
248
  ---
243
249
 
@@ -251,10 +257,10 @@ Certified lexicons are common/shared lexicons that can be used across multiple p
251
257
 
252
258
  | Property | Type | Required | Description |
253
259
  | ----------- | -------- | -------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
254
- | `badge` | `ref` | yes | Reference to the badge definition for this award. |
255
- | `subject` | `union` | yes | Entity the badge award is for (either an account DID or any specific AT Protocol record), e.g. a user, a project, or a specific activity claim. |
256
- | `note` | `string` | no | Optional statement explaining the reason for this badge award. |
257
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created |
260
+ | `badge` | `ref` | | Reference to the badge definition for this award. |
261
+ | `subject` | `union` | | Entity the badge award is for (either an account DID or any specific AT Protocol record), e.g. a user, a project, or a specific activity claim. |
262
+ | `note` | `string` | | Optional statement explaining the reason for this badge award. |
263
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created |
258
264
 
259
265
  ---
260
266
 
@@ -268,10 +274,10 @@ Certified lexicons are common/shared lexicons that can be used across multiple p
268
274
 
269
275
  | Property | Type | Required | Description |
270
276
  | ------------ | -------- | -------- | ------------------------------------------------------------------------ |
271
- | `badgeAward` | `ref` | yes | Reference to the badge award. |
272
- | `response` | `string` | yes | The recipient’s response for the badge (accepted or rejected). |
273
- | `weight` | `string` | no | Optional relative weight for accepted badges, assigned by the recipient. |
274
- | `createdAt` | `string` | yes | Client-declared timestamp when this record was originally created |
277
+ | `badgeAward` | `ref` | | Reference to the badge award. |
278
+ | `response` | `string` | | The recipient’s response for the badge (accepted or rejected). |
279
+ | `weight` | `string` | | Optional relative weight for accepted badges, assigned by the recipient. |
280
+ | `createdAt` | `string` | | Client-declared timestamp when this record was originally created |
275
281
 
276
282
  ---
277
283
 
package/dist/exports.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * ⚠️ DO NOT EDIT THIS FILE MANUALLY ⚠️
5
5
  *
6
6
  * This file is automatically generated by scripts/generate-exports.js
7
- * Generated: 2026-01-21T07:15:37.790Z
7
+ * Generated: 2026-01-21T23:12:40.384Z
8
8
  *
9
9
  * To regenerate this file, run:
10
10
  * npm run gen-api
@@ -315,12 +315,28 @@ export declare const HYPERCERTS_LEXICON_JSON: {
315
315
  maxLength: number;
316
316
  maxGraphemes: number;
317
317
  };
318
+ shortDescriptionFacets: {
319
+ type: string;
320
+ description: string;
321
+ items: {
322
+ type: string;
323
+ ref: string;
324
+ };
325
+ };
318
326
  description: {
319
327
  type: string;
320
328
  description: string;
321
329
  maxLength: number;
322
330
  maxGraphemes: number;
323
331
  };
332
+ descriptionFacets: {
333
+ type: string;
334
+ description: string;
335
+ items: {
336
+ type: string;
337
+ ref: string;
338
+ };
339
+ };
324
340
  image: {
325
341
  type: string;
326
342
  refs: string[];
@@ -374,12 +390,12 @@ export declare const HYPERCERTS_LEXICON_JSON: {
374
390
  type: string;
375
391
  required: string[];
376
392
  properties: {
377
- contributorInformation: {
393
+ contributorIdentity: {
378
394
  type: string;
379
395
  refs: string[];
380
396
  description: string;
381
397
  };
382
- weight: {
398
+ contributionWeight: {
383
399
  type: string;
384
400
  description: string;
385
401
  };
@@ -400,21 +416,6 @@ export declare const HYPERCERTS_LEXICON_JSON: {
400
416
  maxLength: number;
401
417
  maxGraphemes: number;
402
418
  };
403
- activityWeight: {
404
- type: string;
405
- required: string[];
406
- properties: {
407
- activity: {
408
- type: string;
409
- ref: string;
410
- description: string;
411
- };
412
- weight: {
413
- type: string;
414
- description: string;
415
- };
416
- };
417
- };
418
419
  };
419
420
  };
420
421
  readonly COLLECTION: {
@@ -450,6 +451,16 @@ export declare const HYPERCERTS_LEXICON_JSON: {
450
451
  ref: string;
451
452
  description: string;
452
453
  };
454
+ avatar: {
455
+ type: string;
456
+ refs: string[];
457
+ description: string;
458
+ };
459
+ banner: {
460
+ type: string;
461
+ refs: string[];
462
+ description: string;
463
+ };
453
464
  items: {
454
465
  type: string;
455
466
  description: string;
@@ -466,6 +477,21 @@ export declare const HYPERCERTS_LEXICON_JSON: {
466
477
  };
467
478
  };
468
479
  };
480
+ item: {
481
+ type: string;
482
+ required: string[];
483
+ properties: {
484
+ itemIdentifier: {
485
+ type: string;
486
+ ref: string;
487
+ description: string;
488
+ };
489
+ itemWeight: {
490
+ type: string;
491
+ description: string;
492
+ };
493
+ };
494
+ };
469
495
  };
470
496
  };
471
497
  readonly CONTRIBUTIONDETAILS: {
@@ -1 +1 @@
1
- {"version":3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