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
Update `org.hypercerts.claim.contributor` lexicon to support individual contributor profiles and roles.
6
+
7
+
Breaking Changes:
8
+
9
+
- Removed `contributors` array.
10
+
- Added `identifier`, `displayName`, and `image` fields for individual profiles.
11
+
- Renamed `description` to `contributionDescription`.
12
+
- Updated `required` fields to only include `createdAt`.
13
+
14
+
Also corrected incorrect references to `org.hypercerts.claim.contribution` across the codebase to use the correct ID `org.hypercerts.claim.contributor`.
Copy file name to clipboardExpand all lines: README.md
+14-12Lines changed: 14 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -295,7 +295,7 @@ Hypercerts-specific lexicons for tracking impact work and claims.
295
295
|`workScope`|`object`| ❌ | Logical scope of the work using label-based conditions | Object with `withinAllOf`, `withinAnyOf`, `withinNoneOf` arrays of labels |
296
296
|`startDate`|`string`| ❌ | When the work began ||
297
297
|`endDate`|`string`| ❌ | When the work ended ||
298
-
|`contributions`|`array`| ❌ | A strong reference to the contributions done to create the impact in the hypercerts | References must conform to `org.hypercerts.claim.contribution`|
298
+
|`contributions`|`array`| ❌ | A strong reference to the contributions done to create the impact in the hypercerts | References must conform to `org.hypercerts.claim.contributor`|
299
299
|`rights`|`ref`| ❌ | A strong reference to the rights that this hypercert has | References must conform to `org.hypercerts.claim.rights`|
300
300
|`locations`|`ref`| ❌ | An array of strong references to the locations where the work for done hypercert was located | References must conform to `app.certified.location`|
301
301
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
@@ -311,24 +311,26 @@ Hypercerts-specific lexicons for tracking impact work and claims.
|`role`|`string`| ❌ | Role or title of the contributor(s). |
327
-
|`contributors`|`array`| ✅ | List of the contributors (names, pseudonyms, or DIDs). If multiple contributors are stored in the same hypercertContribution, then they would have the exact same role. |
328
-
|`description`|`string`| ❌ | What the contribution concretely achieved |
329
-
|`startDate`|`string`| ❌ | When this contribution started. This should be a subset of the hypercert timeframe. |
330
-
|`endDate`|`string`| ❌ | When this contribution finished. This should be a subset of the hypercert timeframe. |
331
-
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created |
0 commit comments