Schemas / Layout
rig.layout.character_style
v0.31.0 · draft 7 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
storyStyle |
entity | optional | Optional. Story character style this map applies to |
basedOn |
entity | optional | Optional. Parent layout character style; absent / null = none |
font |
entity | optional | Optional. rig.media.asset_ref kind font |
fontSize |
float | optional | Optional. Size override; absent = inherit paragraph |
paint |
entity | optional | Optional. Paint entity for the run colour |
italic |
bool | optional | Optional. Oblique / italic emphasis; absent = false |
bold |
bool | optional | Optional. Weight emphasis; absent = false |
Visual map for a rig.story.character_style. Format when present.
Story character styles are identity only. Face override, size, paint, and emphasis flags live here.
Based-on chains stay acyclic. A cycle is a document error. Do not put these fields on rig.story.*.
JSON Schema
Resolves at https://rig.works/schemas/rig.layout.character_style.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.layout.character_style.schema.json",
"title": "rig.layout.character_style",
"type": "object",
"additionalProperties": false,
"properties": {
"storyStyle": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"basedOn": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"font": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"fontSize": {
"$ref": "./_defs.schema.json#/$defs/float"
},
"paint": {
"$ref": "./_defs.schema.json#/$defs/entity"
},
"italic": {
"$ref": "./_defs.schema.json#/$defs/bool"
},
"bold": {
"$ref": "./_defs.schema.json#/$defs/bool"
}
}
}