full diff

org.hypercerts.context.attachment

hypercerts.org +1 −0
From
bafyreifzezgqyhup7bu5wgakpj7hdxgdbttrmic7bk6amsc36y7i2ak5ge indexed 2026-10-27 05:10 UTC View this version
To
bafyreigfwx2svpnflrlqewzh56zjlaxqktz5blfean22i4ezna236freea indexed 2026-11-17 10:23 UTC View this version

Compatibility

breaking 1 breaking change, 0 non-breaking changes.

Breaking changes (1)
  • ConstraintTightened ConstraintTightened { vertex_id: "org.hypercerts.context.attachment:body.contentType", sort: "knownValues", old_value: "[\"update\",\"report\",\"audit\",\"evidence\",\"testimonial\",\"methodology\"]", new_value: "[\"update\",\"comment\",\"report\",\"audit\",\"evidence\",\"testimonial\",\"methodology\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "org.hypercerts.context.attachment:body.contentType", sort: "knownValues", old_value: "[\"update\",\"report\",\"audit\",\"evidence\",\"testimonial\",\"methodology\"]", new_value: "[\"update\",\"comment\",\"report\",\"audit\",\"evidence\",\"testimonial\",\"methodology\"]" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "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.",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "capturedAt": {
1010 "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.",
1111 "format": "datetime",
1212 "type": "string"
1313 },
1414 "content": {
1515 "description": "The files, documents, or external references included in this attachment record.",
1616 "items": {
1717 "refs": [
1818 "org.hypercerts.defs#uri",
1919 "org.hypercerts.defs#smallBlob"
2020 ],
2121 "type": "union"
2222 },
2323 "maxLength": 100,
2424 "type": "array"
2525 },
2626 "contentType": {
2727 "description": "The type of attachment. Values beyond the known set are permitted.",
2828 "knownValues": [
2929 "update",
30 "comment",
3031 "report",
3132 "audit",
3233 "evidence",
3334 "testimonial",
3435 "methodology"
3536 ],
3637 "maxLength": 64,
3738 "type": "string"
3839 },
3940 "createdAt": {
4041 "description": "Client-declared timestamp when this record was originally created.",
4142 "format": "datetime",
4243 "type": "string"
4344 },
4445 "description": {
4546 "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.",
4647 "refs": [
4748 "org.hypercerts.defs#descriptionString",
4849 "pub.leaflet.pages.linearDocument",
4950 "com.atproto.repo.strongRef"
5051 ],
5152 "type": "union"
5253 },
5354 "langs": {
5455 "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.",
5556 "items": {
5657 "format": "language",
5758 "type": "string"
5859 },
5960 "maxLength": 3,
6061 "type": "array"
6162 },
6263 "location": {
6364 "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.",
6465 "ref": "com.atproto.repo.strongRef",
6566 "type": "ref"
6667 },
6768 "shortDescription": {
6869 "description": "Short summary of this attachment, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
6970 "maxGraphemes": 300,
7071 "maxLength": 3000,
7172 "type": "string"
7273 },
7374 "shortDescriptionFacets": {
7475 "description": "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
7576 "items": {
7677 "ref": "app.bsky.richtext.facet",
7778 "type": "ref"
7879 },
7980 "type": "array"
8081 },
8182 "signatures": {
8283 "description": "Optional cryptographic signatures attesting to this record's content.",
8384 "ref": "app.certified.signature.defs#list",
8485 "type": "ref"
8586 },
8687 "subjects": {
8788 "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.",
8889 "items": {
8990 "ref": "com.atproto.repo.strongRef",
9091 "type": "ref"
9192 },
9293 "maxLength": 100,
9394 "type": "array"
9495 },
9596 "tags": {
9697 "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.",
9798 "items": {
9899 "ref": "com.atproto.repo.strongRef",
99100 "type": "ref"
100101 },
101102 "maxLength": 20,
102103 "type": "array"
103104 },
104105 "title": {
105106 "description": "Display title for this attachment (e.g. 'Impact Assessment Report', 'Audit Findings')",
106107 "maxLength": 256,
107108 "type": "string"
108109 }
109110 },
110111 "required": [
111112 "title",
112113 "createdAt"
113114 ],
114115 "type": "object"
115116 },
116117 "type": "record"
117118 }
118119 },
119120 "id": "org.hypercerts.context.attachment",
120121 "lexicon": 1
121122}

Compare other versions