full diff

org.hypercerts.claim.activity

hypercerts.org +9 −0
From
bafyreiavdo7b5xzgopxpgiqjnmtytlrjirnwysehsx67aijwttcgzl3dqu indexed 2026-07-26 20:13 UTC View this version
To
bafyreiai7p7vjgdhdoa4bxlsidlfc2dmn5ks4z2pmly2olzf6c7bjgypgq indexed 2026-10-27 05:12 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "org.hypercerts.claim.activity:body.langs" }
  • AddedVertex AddedVertex { vertex_id: "org.hypercerts.claim.activity:body.langs:items" }
  • AddedEdge AddedEdge { src: "org.hypercerts.claim.activity:body", tgt: "org.hypercerts.claim.activity:body.langs", kind: "prop", name: Some("langs") }
  • AddedEdge AddedEdge { src: "org.hypercerts.claim.activity:body.langs", tgt: "org.hypercerts.claim.activity:body.langs:items", kind: "items", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "org.hypercerts.claim.activity:body.langs" }
  • AddedVertex { vertex_id: "org.hypercerts.claim.activity:body.langs:items" }

Notes

  • Non-breaking: AddedEdge { src: "org.hypercerts.claim.activity:body", tgt: "org.hypercerts.claim.activity:body.langs", kind: "prop", name: Some("langs") }
  • Non-breaking: AddedEdge { src: "org.hypercerts.claim.activity:body.langs", tgt: "org.hypercerts.claim.activity:body.langs:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "contributor": {
55 "description": "A contributor to the activity, with identity, weight, and contribution details.",
66 "properties": {
77 "contributionDetails": {
88 "description": "Inline contribution role object with a role string via org.hypercerts.claim.activity#contributorRole, or a strong reference to a contribution details record. The record referenced must conform with the lexicon org.hypercerts.claim.contribution.",
99 "refs": [
1010 "#contributorRole",
1111 "com.atproto.repo.strongRef"
1212 ],
1313 "type": "union"
1414 },
1515 "contributionWeight": {
1616 "description": "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.",
1717 "maxLength": 100,
1818 "type": "string"
1919 },
2020 "contributorIdentity": {
2121 "description": "Inline contributor identity object with an identity string (DID or identifier) via org.hypercerts.claim.activity#contributorIdentity, or a strong reference to a contributor information record. The record referenced must conform with the lexicon org.hypercerts.claim.contributorInformation.",
2222 "refs": [
2323 "#contributorIdentity",
2424 "com.atproto.repo.strongRef"
2525 ],
2626 "type": "union"
2727 }
2828 },
2929 "required": [
3030 "contributorIdentity"
3131 ],
3232 "type": "object"
3333 },
3434 "contributorIdentity": {
3535 "description": "Contributor information as a string (DID or identifier).",
3636 "properties": {
3737 "identity": {
3838 "description": "The contributor identity string (DID or identifier).",
3939 "maxGraphemes": 100,
4040 "maxLength": 1000,
4141 "type": "string"
4242 }
4343 },
4444 "required": [
4545 "identity"
4646 ],
4747 "type": "object"
4848 },
4949 "contributorRole": {
5050 "description": "Contribution details as a string.",
5151 "properties": {
5252 "role": {
5353 "description": "The contribution role or details.",
5454 "maxGraphemes": 100,
5555 "maxLength": 1000,
5656 "type": "string"
5757 }
5858 },
5959 "required": [
6060 "role"
6161 ],
6262 "type": "object"
6363 },
6464 "main": {
6565 "description": "A hypercert record tracking impact work.",
6666 "key": "any",
6767 "record": {
6868 "properties": {
6969 "contributors": {
7070 "description": "An array of contributor objects, each containing contributor information, weight, and contribution details.",
7171 "items": {
7272 "ref": "#contributor",
7373 "type": "ref"
7474 },
7575 "type": "array"
7676 },
7777 "createdAt": {
7878 "description": "Client-declared timestamp when this record was originally created",
7979 "format": "datetime",
8080 "type": "string"
8181 },
8282 "description": {
8383 "description": "Long-form description of the activity. An inline string for plain text or markdown, a Leaflet linear document for rich-text content, or a strong reference to an external description record.",
8484 "refs": [
8585 "org.hypercerts.defs#descriptionString",
8686 "pub.leaflet.pages.linearDocument",
8787 "com.atproto.repo.strongRef"
8888 ],
8989 "type": "union"
9090 },
9191 "endDate": {
9292 "description": "When the work ended",
9393 "format": "datetime",
9494 "type": "string"
9595 },
9696 "image": {
9797 "description": "The hypercert visual representation as a URI or image blob.",
9898 "refs": [
9999 "org.hypercerts.defs#uri",
100100 "org.hypercerts.defs#smallImage"
101101 ],
102102 "type": "union"
103103 },
104 "langs": {
105 "description": "Human language(s) of this record's text fields, as BCP-47 language tags (e.g. 'es', 'pt-BR'); up to three for mixed-language text. Set by the writing app from the text the author wrote, with the author able to correct it; never from the interface language or a profile preference alone. A hint for readers, not a guarantee: consumers must not hide a record because it lacks this field.",
106 "items": {
107 "format": "language",
108 "type": "string"
109 },
110 "maxLength": 3,
111 "type": "array"
112 },
104113 "locations": {
105114 "description": "An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location.",
106115 "items": {
107116 "ref": "com.atproto.repo.strongRef",
108117 "type": "ref"
109118 },
110119 "maxLength": 1000,
111120 "type": "array"
112121 },
113122 "rights": {
114123 "description": "A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights.",
115124 "ref": "com.atproto.repo.strongRef",
116125 "type": "ref"
117126 },
118127 "shortDescription": {
119128 "description": "Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
120129 "maxGraphemes": 300,
121130 "maxLength": 3000,
122131 "type": "string"
123132 },
124133 "shortDescriptionFacets": {
125134 "description": "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
126135 "items": {
127136 "ref": "app.bsky.richtext.facet",
128137 "type": "ref"
129138 },
130139 "type": "array"
131140 },
132141 "signatures": {
133142 "description": "Optional cryptographic signatures attesting to this record's content.",
134143 "ref": "app.certified.signature.defs#list",
135144 "type": "ref"
136145 },
137146 "startDate": {
138147 "description": "When the work began",
139148 "format": "datetime",
140149 "type": "string"
141150 },
142151 "title": {
143152 "description": "Display title summarizing the impact work (e.g. 'Reforestation in Amazon Basin 2024')",
144153 "maxLength": 256,
145154 "type": "string"
146155 },
147156 "workScope": {
148157 "description": "Work scope definition. A CEL expression for structured, machine-evaluable scopes or a free-form string for simple and legacy scopes.",
149158 "refs": [
150159 "org.hypercerts.workscope.cel",
151160 "#workScopeString"
152161 ],
153162 "type": "union"
154163 }
155164 },
156165 "required": [
157166 "title",
158167 "shortDescription",
159168 "createdAt"
160169 ],
161170 "type": "object"
162171 },
163172 "type": "record"
164173 },
165174 "workScopeString": {
166175 "description": "A free-form string describing the work scope for simple or legacy scopes.",
167176 "properties": {
168177 "scope": {
169178 "description": "The work scope description string.",
170179 "maxGraphemes": 1000,
171180 "maxLength": 10000,
172181 "type": "string"
173182 }
174183 },
175184 "required": [
176185 "scope"
177186 ],
178187 "type": "object"
179188 }
180189 },
181190 "id": "org.hypercerts.claim.activity",
182191 "lexicon": 1
183192}

Compare other versions