full diff

place.hud.app

From
bafyreiheqhsxozbsitpqiphkeqj666kvd6mte7ydjoptelcr5dflsopdby indexed 2026-11-30 20:31 UTC View this version
To
bafyreigod6eh5zev6pyf3rmcsm443akq7dhbg5h4nf7pu4lrxv4qol7poe indexed 2026-12-01 00:05 UTC View this version

Compatibility

breaking 2 breaking changes, 19 non-breaking changes.

Breaking changes (2)
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "place.hud.app#collection", src: "place.hud.app#collection", tgt: "place.hud.app#collection.collection", kind: "prop", name: Some("collection") }
  • RequiredEdgeAdded RequiredEdgeAdded { vertex_id: "place.hud.app#origin", src: "place.hud.app#origin", tgt: "place.hud.app#origin.url", kind: "prop", name: Some("url") }
Non-breaking changes (19)
  • AddedVertex AddedVertex { vertex_id: "place.hud.app#collection" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app#collection.collection" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app#origin" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app#origin.url" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app:body.origins" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app:body.origins:items" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app:body.reads" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app:body.reads:items" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app:body.writes" }
  • AddedVertex AddedVertex { vertex_id: "place.hud.app:body.writes:items" }
  • AddedEdge AddedEdge { src: "place.hud.app:body", tgt: "place.hud.app:body.origins", kind: "prop", name: Some("origins") }
  • AddedEdge AddedEdge { src: "place.hud.app:body", tgt: "place.hud.app:body.reads", kind: "prop", name: Some("reads") }
  • AddedEdge AddedEdge { src: "place.hud.app:body", tgt: "place.hud.app:body.writes", kind: "prop", name: Some("writes") }
  • AddedEdge AddedEdge { src: "place.hud.app:body.origins", tgt: "place.hud.app:body.origins:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.app:body.origins:items", tgt: "place.hud.app#origin", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "place.hud.app:body.reads", tgt: "place.hud.app:body.reads:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.app:body.reads:items", tgt: "place.hud.app#collection", kind: "ref", name: None }
  • AddedEdge AddedEdge { src: "place.hud.app:body.writes", tgt: "place.hud.app:body.writes:items", kind: "items", name: None }
  • AddedEdge AddedEdge { src: "place.hud.app:body.writes:items", tgt: "place.hud.app#collection", kind: "ref", name: None }

Migration guidance

Added

  • AddedVertex { vertex_id: "place.hud.app#collection" }
  • AddedVertex { vertex_id: "place.hud.app#collection.collection" }
  • AddedVertex { vertex_id: "place.hud.app#origin" }
  • AddedVertex { vertex_id: "place.hud.app#origin.url" }
  • AddedVertex { vertex_id: "place.hud.app:body.origins" }
  • AddedVertex { vertex_id: "place.hud.app:body.origins:items" }
  • AddedVertex { vertex_id: "place.hud.app:body.reads" }
  • AddedVertex { vertex_id: "place.hud.app:body.reads:items" }
  • AddedVertex { vertex_id: "place.hud.app:body.writes" }
  • AddedVertex { vertex_id: "place.hud.app:body.writes:items" }

Notes

  • Breaking: RequiredEdgeAdded { vertex_id: "place.hud.app#origin", src: "place.hud.app#origin", tgt: "place.hud.app#origin.url", kind: "prop", name: Some("url") }
  • Breaking: RequiredEdgeAdded { vertex_id: "place.hud.app#collection", src: "place.hud.app#collection", tgt: "place.hud.app#collection.collection", kind: "prop", name: Some("collection") }
  • Non-breaking: AddedEdge { src: "place.hud.app:body", tgt: "place.hud.app:body.origins", kind: "prop", name: Some("origins") }
  • Non-breaking: AddedEdge { src: "place.hud.app:body", tgt: "place.hud.app:body.reads", kind: "prop", name: Some("reads") }
  • Non-breaking: AddedEdge { src: "place.hud.app:body", tgt: "place.hud.app:body.writes", kind: "prop", name: Some("writes") }
  • Non-breaking: AddedEdge { src: "place.hud.app:body.origins", tgt: "place.hud.app:body.origins:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.app:body.origins:items", tgt: "place.hud.app#origin", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.app:body.reads", tgt: "place.hud.app:body.reads:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.app:body.reads:items", tgt: "place.hud.app#collection", kind: "ref", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.app:body.writes", tgt: "place.hud.app:body.writes:items", kind: "items", name: None }
  • Non-breaking: AddedEdge { src: "place.hud.app:body.writes:items", tgt: "place.hud.app#collection", kind: "ref", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
4 "collection": {
5 "description": "A collection an app reads or writes beyond its entries.",
6 "properties": {
7 "collection": {
8 "format": "nsid",
9 "type": "string"
10 }
11 },
12 "required": [
13 "collection"
14 ],
15 "type": "object"
16 },
417 "kind": {
518 "description": "A kind of entry an app saves (place.hud.app.entry).",
619 "properties": {
720 "def": {
821 "description": "A lexicon object def (type object, its properties and which are required) each entry's data is checked against. A bytes field names its maxLength, and a kind's bytes fields hold at most 700000 bytes together.",
922 "type": "unknown"
1023 },
1124 "name": {
1225 "description": "Its name, a def's in the app's lexicon: 1 to 64 letters and digits in lowerCamelCase, as lap or bestLap.",
1326 "maxLength": 64,
1427 "type": "string"
1528 }
1629 },
1730 "required": [
1831 "name",
1932 "def"
2033 ],
2134 "type": "object"
2235 },
2336 "main": {
2437 "description": "Kept in the account that published it, keyed by a name it picks (1 to 64 of a-z, 0-9 and -), its address /a/<handle>/<key>. HUD reads it, and its blobs by CID, from that account's PDS (place.hud.getFrameApp), and runs its document with no network, no cookies and nothing of the page's. Republishing replaces it: entries name the version that wrote them.",
2538 "key": "any",
2639 "record": {
2740 "properties": {
2841 "createdAt": {
2942 "format": "datetime",
3043 "type": "string"
3144 },
3245 "html": {
3346 "accept": [
3447 "text/html"
3548 ],
3649 "description": "Its document, UTF-8, everything it loads inline: framed sandboxed, allowed scripts and nothing else.",
3750 "maxSize": 2000000,
3851 "type": "blob"
3952 },
4053 "icon": {
4154 "accept": [
4255 "image/png",
4356 "image/webp"
4457 ],
4558 "description": "Its icon, square.",
4659 "maxSize": 256000,
4760 "type": "blob"
4861 },
4962 "kinds": {
5063 "description": "The kinds of entry it saves, each checked against its def before it is written.",
5164 "items": {
5265 "ref": "#kind",
5366 "type": "ref"
5467 },
5568 "maxLength": 16,
5669 "minLength": 1,
5770 "type": "array"
5871 },
5972 "name": {
6073 "description": "What the app is called.",
6174 "maxGraphemes": 64,
6275 "maxLength": 640,
6376 "type": "string"
6477 },
78 "origins": {
79 "description": "The https origins its document may load pictures, audio and video from, each one a view HUD trusts names: its frame's policy lets them in img-src and media-src alone, never to fetch, script or frame. None, where it is left out.",
80 "items": {
81 "ref": "#origin",
82 "type": "ref"
83 },
84 "maxLength": 8,
85 "type": "array"
86 },
87 "reads": {
88 "description": "Public collections it reads beyond its entries (place.hud.listAppRecords, place.hud.getAppRecords): anyone's records of them, from HUD's index and their PDSes. Not place.hud.* collections.",
89 "items": {
90 "ref": "#collection",
91 "type": "ref"
92 },
93 "maxLength": 16,
94 "type": "array"
95 },
6596 "summary": {
6697 "description": "What it is, in a sentence or two, as its page and its link's preview say.",
6798 "maxGraphemes": 300,
6899 "maxLength": 3000,
69100 "type": "string"
70101 },
71102 "words": {
72103 "accept": [
73104 "application/json"
74105 ],
75106 "description": "Its words, as a JSON object by language (en among them): each language's words by key, as the app reads them.",
76107 "maxSize": 512000,
77108 "type": "blob"
78109 },
79110 "writers": {
80111 "description": "Who may write its entries, when given: place.hud.createAppEntry refuses anyone else, and place.hud.listAppEntries leaves out others' entries. Anyone, where it is left out.",
81112 "items": {
82113 "ref": "#writer",
83114 "type": "ref"
84115 },
85116 "maxLength": 200,
86117 "type": "array"
118 },
119 "writes": {
120 "description": "Collections it writes in the person's own repository beyond its entries (place.hud.createAppRecord, place.hud.deleteAppRecord), once they allow it: each one whose record lexicon HUD bundles, never HUD's own, com.atproto.* or app.bsky.actor.profile.",
121 "items": {
122 "ref": "#collection",
123 "type": "ref"
124 },
125 "maxLength": 8,
126 "type": "array"
87127 }
88128 },
89129 "required": [
90130 "name",
91131 "html",
92132 "kinds",
93133 "createdAt"
94134 ],
95135 "type": "object"
96136 },
97137 "type": "record"
98138 },
139 "origin": {
140 "description": "An origin an app loads media from.",
141 "properties": {
142 "url": {
143 "description": "https://host, or https://host:port: no path.",
144 "format": "uri",
145 "maxLength": 256,
146 "type": "string"
147 }
148 },
149 "required": [
150 "url"
151 ],
152 "type": "object"
153 },
99154 "writer": {
100155 "description": "An account an app lets write its entries.",
101156 "properties": {
102157 "did": {
103158 "format": "did",
104159 "type": "string"
105160 }
106161 },
107162 "required": [
108163 "did"
109164 ],
110165 "type": "object"
111166 }
112167 },
113168 "description": "A frame app someone published for HUD to run: an HTML document in a sandboxed frame, and the kinds of entry it saves.",
114169 "id": "place.hud.app",
115170 "lexicon": 1
116171}

Compare other versions