You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .changeset/description-union-type.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
"@hypercerts-org/lexicon": minor
3
3
---
4
4
5
-
Widen description fields on activity, collection, and attachment from a bare Leaflet ref to a union of inline descriptionString and strongRef, with a shared def in org.hypercerts.defs
5
+
Widen description fields on activity, collection, and attachment from a bare Leaflet ref to a union of inline descriptionString and Leaflet linearDocument, with a shared def in org.hypercerts.defs
Copy file name to clipboardExpand all lines: .changeset/widen-description-to-union.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
"@hypercerts-org/lexicon": minor
3
3
---
4
4
5
-
Widen `description` fields on activity, collection, and attachment from a bare Leaflet ref to a union of inline `descriptionString` and `strongRef`, with a shared def in `org.hypercerts.defs`
5
+
Widen `description` fields on activity, collection, and attachment from a bare Leaflet ref to a union of inline `descriptionString` and Leaflet `linearDocument`, with a shared def in `org.hypercerts.defs`
|`title`|`string`| ✅ | Display title summarizing the impact work (e.g. 'Reforestation in Amazon Basin 2024') | 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`|`union`| ❌ | Long-form description of the activity. An inline string for plain text or markdown, or a strong reference to a rich-text document record (e.g. a Leaflet linear document).||
24
-
|`image`|`union`| ❌ | The hypercert visual representation as a URI or image blob. ||
25
-
|`contributors`|`ref[]`| ❌ | An array of contributor objects, each containing contributor information, weight, and contribution details. ||
26
-
|`workScope`|`union`| ❌ | Work scope definition. A CEL expression for structured, machine-evaluable scopes or a free-form string for simple and legacy scopes. ||
27
-
|`startDate`|`string`| ❌ | When the work began ||
28
-
|`endDate`|`string`| ❌ | When the work ended ||
29
-
|`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. | maxLength: 1000 |
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
-
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
|`title`|`string`| ✅ | Display title summarizing the impact work (e.g. 'Reforestation in Amazon Basin 2024') | 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`|`union`| ❌ | Long-form description of the activity. An inline string for plain text or markdown, or a Leaflet linear document for rich-text content. ||
24
+
|`image`|`union`| ❌ | The hypercert visual representation as a URI or image blob. ||
25
+
|`contributors`|`ref[]`| ❌ | An array of contributor objects, each containing contributor information, weight, and contribution details. ||
26
+
|`workScope`|`union`| ❌ | Work scope definition. A CEL expression for structured, machine-evaluable scopes or a free-form string for simple and legacy scopes. ||
27
+
|`startDate`|`string`| ❌ | When the work began ||
28
+
|`endDate`|`string`| ❌ | When the work ended ||
29
+
|`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. | maxLength: 1000 |
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
+
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
32
32
33
33
#### Defs
34
34
@@ -129,18 +129,18 @@ A free-form string describing the work scope for simple or legacy scopes.
|`type`|`string`| ❌ | The type of this collection. Values beyond the known set are permitted. | maxLength: 64, Known values: `favorites`, `project`, `portfolio`, `program`|
135
-
|`title`|`string`| ✅ | Display name for this collection (e.g. 'Q1 2025 Impact Projects') | maxLength: 800, maxGraphemes: 80 |
136
-
|`shortDescription`|`string`| ❌ | Short summary of this collection, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. | maxLength: 3000, maxGraphemes: 300 |
137
-
|`shortDescriptionFacets`|`ref[]`| ❌ | Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). ||
138
-
|`description`|`union`| ❌ | Long-form description of the collection. An inline string for plain text or markdown, or a strong reference to a rich-text document record (e.g. a Leaflet linear document).||
139
-
|`avatar`|`union`| ❌ | The collection's avatar/profile image as a URI or image blob. ||
140
-
|`banner`|`union`| ❌ | Larger horizontal image to display behind the collection view. ||
141
-
|`items`|`ref[]`| ❌ | Array of items in this collection with optional weights. | maxLength: 1000 |
142
-
|`location`|`ref`| ❌ | A strong reference to the location where this collection's activities were performed. The record referenced must conform with the lexicon app.certified.location. ||
143
-
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
|`type`|`string`| ❌ | The type of this collection. Values beyond the known set are permitted. | maxLength: 64, Known values: `favorites`, `project`, `portfolio`, `program`|
135
+
|`title`|`string`| ✅ | Display name for this collection (e.g. 'Q1 2025 Impact Projects') | maxLength: 800, maxGraphemes: 80 |
136
+
|`shortDescription`|`string`| ❌ | Short summary of this collection, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. | maxLength: 3000, maxGraphemes: 300 |
137
+
|`shortDescriptionFacets`|`ref[]`| ❌ | Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). ||
138
+
|`description`|`union`| ❌ | Long-form description of the collection. An inline string for plain text or markdown, or a Leaflet linear document for rich-text content. ||
139
+
|`avatar`|`union`| ❌ | The collection's avatar/profile image as a URI or image blob. ||
140
+
|`banner`|`union`| ❌ | Larger horizontal image to display behind the collection view. ||
141
+
|`items`|`ref[]`| ❌ | Array of items in this collection with optional weights. | maxLength: 1000 |
142
+
|`location`|`ref`| ❌ | A strong reference to the location where this collection's activities were performed. The record referenced must conform with the lexicon app.certified.location. ||
143
+
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
144
144
145
145
#### Defs
146
146
@@ -189,7 +189,7 @@ An item in a collection, with an identifier and optional weight.
189
189
|`title`|`string`| ✅ | Display title for this attachment (e.g. 'Impact Assessment Report', 'Audit Findings') | maxLength: 256 |
190
190
|`shortDescription`|`string`| ❌ | Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`. | maxLength: 3000, maxGraphemes: 300 |
191
191
|`shortDescriptionFacets`|`ref[]`| ❌ | Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). ||
192
-
|`description`|`union`| ❌ | Long-form description of the attachment. An inline string for plain text or markdown, or a strong reference to a rich-text document record (e.g. a Leaflet linear document).||
192
+
|`description`|`union`| ❌ | Long-form description of the attachment. An inline string for plain text or markdown, or a Leaflet linear document for rich-text content. ||
193
193
|`location`|`ref`| ❌ | A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location. ||
194
194
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created. ||
Copy file name to clipboardExpand all lines: lexicons/org/hypercerts/claim/activity.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@
33
33
"type": "union",
34
34
"refs": [
35
35
"org.hypercerts.defs#descriptionString",
36
-
"com.atproto.repo.strongRef"
36
+
"pub.leaflet.pages.linearDocument#main"
37
37
],
38
-
"description": "Long-form description of the activity. An inline string for plain text or markdown, or a strong reference to a rich-text document record (e.g. a Leaflet linear document)."
38
+
"description": "Long-form description of the activity. An inline string for plain text or markdown, or a Leaflet linear document for rich-text content."
Copy file name to clipboardExpand all lines: lexicons/org/hypercerts/collection.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -40,9 +40,9 @@
40
40
"type": "union",
41
41
"refs": [
42
42
"org.hypercerts.defs#descriptionString",
43
-
"com.atproto.repo.strongRef"
43
+
"pub.leaflet.pages.linearDocument#main"
44
44
],
45
-
"description": "Long-form description of the collection. An inline string for plain text or markdown, or a strong reference to a rich-text document record (e.g. a Leaflet linear document)."
45
+
"description": "Long-form description of the collection. An inline string for plain text or markdown, or a Leaflet linear document for rich-text content."
Copy file name to clipboardExpand all lines: lexicons/org/hypercerts/context/attachment.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -66,9 +66,9 @@
66
66
"type": "union",
67
67
"refs": [
68
68
"org.hypercerts.defs#descriptionString",
69
-
"com.atproto.repo.strongRef"
69
+
"pub.leaflet.pages.linearDocument#main"
70
70
],
71
-
"description": "Long-form description of the attachment. An inline string for plain text or markdown, or a strong reference to a rich-text document record (e.g. a Leaflet linear document)."
71
+
"description": "Long-form description of the attachment. An inline string for plain text or markdown, or a Leaflet linear document for rich-text content."
0 commit comments