Schemas / Story (semantic copy)
rig.story.character_style
v0.31.0 · draft 1 field 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
basedOn |
entity | optional | Optional. Parent character style; absent / null = none |
Named character style. Format when present.
The display name is rig.meta.named - do not re-declare name here. Identity only: no face, underline weight, colour, or local emphasis flags. A style named Bold is Bold because it is named that - a host maps the name at emit time.
Nested emphasis becomes a distinct style that basedOn the outer one.
Do not put bold/italic/underline/strike/position on this schema or on the run. That would be a second representation of the same meaning.
Based-on chains stay acyclic. A cycle is a document error.
JSON Schema
Resolves at https://rig.works/schemas/rig.story.character_style.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.story.character_style.schema.json",
"title": "rig.story.character_style",
"type": "object",
"additionalProperties": false,
"properties": {
"basedOn": {
"$ref": "./_defs.schema.json#/$defs/entity"
}
}
}