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
Change workScope from inline object definition to strongRef in activity lexicon. This breaking change removes the workScope definition (withinAllOf, withinAnyOf, withinNoneOf properties) and changes the workScope property to reference an external record via strongRef, allowing for more flexible work scope definitions.
|`shortDescription`|`string`| ✅ | Short blurb of the impact work done. ||
293
-
|`description`|`string`| ❌ | Optional longer description of the impact work done. ||
294
-
|`image`|`union`| ❌ | The hypercert visual representation as a URI or image blob ||
295
-
|`workScope`|`object`| ❌ |Logical scope of the work using label-based conditions |Object with `withinAllOf`, `withinAnyOf`, `withinNoneOf` arrays of labels|
296
-
|`startDate`|`string`| ❌ | When the work began ||
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.contributor`|
299
-
|`rights`|`ref`| ❌ | A strong reference to the rights that this hypercert has | References must conform to `org.hypercerts.claim.rights`|
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
-
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
|`shortDescription`|`string`| ✅ | Short blurb of the impact work done. ||
296
+
|`description`|`string`| ❌ | Optional longer description of the impact work done. ||
297
+
|`image`|`union`| ❌ | The hypercert visual representation as a URI or image blob ||
298
+
|`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|
299
+
|`startDate`|`string`| ❌ | When the work began ||
300
+
|`endDate`|`string`| ❌ | When the work ended ||
301
+
|`contributions`|`array`| ❌ | A strong reference to the contributions done to create the impact in the hypercerts | References must conform to `org.hypercerts.claim.contributor`|
302
+
|`rights`|`ref`| ❌ | A strong reference to the rights that this hypercert has | References must conform to `org.hypercerts.claim.rights`|
303
+
|`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`|
304
+
|`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-31Lines changed: 2 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,8 @@
37
37
},
38
38
"workScope": {
39
39
"type": "ref",
40
-
"ref": "#workScope"
40
+
"ref": "com.atproto.repo.strongRef",
41
+
"description": "A strong reference to a record defining the scope of work. The record referenced should describe the logical scope using label-based conditions."
41
42
},
42
43
"startDate": {
43
44
"type": "string",
@@ -78,36 +79,6 @@
78
79
}
79
80
}
80
81
},
81
-
"workScope": {
82
-
"type": "object",
83
-
"description": "Logical scope of the work using label-based conditions. All labels in `withinAllOf` must apply; at least one label in `withinAnyOf` must apply if provided; no label in `withinNoneOf` may apply.",
84
-
"properties": {
85
-
"withinAllOf": {
86
-
"type": "array",
87
-
"description": "Labels that MUST all hold for the scope to apply.",
88
-
"items": {
89
-
"type": "string"
90
-
},
91
-
"maxLength": 100
92
-
},
93
-
"withinAnyOf": {
94
-
"type": "array",
95
-
"description": "Labels of which AT LEAST ONE must hold (optional). If omitted or empty, imposes no additional condition.",
96
-
"items": {
97
-
"type": "string"
98
-
},
99
-
"maxLength": 100
100
-
},
101
-
"withinNoneOf": {
102
-
"type": "array",
103
-
"description": "Labels that MUST NOT hold for the scope to apply.",
0 commit comments