full diff

ing.dasl.masl

robin.berjon.com +33 −5
From
bafyreicst4fwzufm3r6i5atryjce7fluman3pqae5lnqpulc7jhpaj562i indexed 2026-11-12 16:50 UTC View this version
To
bafyreietueuhdda2oqj3xn3cvy6c6tcfcp6xe337pqld6r45meaadggpem indexed 2026-11-13 15:05 UTC View this version

Compatibility

breaking 2 breaking changes, 10 non-breaking changes.

Breaking changes (2)
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "ing.dasl.masl#masl.sizing", src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.width", kind: "prop", name: Some("width") }
  • RequiredEdgeRemoved RequiredEdgeRemoved { vertex_id: "ing.dasl.masl#masl.sizing", src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.height", kind: "prop", name: Some("height") }
Non-breaking changes (10)
  • AddedVertex AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.fit" }
  • AddedVertex AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.maxHeight" }
  • AddedVertex AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.maxWidth" }
  • AddedVertex AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.minHeight" }
  • AddedVertex AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.minWidth" }
  • AddedEdge AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.fit", kind: "prop", name: Some("fit") }
  • AddedEdge AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.maxHeight", kind: "prop", name: Some("maxHeight") }
  • AddedEdge AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.maxWidth", kind: "prop", name: Some("maxWidth") }
  • AddedEdge AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.minHeight", kind: "prop", name: Some("minHeight") }
  • AddedEdge AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.minWidth", kind: "prop", name: Some("minWidth") }

Migration guidance

Added

  • AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.fit" }
  • AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.maxHeight" }
  • AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.maxWidth" }
  • AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.minHeight" }
  • AddedVertex { vertex_id: "ing.dasl.masl#masl.sizing.minWidth" }

Notes

  • Breaking: RequiredEdgeRemoved { vertex_id: "ing.dasl.masl#masl.sizing", src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.width", kind: "prop", name: Some("width") }
  • Breaking: RequiredEdgeRemoved { vertex_id: "ing.dasl.masl#masl.sizing", src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.height", kind: "prop", name: Some("height") }
  • Non-breaking: AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.fit", kind: "prop", name: Some("fit") }
  • Non-breaking: AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.maxHeight", kind: "prop", name: Some("maxHeight") }
  • Non-breaking: AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.maxWidth", kind: "prop", name: Some("maxWidth") }
  • Non-breaking: AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.minHeight", kind: "prop", name: Some("minHeight") }
  • Non-breaking: AddedEdge { src: "ing.dasl.masl#masl.sizing", tgt: "ing.dasl.masl#masl.sizing.minWidth", kind: "prop", name: Some("minWidth") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "A tile, instantiating MASL metadata into a record",
66 "key": "tid",
77 "record": {
88 "properties": {
99 "cid": {
1010 "description": "The DRISL CID of the MASL for the tile",
1111 "format": "cid",
1212 "type": "string"
1313 },
1414 "createdAt": {
1515 "description": "Timestamp",
1616 "format": "datetime",
1717 "type": "string"
1818 },
1919 "tile": {
2020 "description": "The MASL content",
2121 "ref": "ing.dasl.masl#masl",
2222 "type": "ref"
2323 }
2424 },
2525 "required": [
2626 "cid",
2727 "tile",
2828 "createdAt"
2929 ],
3030 "type": "object"
3131 },
3232 "type": "record"
3333 },
3434 "masl": {
3535 "description": "MASL metadata as defined in https://dasl.ing/masl.html",
3636 "properties": {
3737 "background_color": {
3838 "description": "A colour for the background of the tile",
3939 "type": "string"
4040 },
4141 "categories": {
4242 "description": "Tags categorising the tile",
4343 "items": {
4444 "type": "string"
4545 },
4646 "type": "array"
4747 },
4848 "description": {
4949 "description": "Short overview of the content",
5050 "maxGraphemes": 300,
5151 "maxLength": 3000,
5252 "type": "string"
5353 },
5454 "icons": {
5555 "description": "Icons for the tile",
5656 "items": {
5757 "properties": {
5858 "purpose": {
5959 "type": "string"
6060 },
6161 "sizes": {
6262 "type": "string"
6363 },
6464 "src": {
6565 "type": "string"
6666 }
6767 },
6868 "required": [
6969 "src"
7070 ],
7171 "type": "object"
7272 },
7373 "type": "array"
7474 },
7575 "name": {
7676 "description": "The name for the tile, can be a title or app name",
7777 "maxGraphemes": 100,
7878 "maxLength": 1000,
7979 "type": "string"
8080 },
8181 "prev": {
8282 "description": "In case there are multiple versions of this tile, this is the CID of the previous one",
8383 "type": "cid-link"
8484 },
8585 "resources": {
8686 "description": "A mapping of path to object with a CID src and HTTP headers",
8787 "type": "unknown"
8888 },
8989 "roots": {
9090 "description": "The CAR roots — avoid using this",
9191 "items": {
9292 "type": "cid-link"
9393 },
9494 "type": "array"
9595 },
9696 "screenshots": {
9797 "description": "Screenshots, can be used for banner or card images",
9898 "items": {
9999 "properties": {
100100 "label": {
101101 "type": "string"
102102 },
103103 "sizes": {
104104 "type": "string"
105105 },
106106 "src": {
107107 "type": "string"
108108 }
109109 },
110110 "required": [
111111 "src"
112112 ],
113113 "type": "object"
114114 },
115115 "type": "array"
116116 },
117117 "short_name": {
118118 "description": "A name, in case the basic name cannot fit",
119119 "type": "string"
120120 },
121121 "sizing": {
122 "description": "Requesting sizing properties for the content",
122 "description": "The size the content would like, in CSS pixels; the context that runs it decides (https://dasl.ing/tp-size.html)",
123123 "properties": {
124 "fit": {
125 "description": "The dimensions that follow the content, measured by the runtime",
126 "knownValues": [
127 "none",
128 "width",
129 "height",
130 "both"
131 ],
132 "type": "string"
133 },
124134 "height": {
135 "description": "The height the tile is designed for",
136 "minimum": 1,
137 "type": "integer"
138 },
139 "maxHeight": {
140 "description": "The tallest the tile has a use for",
141 "minimum": 1,
142 "type": "integer"
143 },
144 "maxWidth": {
145 "description": "The widest the tile has a use for",
146 "minimum": 1,
147 "type": "integer"
148 },
149 "minHeight": {
150 "description": "The shortest the tile works at",
125151 "minimum": 1,
126152 "type": "integer"
127153 },
154 "minWidth": {
155 "description": "The narrowest the tile works at",
156 "minimum": 1,
157 "type": "integer"
158 },
128159 "width": {
160 "description": "The width the tile is designed for",
129161 "minimum": 1,
130162 "type": "integer"
131163 }
132164 },
133 "required": [
134 "width",
135 "height"
136 ],
137165 "type": "object"
138166 },
139167 "theme_color": {
140168 "description": "Theme colour",
141169 "type": "string"
142170 },
143171 "version": {
144172 "const": 1,
145173 "description": "The CAR version — avoid using this",
146174 "type": "integer"
147175 }
148176 },
149177 "required": [
150178 "name",
151179 "resources"
152180 ],
153181 "type": "object"
154182 }
155183 },
156184 "description": "Lexicon for DASL (https://dasl.ing/) types used on AT, notably for Web Tiles.",
157185 "id": "ing.dasl.masl",
158186 "lexicon": 1
159187}

Compare other versions