Schemas / Layout
rig.layout.table_style
v0.31.0 · draft 10 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
name |
string | optional | Optional. Style label |
borderStroke |
float | optional | Optional. Outline stroke; 0 / absent = no outline |
borderColor |
entity | optional | Optional. Paint entity (rig.paint.solid) for the outline |
headerFill |
entity | optional | Optional. Paint entity for the header row band |
rowStripeFill |
entity | optional | Optional. Paint entity for the alternating body row band |
cellInset |
float | optional | Optional. Cell padding |
cellSize |
float | optional | Optional. Body cell type size (pt) |
cellLeading |
float | optional | Optional. Cell line height / row pitch (pt) |
cellInk |
entity | optional | Optional. Paint entity for body cell text |
headerInk |
entity | optional | Optional. Paint entity for header row text |
Visual map for tables (rig.story.table). Format when present.
Story tables stay content-only (rows + cells). Cell type size, leading, fills, and inks live here so any host sets the same table. One style normally dresses every table in a document - a table may point at a specific style entity when it must differ.
Colours are paint entities, same as rig.layout.paragraph_style paint - a paint carries screen rgba plus exact cmyk / ink, so a print host keeps its separations. Raw rgba fields here would round that away. Absent = host default.
Do not put these fields on rig.story.table.
JSON Schema
Resolves at https://rig.works/schemas/rig.layout.table_style.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.layout.table_style.schema.json",
"title": "rig.layout.table_style",
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"$ref": "./_defs.schema.json#/$defs/string"
},
"borderStroke": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"borderColor": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"headerFill": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"rowStripeFill": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"cellInset": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"cellSize": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"cellLeading": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"cellInk": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"headerInk": {
"$ref": "./_defs.schema.json#/$defs/entity"
}
}
}