full diff

net.wireservice.content

wireservice.net +5 −0
From
bafyreidka24ieeggjkutzgq44llhuwioko4opzrpdlo72jhnlcqaowso2i indexed 2026-10-12 21:12 UTC View this version
To
bafyreic6cz454vtzlkh6cxtp5jtl6xo32756gmipdjayqxvhggwurutqj4 indexed 2026-10-12 22:50 UTC View this version

Compatibility

backward compatible Backward compatible. 2 non-breaking changes.

Non-breaking changes (2)
  • AddedVertex AddedVertex { vertex_id: "net.wireservice.content#documentLayout.minimumColumnWidth" }
  • AddedEdge AddedEdge { src: "net.wireservice.content#documentLayout", tgt: "net.wireservice.content#documentLayout.minimumColumnWidth", kind: "prop", name: Some("minimumColumnWidth") }

Migration guidance

Added

  • AddedVertex { vertex_id: "net.wireservice.content#documentLayout.minimumColumnWidth" }

Notes

  • Non-breaking: AddedEdge { src: "net.wireservice.content#documentLayout", tgt: "net.wireservice.content#documentLayout.minimumColumnWidth", kind: "prop", name: Some("minimumColumnWidth") }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "border": {
55 "description": "Border definition. The stroke property defines the line style; the boolean flags control which sides are drawn (all true by default when omitted).",
66 "properties": {
77 "bottom": {
88 "type": "boolean"
99 },
1010 "left": {
1111 "type": "boolean"
1212 },
1313 "right": {
1414 "type": "boolean"
1515 },
1616 "stroke": {
1717 "ref": "net.wireservice.defs#strokeStyle",
1818 "type": "ref"
1919 },
2020 "top": {
2121 "type": "boolean"
2222 }
2323 },
2424 "type": "object"
2525 },
2626 "componentLayoutValues": {
2727 "description": "The actual layout values: column placement, margins, padding, alignment, sizing. Used as the values payload for both namedComponentLayout (defaults) and conditionalComponentLayout (overrides).",
2828 "properties": {
2929 "columnSpan": {
3030 "description": "Number of columns this component spans.",
3131 "minimum": 1,
3232 "type": "integer"
3333 },
3434 "columnStart": {
3535 "description": "Starting column index (zero-based).",
3636 "minimum": 0,
3737 "type": "integer"
3838 },
3939 "horizontalContentAlignment": {
4040 "knownValues": [
4141 "left",
4242 "center",
4343 "right"
4444 ],
4545 "maxLength": 64,
4646 "type": "string"
4747 },
4848 "ignoreDocumentGutter": {
4949 "description": "Which sides should ignore the document gutter.",
5050 "knownValues": [
5151 "none",
5252 "left",
5353 "right",
5454 "both"
5555 ],
5656 "maxLength": 64,
5757 "type": "string"
5858 },
5959 "ignoreDocumentMargin": {
6060 "description": "Which sides should ignore the document margin.",
6161 "knownValues": [
6262 "none",
6363 "left",
6464 "right",
6565 "both"
6666 ],
6767 "maxLength": 64,
6868 "type": "string"
6969 },
7070 "margin": {
7171 "ref": "net.wireservice.defs#margin",
7272 "type": "ref"
7373 },
7474 "maximumContentWidth": {
7575 "ref": "net.wireservice.defs#measurement",
7676 "type": "ref"
7777 },
7878 "minimumHeight": {
7979 "ref": "net.wireservice.defs#measurement",
8080 "type": "ref"
8181 },
8282 "padding": {
8383 "ref": "net.wireservice.defs#padding",
8484 "type": "ref"
8585 }
8686 },
8787 "type": "object"
8888 },
8989 "componentStyleValues": {
9090 "description": "The actual visual style values: background color, border, corner radius, opacity. Used as the values payload for both namedComponentStyle (defaults) and conditionalComponentStyle (overrides).",
9191 "properties": {
9292 "backgroundColor": {
9393 "description": "Background color as hex string (e.g., '#F7F7F7').",
9494 "maxLength": 64,
9595 "type": "string"
9696 },
9797 "border": {
9898 "ref": "#border",
9999 "type": "ref"
100100 },
101101 "cornerRadius": {
102102 "description": "Corner radius in points.",
103103 "minimum": 0,
104104 "type": "integer"
105105 },
106106 "opacity": {
107107 "description": "Opacity as integer 0-100 (100 = fully opaque).",
108108 "maximum": 100,
109109 "minimum": 0,
110110 "type": "integer"
111111 }
112112 },
113113 "type": "object"
114114 },
115115 "conditionalComponentLayout": {
116116 "description": "Conditional override for a named component layout. The values field carries the override payload; conditions describe when it applies.",
117117 "properties": {
118118 "conditions": {
119119 "description": "Conditions that trigger this override. Multiple conditions combine as OR (any match applies). Combine criteria within a single condition object for AND.",
120120 "items": {
121121 "ref": "net.wireservice.defs#condition",
122122 "type": "ref"
123123 },
124124 "type": "array"
125125 },
126126 "values": {
127127 "description": "Override values. Fields not set here keep the parent's defaults.",
128128 "ref": "#componentLayoutValues",
129129 "type": "ref"
130130 }
131131 },
132132 "required": [
133133 "conditions"
134134 ],
135135 "type": "object"
136136 },
137137 "conditionalComponentStyle": {
138138 "description": "Conditional override for a named component style. The values field carries the override payload; conditions describe when it applies.",
139139 "properties": {
140140 "conditions": {
141141 "description": "Conditions that trigger this override. Multiple conditions combine as OR (any match applies). Combine criteria within a single condition object for AND.",
142142 "items": {
143143 "ref": "net.wireservice.defs#condition",
144144 "type": "ref"
145145 },
146146 "type": "array"
147147 },
148148 "values": {
149149 "description": "Override values. Fields not set here keep the parent's defaults.",
150150 "ref": "#componentStyleValues",
151151 "type": "ref"
152152 }
153153 },
154154 "required": [
155155 "conditions"
156156 ],
157157 "type": "object"
158158 },
159159 "conditionalTextStyle": {
160160 "description": "Conditional override for a named text style. The values field carries the override payload; conditions describe when it applies.",
161161 "properties": {
162162 "conditions": {
163163 "description": "Conditions that trigger this override. Multiple conditions combine as OR (any match applies). Combine criteria within a single condition object for AND.",
164164 "items": {
165165 "ref": "net.wireservice.defs#condition",
166166 "type": "ref"
167167 },
168168 "type": "array"
169169 },
170170 "values": {
171171 "description": "Override values. Fields not set here keep the parent's defaults.",
172172 "ref": "#textStyleValues",
173173 "type": "ref"
174174 }
175175 },
176176 "required": [
177177 "conditions"
178178 ],
179179 "type": "object"
180180 },
181181 "correction": {
182182 "description": "A notice appended to an article after publication.",
183183 "properties": {
184184 "createdAt": {
185185 "format": "datetime",
186186 "type": "string"
187187 },
188188 "kind": {
189189 "knownValues": [
190190 "correction",
191191 "clarification",
192192 "update",
193193 "editorsNote"
194194 ],
195195 "maxLength": 64,
196196 "type": "string"
197197 },
198198 "text": {
199199 "description": "Notice text as an array of text runs with optional formatting marks.",
200200 "items": {
201201 "ref": "net.wireservice.defs#textRun",
202202 "type": "ref"
203203 },
204204 "type": "array"
205205 }
206206 },
207207 "required": [
208208 "kind",
209209 "text",
210210 "createdAt"
211211 ],
212212 "type": "object"
213213 },
214214 "documentLayout": {
215215 "description": "Document-level layout grid defining the column structure for component placement.",
216216 "properties": {
217217 "columns": {
218218 "description": "Number of columns in the layout grid.",
219219 "minimum": 1,
220220 "type": "integer"
221221 },
222222 "gutter": {
223223 "description": "Gutter width between columns in points.",
224224 "minimum": 0,
225225 "type": "integer"
226226 },
227227 "margin": {
228228 "description": "Document margin in points.",
229229 "minimum": 0,
230230 "type": "integer"
231231 },
232 "minimumColumnWidth": {
233 "description": "Narrowest a column may get, in points. Below the viewport width where columns would be narrower, the layout collapses to one column. Defaults to 40.",
234 "minimum": 1,
235 "type": "integer"
236 },
232237 "width": {
233238 "description": "Maximum layout width in points.",
234239 "minimum": 1,
235240 "type": "integer"
236241 }
237242 },
238243 "required": [
239244 "columns",
240245 "width"
241246 ],
242247 "type": "object"
243248 },
244249 "main": {
245250 "description": "Apple News Format-derived rich article content for standard.site documents. Plugs into the open content union of site.standard.document.",
246251 "properties": {
247252 "blob": {
248253 "description": "External JSON blob containing the components array. Used when content exceeds the record size limit. Mutually exclusive with the inline components array.",
249254 "type": "blob"
250255 },
251256 "blobRefs": {
252257 "description": "Blob references used within content. Required in blob mode to prevent garbage collection of image and media blobs.",
253258 "items": {
254259 "type": "blob"
255260 },
256261 "type": "array"
257262 },
258263 "componentLayouts": {
259264 "description": "Named component layout definitions. Components reference these by name via their layout field.",
260265 "items": {
261266 "ref": "#namedComponentLayout",
262267 "type": "ref"
263268 },
264269 "type": "array"
265270 },
266271 "componentStyles": {
267272 "description": "Named component style definitions. Components reference these by name via their style field.",
268273 "items": {
269274 "ref": "#namedComponentStyle",
270275 "type": "ref"
271276 },
272277 "type": "array"
273278 },
274279 "componentTextStyles": {
275280 "description": "Named text style definitions. Text components reference these by name via their textStyle field.",
276281 "items": {
277282 "ref": "#namedTextStyle",
278283 "type": "ref"
279284 },
280285 "type": "array"
281286 },
282287 "components": {
283288 "description": "Inline component array. Used when content fits within the record size limit.",
284289 "items": {
285290 "closed": false,
286291 "refs": [
287292 "net.wireservice.component.body",
288293 "net.wireservice.component.heading",
289294 "net.wireservice.component.image",
290295 "net.wireservice.component.photo",
291296 "net.wireservice.component.video",
292297 "net.wireservice.component.audio",
293298 "net.wireservice.component.gallery",
294299 "net.wireservice.component.container",
295300 "net.wireservice.component.divider",
296301 "net.wireservice.component.quote",
297302 "net.wireservice.component.byline",
298303 "net.wireservice.component.embed",
299304 "net.wireservice.component.map",
300305 "net.wireservice.component.linkButton",
301306 "net.wireservice.component.adSlot"
302307 ],
303308 "type": "union"
304309 },
305310 "type": "array"
306311 },
307312 "corrections": {
308313 "description": "Published corrections, clarifications, and updates, oldest first. Entries are appended, never edited or removed.",
309314 "items": {
310315 "ref": "#correction",
311316 "type": "ref"
312317 },
313318 "type": "array"
314319 },
315320 "language": {
316321 "description": "BCP-47 language code for the article content.",
317322 "format": "language",
318323 "maxLength": 64,
319324 "type": "string"
320325 },
321326 "layout": {
322327 "description": "Document-level layout grid. Overrides the stylesheet's default grid if a stylesheet is referenced.",
323328 "ref": "#documentLayout",
324329 "type": "ref"
325330 },
326331 "stylesheet": {
327332 "description": "AT URI of a net.wireservice.stylesheet record providing default named layouts, styles, and text styles. Document-level componentLayouts/componentStyles/componentTextStyles entries with the same name override the stylesheet's.",
328333 "format": "at-uri",
329334 "type": "string"
330335 }
331336 },
332337 "type": "object"
333338 },
334339 "namedComponentLayout": {
335340 "description": "A named component layout definition controlling column placement, margins, and sizing. Components reference these by the name field.",
336341 "properties": {
337342 "conditional": {
338343 "description": "Conditional overrides. Each entry's values replace the layout's defaults when any of its conditions match the rendering context. Entries are evaluated in order; the first match wins.",
339344 "items": {
340345 "ref": "#conditionalComponentLayout",
341346 "type": "ref"
342347 },
343348 "type": "array"
344349 },
345350 "name": {
346351 "description": "Identifier for this layout, referenced by components.",
347352 "maxLength": 256,
348353 "type": "string"
349354 },
350355 "values": {
351356 "description": "Default layout values. Conditional entries can override individual fields.",
352357 "ref": "#componentLayoutValues",
353358 "type": "ref"
354359 }
355360 },
356361 "required": [
357362 "name"
358363 ],
359364 "type": "object"
360365 },
361366 "namedComponentStyle": {
362367 "description": "A named component style definition controlling visual appearance. Components reference these by the name field.",
363368 "properties": {
364369 "conditional": {
365370 "description": "Conditional overrides. Each entry's values replace the style's defaults when any of its conditions match the rendering context. Entries are evaluated in order; the first match wins.",
366371 "items": {
367372 "ref": "#conditionalComponentStyle",
368373 "type": "ref"
369374 },
370375 "type": "array"
371376 },
372377 "name": {
373378 "description": "Identifier for this style, referenced by components.",
374379 "maxLength": 256,
375380 "type": "string"
376381 },
377382 "values": {
378383 "description": "Default style values. Conditional entries can override individual fields.",
379384 "ref": "#componentStyleValues",
380385 "type": "ref"
381386 }
382387 },
383388 "required": [
384389 "name"
385390 ],
386391 "type": "object"
387392 },
388393 "namedTextStyle": {
389394 "description": "A named text style definition. Text components reference these by the name field.",
390395 "properties": {
391396 "conditional": {
392397 "description": "Conditional overrides. Each entry's values replace the text style's defaults when any of its conditions match the rendering context. Entries are evaluated in order; the first match wins.",
393398 "items": {
394399 "ref": "#conditionalTextStyle",
395400 "type": "ref"
396401 },
397402 "type": "array"
398403 },
399404 "name": {
400405 "description": "Identifier for this style, referenced by components.",
401406 "maxLength": 256,
402407 "type": "string"
403408 },
404409 "values": {
405410 "description": "Default text style values. Conditional entries can override individual fields.",
406411 "ref": "#textStyleValues",
407412 "type": "ref"
408413 }
409414 },
410415 "required": [
411416 "name"
412417 ],
413418 "type": "object"
414419 },
415420 "textStyleValues": {
416421 "description": "The actual text style values: font, size, color, alignment, spacing, decoration. Used as the values payload for both namedTextStyle (defaults) and conditionalTextStyle (overrides).",
417422 "properties": {
418423 "backgroundColor": {
419424 "description": "Text background color as hex string.",
420425 "maxLength": 64,
421426 "type": "string"
422427 },
423428 "firstLineIndent": {
424429 "description": "First line indent in points.",
425430 "minimum": 0,
426431 "type": "integer"
427432 },
428433 "fontFamily": {
429434 "description": "Font family name (e.g., 'Georgia', 'Helvetica Neue').",
430435 "maxLength": 256,
431436 "type": "string"
432437 },
433438 "fontName": {
434439 "description": "PostScript font name for precise font selection.",
435440 "maxLength": 256,
436441 "type": "string"
437442 },
438443 "fontSize": {
439444 "description": "Font size in points.",
440445 "maximum": 500,
441446 "minimum": 1,
442447 "type": "integer"
443448 },
444449 "fontStyle": {
445450 "knownValues": [
446451 "normal",
447452 "italic",
448453 "oblique"
449454 ],
450455 "maxLength": 64,
451456 "type": "string"
452457 },
453458 "fontWeight": {
454459 "description": "Font weight (100 = thin, 400 = normal, 700 = bold, 900 = black).",
455460 "maximum": 900,
456461 "minimum": 100,
457462 "type": "integer"
458463 },
459464 "hyphenation": {
460465 "description": "Whether to enable automatic hyphenation.",
461466 "type": "boolean"
462467 },
463468 "lineHeight": {
464469 "description": "Line height in points.",
465470 "minimum": 1,
466471 "type": "integer"
467472 },
468473 "paragraphSpacingAfter": {
469474 "description": "Space after paragraphs in points.",
470475 "minimum": 0,
471476 "type": "integer"
472477 },
473478 "paragraphSpacingBefore": {
474479 "description": "Space before paragraphs in points.",
475480 "minimum": 0,
476481 "type": "integer"
477482 },
478483 "strikethrough": {
479484 "description": "Whether text has strikethrough decoration.",
480485 "type": "boolean"
481486 },
482487 "textAlignment": {
483488 "knownValues": [
484489 "left",
485490 "center",
486491 "right",
487492 "justified",
488493 "none"
489494 ],
490495 "maxLength": 64,
491496 "type": "string"
492497 },
493498 "textColor": {
494499 "description": "Text color as hex string (e.g., '#333333').",
495500 "maxLength": 64,
496501 "type": "string"
497502 },
498503 "textTransform": {
499504 "knownValues": [
500505 "uppercase",
501506 "lowercase",
502507 "capitalize",
503508 "none"
504509 ],
505510 "maxLength": 64,
506511 "type": "string"
507512 },
508513 "tracking": {
509514 "description": "Letter spacing in hundredths of a point.",
510515 "type": "integer"
511516 },
512517 "underline": {
513518 "description": "Whether text has underline decoration.",
514519 "type": "boolean"
515520 },
516521 "verticalAlignment": {
517522 "knownValues": [
518523 "superscript",
519524 "subscript",
520525 "baseline"
521526 ],
522527 "maxLength": 64,
523528 "type": "string"
524529 }
525530 },
526531 "type": "object"
527532 }
528533 },
529534 "id": "net.wireservice.content",
530535 "lexicon": 1
531536}

Compare other versions