full diff

org.hypercerts.collection

hypercerts.org +9 −0
From
bafyreia3fmqscicc7a5ras4oefoll3fhip3ruz7jfqwc5zc5dsh6q3uub4 indexed 2026-09-02 06:29 UTC View this version
To
bafyreicjk2nj65ueaxjkdhezgmdqkwafbimlx4hj3bz6gwvdp3i7dr33oy indexed 2026-10-27 05:12 UTC View this version

Compatibility

backward compatible Backward compatible. 4 non-breaking changes.

Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "org.hypercerts.collection:body.langs" }
  • AddedVertex AddedVertex { vertex_id: "org.hypercerts.collection:body.langs:items" }
  • AddedEdge AddedEdge { src: "org.hypercerts.collection:body", tgt: "org.hypercerts.collection:body.langs", kind: "prop", name: Some("langs") }
  • AddedEdge AddedEdge { src: "org.hypercerts.collection:body.langs", tgt: "org.hypercerts.collection:body.langs:items", kind: "items", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "org.hypercerts.collection:body.langs" }
  • AddedVertex { vertex_id: "org.hypercerts.collection:body.langs:items" }

Notes

  • Non-breaking: AddedEdge { src: "org.hypercerts.collection:body", tgt: "org.hypercerts.collection:body.langs", kind: "prop", name: Some("langs") }
  • Non-breaking: AddedEdge { src: "org.hypercerts.collection:body.langs", tgt: "org.hypercerts.collection:body.langs:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "item": {
55 "description": "An item in a collection, with an identifier and optional weight.",
66 "properties": {
77 "itemIdentifier": {
88 "description": "Strong reference to an item in this collection. Items can be activities (org.hypercerts.claim.activity), features (org.hypercerts.entity.feature), and/or other collections (org.hypercerts.collection).",
99 "ref": "com.atproto.repo.strongRef",
1010 "type": "ref"
1111 },
1212 "itemWeight": {
1313 "description": "Optional weight for this item (positive numeric value stored as string). Weights do not need to sum to a specific total; normalization can be performed by the consuming application as needed.",
1414 "maxLength": 100,
1515 "type": "string"
1616 }
1717 },
1818 "required": [
1919 "itemIdentifier"
2020 ],
2121 "type": "object"
2222 },
2323 "main": {
2424 "description": "A collection/group of items (activities and/or other collections). Collections support recursive nesting.",
2525 "key": "tid",
2626 "record": {
2727 "properties": {
2828 "avatar": {
2929 "description": "The collection's avatar/profile image as a URI or image blob.",
3030 "refs": [
3131 "org.hypercerts.defs#uri",
3232 "org.hypercerts.defs#smallImage"
3333 ],
3434 "type": "union"
3535 },
3636 "banner": {
3737 "description": "Larger horizontal image to display behind the collection view.",
3838 "refs": [
3939 "org.hypercerts.defs#uri",
4040 "org.hypercerts.defs#largeImage"
4141 ],
4242 "type": "union"
4343 },
4444 "createdAt": {
4545 "description": "Client-declared timestamp when this record was originally created",
4646 "format": "datetime",
4747 "type": "string"
4848 },
4949 "description": {
5050 "description": "Long-form description of the collection. 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.",
5151 "refs": [
5252 "org.hypercerts.defs#descriptionString",
5353 "pub.leaflet.pages.linearDocument",
5454 "com.atproto.repo.strongRef"
5555 ],
5656 "type": "union"
5757 },
5858 "items": {
5959 "description": "Array of items in this collection with optional weights.",
6060 "items": {
6161 "ref": "#item",
6262 "type": "ref"
6363 },
6464 "maxLength": 1000,
6565 "type": "array"
6666 },
67 "langs": {
68 "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.",
69 "items": {
70 "format": "language",
71 "type": "string"
72 },
73 "maxLength": 3,
74 "type": "array"
75 },
6776 "location": {
6877 "description": "A strong reference to the location where this collection's activities were performed. The record referenced must conform with the lexicon app.certified.location.",
6978 "ref": "com.atproto.repo.strongRef",
7079 "type": "ref"
7180 },
7281 "shortDescription": {
7382 "description": "Short summary of this collection, suitable for previews and list views. Rich text annotations may be provided via `shortDescriptionFacets`.",
7483 "maxGraphemes": 300,
7584 "maxLength": 3000,
7685 "type": "string"
7786 },
7887 "shortDescriptionFacets": {
7988 "description": "Rich text annotations for `shortDescription` (mentions, URLs, hashtags, etc).",
8089 "items": {
8190 "ref": "app.bsky.richtext.facet",
8291 "type": "ref"
8392 },
8493 "type": "array"
8594 },
8695 "signatures": {
8796 "description": "Optional cryptographic signatures attesting to this record's content.",
8897 "ref": "app.certified.signature.defs#list",
8998 "type": "ref"
9099 },
91100 "tags": {
92101 "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.",
93102 "items": {
94103 "ref": "com.atproto.repo.strongRef",
95104 "type": "ref"
96105 },
97106 "maxLength": 20,
98107 "type": "array"
99108 },
100109 "title": {
101110 "description": "Display name for this collection (e.g. 'Q1 2025 Impact Projects')",
102111 "maxGraphemes": 80,
103112 "maxLength": 800,
104113 "type": "string"
105114 },
106115 "type": {
107116 "description": "The type of this collection. Values beyond the known set are permitted.",
108117 "knownValues": [
109118 "favorites",
110119 "project",
111120 "portfolio",
112121 "program"
113122 ],
114123 "maxLength": 64,
115124 "type": "string"
116125 }
117126 },
118127 "required": [
119128 "title",
120129 "createdAt"
121130 ],
122131 "type": "object"
123132 },
124133 "type": "record"
125134 }
126135 },
127136 "id": "org.hypercerts.collection",
128137 "lexicon": 1
129138}

Compare other versions