Schemas / Layout
rig.layout.facing
v0.31.0 · draft 2 fields 0 required
Fields
| Field | Type | Meaning | |
|---|---|---|---|
enabled |
bool | optional | Optional. Facing on; absent = true when this component is present |
binding |
enumleft · right | optional | Optional. left or right - which edge is bound. Absent = left |
Facing-pages preference for a document. Format when present.
Compose on the document envelope entity (or the host project singleton). Absent = singles. A spread is two rig.layout.page records side by side - not a second entity type.
Recto-first (page 1 alone on the right, then 2|3, 4|5) is the usual left-binding view. Inner/outer margins are the page's left/right channels, swapped on verso - do not add a second margin pair.
JSON Schema
Resolves at https://rig.works/schemas/rig.layout.facing.schema.json —
raw file.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://rig.works/schemas/rig.layout.facing.schema.json",
"title": "rig.layout.facing",
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"$ref": "./_defs.schema.json#/$defs/bool"
},
"binding": {
"type": "string",
"enum": [
"left",
"right"
]
}
}
}