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. Values beyond the known set are permitted.",
            "knownValues": [
              "report",
              "audit",
              "evidence",
              "testimonial",
              "methodology"
            ],
            "maxLength": 64,
            "type": "string"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this record was originally created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Long-form description of the attachment. 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"
          },
          "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"
          },
          "signatures": {
            "description": "Optional cryptographic signatures attesting to this record's content.",
            "ref": "app.certified.signature.defs#list",
            "type": "ref"
          },
          "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"
          },
          "tags": {
            "description": "References to org.hypercerts.vocab.tag records classifying this record. All listed tags apply simultaneously (logical AND); the array carries no ordering, weighting, negation, inheritance, or rule logic, and never will — any future expression logic must arrive as a new field and must never reinterpret this one.",
            "items": {
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            },
            "maxLength": 20,
            "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
bafyreicvcq2xdqu5hlzpv72ptbfhutsadczkh32ruciprta2jeg2bmgzlm
Indexed At
2026-10-05 14:14 UTC
AT-URI
at://did:plc:s4puetfspot742ai7y4otuel/com.atproto.lexicon.schema/org.hypercerts.context.attachment

Version History (4 versions)

Referenced Schemas (6)

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

@