org.hypercerts.claim.activity
A hypercert record tracking impact work.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | claim.hypercerts.org |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"contributor": {
"description": "A contributor to the activity, with identity, weight, and contribution details.",
"properties": {
"contributionDetails": {
"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.",
"refs": [
"#contributorRole",
"com.atproto.repo.strongRef"
],
"type": "union"
},
"contributionWeight": {
"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.",
"maxLength": 100,
"type": "string"
},
"contributorIdentity": {
"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.",
"refs": [
"#contributorIdentity",
"com.atproto.repo.strongRef"
],
"type": "union"
}
},
"required": [
"contributorIdentity"
],
"type": "object"
},
"contributorIdentity": {
"description": "Contributor information as a string (DID or identifier).",
"properties": {
"identity": {
"description": "The contributor identity string (DID or identifier).",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
}
},
"required": [
"identity"
],
"type": "object"
},
"contributorRole": {
"description": "Contribution details as a string.",
"properties": {
"role": {
"description": "The contribution role or details.",
"maxGraphemes": 100,
"maxLength": 1000,
"type": "string"
}
},
"required": [
"role"
],
"type": "object"
},
"main": {
"description": "A hypercert record tracking impact work.",
"key": "any",
"record": {
"properties": {
"contributors": {
"description": "An array of contributor objects, each containing contributor information, weight, and contribution details.",
"items": {
"ref": "#contributor",
"type": "ref"
},
"type": "array"
},
"createdAt": {
"description": "Client-declared timestamp when this record was originally created",
"format": "datetime",
"type": "string"
},
"description": {
"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.",
"refs": [
"org.hypercerts.defs#descriptionString",
"pub.leaflet.pages.linearDocument",
"com.atproto.repo.strongRef"
],
"type": "union"
},
"endDate": {
"description": "When the work ended",
"format": "datetime",
"type": "string"
},
"image": {
"description": "The hypercert visual representation as a URI or image blob.",
"refs": [
"org.hypercerts.defs#uri",
"org.hypercerts.defs#smallImage"
],
"type": "union"
},
"langs": {
"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.",
"items": {
"format": "language",
"type": "string"
},
"maxLength": 3,
"type": "array"
},
"locations": {
"description": "An array of strong references to the location where activity was performed. The record referenced must conform with the lexicon app.certified.location.",
"items": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"maxLength": 1000,
"type": "array"
},
"rights": {
"description": "A strong reference to the rights that this hypercert has. The record referenced must conform with the lexicon org.hypercerts.claim.rights.",
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"shortDescription": {
"description": "Short summary of this activity claim, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
"maxGraphemes": 300,
"maxLength": 3000,
"type": "string"
},
"shortDescriptionFacets": {
"description": "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
"items": {
"ref": "app.bsky.richtext.facet",
"type": "ref"
},
"type": "array"
},
"signatures": {
"description": "Optional cryptographic signatures attesting to this record's content.",
"ref": "app.certified.signature.defs#list",
"type": "ref"
},
"startDate": {
"description": "When the work began",
"format": "datetime",
"type": "string"
},
"title": {
"description": "Display title summarizing the impact work (e.g. 'Reforestation in Amazon Basin 2024')",
"maxLength": 256,
"type": "string"
},
"workScope": {
"description": "Work scope definition. A CEL expression for structured, machine-evaluable scopes or a free-form string for simple and legacy scopes.",
"refs": [
"org.hypercerts.workscope.cel",
"#workScopeString"
],
"type": "union"
}
},
"required": [
"title",
"shortDescription",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"workScopeString": {
"description": "A free-form string describing the work scope for simple or legacy scopes.",
"properties": {
"scope": {
"description": "The work scope description string.",
"maxGraphemes": 1000,
"maxLength": 10000,
"type": "string"
}
},
"required": [
"scope"
],
"type": "object"
}
},
"id": "org.hypercerts.claim.activity",
"lexicon": 1
}