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: SCHEMAS.md
+54-54Lines changed: 54 additions & 54 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,29 +79,6 @@ Hypercerts-specific lexicons for tracking impact work and claims.
79
79
80
80
---
81
81
82
-
### `org.hypercerts.claim.attachment`
83
-
84
-
**Description:** An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).
|`subjects`|`ref`| ❌ | 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. | maxLength: 100 |
93
-
|`contentType`|`string`| ❌ | The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc. | maxLength: 64 |
94
-
|`content`|`union`| ✅ | The files, documents, or external references included in this attachment record. | maxLength: 100 |
95
-
|`title`|`string`| ✅ | Display title for this attachment (e.g. 'Impact Assessment Report', 'Audit Findings') | maxLength: 256 |
96
-
|`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 |
97
-
|`shortDescriptionFacets`|`ref`| ❌ | Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). ||
98
-
|`description`|`string`| ❌ | Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`. | maxLength: 30000, maxGraphemes: 3000 |
99
-
|`descriptionFacets`|`ref`| ❌ | Rich text annotations for `description` (mentions, URLs, hashtags, etc). ||
100
-
|`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. ||
101
-
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created. ||
102
-
103
-
---
104
-
105
82
### `org.hypercerts.claim.collection`
106
83
107
84
**Description:** A collection/group of items (activities and/or other collections). Collections support recursive nesting.
@@ -168,37 +145,6 @@ Hypercerts-specific lexicons for tracking impact work and claims.
168
145
169
146
---
170
147
171
-
### `org.hypercerts.claim.evaluation`
172
-
173
-
**Description:** An evaluation of a hypercert record (e.g. an activity and its impact).
|`subject`|`ref`| ❌ | A strong reference to what is being evaluated (e.g. activity, measurement, contribution, etc.) ||
182
-
|`evaluators`|`ref`| ✅ | DIDs of the evaluators | maxLength: 1000 |
183
-
|`content`|`union`| ❌ | Evaluation data (URIs or blobs) containing detailed reports or methodology | maxLength: 100 |
184
-
|`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 |
|`score`|`ref`| ❌ | Overall score for an evaluation on a numeric scale. ||
187
-
|`location`|`ref`| ❌ | An optional reference for georeferenced evaluations. The record referenced must conform with the lexicon app.certified.location. ||
188
-
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
|`min`|`integer`| ✅ | Minimum value of the scale, e.g. 0 or 1. |
197
-
|`max`|`integer`| ✅ | Maximum value of the scale, e.g. 5 or 10. |
198
-
|`value`|`integer`| ✅ | Score within the inclusive range [min, max]. |
199
-
200
-
---
201
-
202
148
### `org.hypercerts.claim.measurement`
203
149
204
150
**Description:** Measurement data related to a hypercert record (e.g. an activity and its impact).
@@ -244,6 +190,60 @@ Hypercerts-specific lexicons for tracking impact work and claims.
244
190
245
191
---
246
192
193
+
### `org.hypercerts.context.attachment`
194
+
195
+
**Description:** An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).
|`subjects`|`ref`| ❌ | 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. | maxLength: 100 |
204
+
|`contentType`|`string`| ❌ | The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc. | maxLength: 64 |
205
+
|`content`|`union`| ✅ | The files, documents, or external references included in this attachment record. | maxLength: 100 |
206
+
|`title`|`string`| ✅ | Display title for this attachment (e.g. 'Impact Assessment Report', 'Audit Findings') | maxLength: 256 |
207
+
|`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 |
208
+
|`shortDescriptionFacets`|`ref`| ❌ | Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc). ||
209
+
|`description`|`string`| ❌ | Optional longer description of this attachment, including context or interpretation. Rich text annotations may be provided via `descriptionFacets`. | maxLength: 30000, maxGraphemes: 3000 |
210
+
|`descriptionFacets`|`ref`| ❌ | Rich text annotations for `description` (mentions, URLs, hashtags, etc). ||
211
+
|`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. ||
212
+
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created. ||
213
+
214
+
---
215
+
216
+
### `org.hypercerts.context.evaluation`
217
+
218
+
**Description:** An evaluation of a hypercert record (e.g. an activity and its impact).
|`subject`|`ref`| ❌ | A strong reference to what is being evaluated (e.g. activity, measurement, contribution, etc.) ||
227
+
|`evaluators`|`ref`| ✅ | DIDs of the evaluators | maxLength: 1000 |
228
+
|`content`|`union`| ❌ | Evaluation data (URIs or blobs) containing detailed reports or methodology | maxLength: 100 |
229
+
|`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 |
|`score`|`ref`| ❌ | Overall score for an evaluation on a numeric scale. ||
232
+
|`location`|`ref`| ❌ | An optional reference for georeferenced evaluations. The record referenced must conform with the lexicon app.certified.location. ||
233
+
|`createdAt`|`string`| ✅ | Client-declared timestamp when this record was originally created ||
|`min`|`integer`| ✅ | Minimum value of the scale, e.g. 0 or 1. |
242
+
|`max`|`integer`| ✅ | Maximum value of the scale, e.g. 5 or 10. |
243
+
|`value`|`integer`| ✅ | Score within the inclusive range [min, max]. |
244
+
245
+
---
246
+
247
247
### `org.hypercerts.funding.receipt`
248
248
249
249
**Description:** Records a funding receipt for a payment from one user to another user. It may be recorded by the recipient, by the sender, or by a third party. The sender may remain anonymous.
0 commit comments