org.hypercerts.context.attachment

An attachment providing commentary, context, evidence, or documentary material related to a hypercert record (e.g. an activity, project, claim, or evaluation) or related to an account profile.

Repository @hypercerts.org did:plc:s4puetfspot742ai7y4otuel namespace authority
Details · record, key tid
Kindrecord
Record keytid
Authoritycontext.hypercerts.org
Indexed

Showing version bafyreifzezgqyhup7bu5wgakpj7hdxgdbttrmic7bk6amsc36y7i2ak5ge. Show the latest

cid bafyreifzezgqyhup7bu5wgakpj7hdxgdbttrmic7bk6amsc36y7i2ak5ge

Checks

Valid Lint pass
JSONDownload
{
  "$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) or related to an account profile.",
      "key": "tid",
      "record": {
        "properties": {
          "capturedAt": {
            "description": "Client-declared time when the attached material was captured (e.g. when a photo was taken), as distinct from createdAt. Omit if capture time is unknown, if only a local time without timezone offset or only a date is known, or if no single capture time applies. Not a coverage interval.",
            "format": "datetime",
            "type": "string"
          },
          "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": [
              "update",
              "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"
          },
          "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"
          },
          "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 about: an activity claim, a collection, a measurement, an evaluation, another attachment (for a comment on it), or an account profile (app.certified.actor.profile). A standalone update by its author points at the author's own profile: it is an update about the author. Optional: omit it only when the attachment is recorded before the claim it will support.",
            "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
}