org.hypercerts.context.attachment

hypercerts.org

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation).",
      "key": "tid",
      "record": {
        "properties": {
          "content": {
            "description": "The files, documents, or external references included in this attachment record.",
            "items": {
              "refs": [
                "org.hypercerts.defs#uri",
                "org.hypercerts.defs#smallBlob"
              ],
              "type": "union"
            },
            "maxLength": 100,
            "type": "array"
          },
          "contentType": {
            "description": "The type of attachment, e.g. report, audit, evidence, testimonial, methodology, etc.",
            "maxLength": 64,
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this record was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Rich-text description, represented as a Leaflet linear document.",
            "ref": "pub.leaflet.pages.linearDocument#main",
            "type": "ref"
          },
          "location": {
            "description": "A strong reference to the location where this attachment's subject matter occurred. The record referenced must conform with the lexicon app.certified.location.",
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "shortDescription": {
            "description": "Short summary of this attachment, 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"
          },
          "subjects": {
            "description": "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.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 100,
            "type": "array"
          },
          "title": {
            "description": "Display title for this attachment (e.g. 'Impact Assessment Report', 'Audit Findings')",
            "maxLength": 256,
            "type": "string"
          }
        },
        "required": [
          "title",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "org.hypercerts.context.attachment",
  "lexicon": 1
}

Validate Record

Validate a record against org.hypercerts.context.attachment

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:s4puetfspot742ai7y4otuel
CID
bafyreihx725osvxebqd7qfpwwzpacayew5g5uosa3e3s7gkjvivk6xtare
Indexed At
2026-03-19 20:27 UTC
AT-URI
at://did:plc:s4puetfspot742ai7y4otuel/com.atproto.lexicon.schema/org.hypercerts.context.attachment

Version History (4 versions)

Referenced Schemas (4)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • A collection/group of items (activities and/or other collections). Collections support recursive nesting.

  • An evaluation of a hypercert record (e.g. an activity and its impact).

  • A record for a non-agent subject that other records (measurements, evaluations, etc.) can be about, for example a land zone or an ecological stratum. It carries the subject's identity, classification, and optional publi…

  • A hypercert record tracking impact work.

  • Acknowledges a record (subject) or its relationship in a context. Created in the acknowledging actor's repo to form a bidirectional link. Examples: a contributor acknowledging inclusion in an activity, an activity owner…

Lexicon Garden

@