net.wireservice.content
Apple News Format-derived rich article content for standard.site documents. Plugs into the open content union of site.standard.document.
Details · object
| Kind | object |
|---|---|
| Authority | wireservice.net |
| Indexed |
Showing version bafyreic6cz454vtzlkh6cxtp5jtl6xo32756gmipdjayqxvhggwurutqj4. Show the latest
Object
objectProperties
blob
blobExternal JSON blob containing the components array. Used when content exceeds the record size limit. Mutually exclusive with the inline components array.
blobRefs
arrayBlob references used within content. Required in blob mode to prevent garbage collection of image and media blobs.
componentLayouts
arrayNamed component layout definitions. Components reference these by name via their layout field.
componentStyles
arrayNamed component style definitions. Components reference these by name via their style field.
componentTextStyles
arrayNamed text style definitions. Text components reference these by name via their textStyle field.
components
arrayInline component array. Used when content fits within the record size limit.
- net.wireservice.component.body
- net.wireservice.component.heading
- net.wireservice.component.image
- net.wireservice.component.photo
- net.wireservice.component.video
- net.wireservice.component.audio
- net.wireservice.component.gallery
- net.wireservice.component.container
- net.wireservice.component.divider
- net.wireservice.component.quote
- net.wireservice.component.byline
- net.wireservice.component.embed
- net.wireservice.component.map
- net.wireservice.component.linkButton
- net.wireservice.component.adSlot
corrections
arrayPublished corrections, clarifications, and updates, oldest first. Entries are appended, never edited or removed.
language
string · languageBCP-47 language code for the article content.
maxLength: 64
layout
refDocument-level layout grid. Overrides the stylesheet's default grid if a stylesheet is referenced.
stylesheet
string · at-uriAT 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.
#border
objectBorder definition. The stroke property defines the line style; the boolean flags control which sides are drawn (all true by default when omitted).
#componentLayoutValues
objectThe actual layout values: column placement, margins, padding, alignment, sizing. Used as the values payload for both namedComponentLayout (defaults) and conditionalComponentLayout (overrides).
Properties
columnSpan
integerNumber of columns this component spans.
minimum: 1
columnStart
integerStarting column index (zero-based).
minimum: 0
maxLength: 64knownValues: left | center | right
ignoreDocumentGutter
stringWhich sides should ignore the document gutter.
maxLength: 64knownValues: none | left | right | both
ignoreDocumentMargin
stringWhich sides should ignore the document margin.
maxLength: 64knownValues: none | left | right | both
margin
refpadding
ref#componentStyleValues
objectThe actual visual style values: background color, border, corner radius, opacity. Used as the values payload for both namedComponentStyle (defaults) and conditionalComponentStyle (overrides).
Properties
backgroundColor
stringBackground color as hex string (e.g., '#F7F7F7').
maxLength: 64
cornerRadius
integerCorner radius in points.
minimum: 0
opacity
integerOpacity as integer 0-100 (100 = fully opaque).
minimum: 0maximum: 100
#conditionalComponentLayout
objectConditional override for a named component layout. The values field carries the override payload; conditions describe when it applies.
Properties
Conditions that trigger this override. Multiple conditions combine as OR (any match applies). Combine criteria within a single condition object for AND.
values
refOverride values. Fields not set here keep the parent's defaults.
#conditionalComponentStyle
objectConditional override for a named component style. The values field carries the override payload; conditions describe when it applies.
Properties
Conditions that trigger this override. Multiple conditions combine as OR (any match applies). Combine criteria within a single condition object for AND.
values
refOverride values. Fields not set here keep the parent's defaults.
#conditionalTextStyle
objectConditional override for a named text style. The values field carries the override payload; conditions describe when it applies.
Properties
Conditions that trigger this override. Multiple conditions combine as OR (any match applies). Combine criteria within a single condition object for AND.
values
refOverride values. Fields not set here keep the parent's defaults.
#correction
objectA notice appended to an article after publication.
Properties
maxLength: 64knownValues: correction | clarification | update | editorsNote
Notice text as an array of text runs with optional formatting marks.
#documentLayout
objectDocument-level layout grid defining the column structure for component placement.
Properties
Number of columns in the layout grid.
minimum: 1
gutter
integerGutter width between columns in points.
minimum: 0
margin
integerDocument margin in points.
minimum: 0
minimumColumnWidth
integerNarrowest a column may get, in points. Below the viewport width where columns would be narrower, the layout collapses to one column. Defaults to 40.
minimum: 1
Maximum layout width in points.
minimum: 1
#namedComponentLayout
objectA named component layout definition controlling column placement, margins, and sizing. Components reference these by the name field.
Properties
conditional
arrayConditional 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.
Identifier for this layout, referenced by components.
maxLength: 256
values
refDefault layout values. Conditional entries can override individual fields.
#namedComponentStyle
objectA named component style definition controlling visual appearance. Components reference these by the name field.
Properties
conditional
arrayConditional 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.
Identifier for this style, referenced by components.
maxLength: 256
values
refDefault style values. Conditional entries can override individual fields.
#namedTextStyle
objectA named text style definition. Text components reference these by the name field.
Properties
conditional
arrayConditional 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.
Identifier for this style, referenced by components.
maxLength: 256
values
refDefault text style values. Conditional entries can override individual fields.
#textStyleValues
objectThe actual text style values: font, size, color, alignment, spacing, decoration. Used as the values payload for both namedTextStyle (defaults) and conditionalTextStyle (overrides).
Properties
backgroundColor
stringText background color as hex string.
maxLength: 64
firstLineIndent
integerFirst line indent in points.
minimum: 0
fontFamily
stringFont family name (e.g., 'Georgia', 'Helvetica Neue').
maxLength: 256
fontName
stringPostScript font name for precise font selection.
maxLength: 256
fontSize
integerFont size in points.
minimum: 1maximum: 500
fontStyle
stringmaxLength: 64knownValues: normal | italic | oblique
fontWeight
integerFont weight (100 = thin, 400 = normal, 700 = bold, 900 = black).
minimum: 100maximum: 900
hyphenation
booleanWhether to enable automatic hyphenation.
lineHeight
integerLine height in points.
minimum: 1
paragraphSpacingAfter
integerSpace after paragraphs in points.
minimum: 0
paragraphSpacingBefore
integerSpace before paragraphs in points.
minimum: 0
strikethrough
booleanWhether text has strikethrough decoration.
textAlignment
stringmaxLength: 64knownValues: left | center | right | justified | none
textColor
stringText color as hex string (e.g., '#333333').
maxLength: 64
textTransform
stringmaxLength: 64knownValues: uppercase | lowercase | capitalize | none
tracking
integerLetter spacing in hundredths of a point.
underline
booleanWhether text has underline decoration.
verticalAlignment
stringmaxLength: 64knownValues: superscript | subscript | baseline
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Body text component. The primary component for article prose.