Validate Template
POST /api/creative/character-sheet-templates/validate
POST
/api/creative/character-sheet-templates/validate
Run the geometry + required-fields validator on a spec.
Request Body required
Section titled “Request Body required ” SheetTemplateSpec
A complete .layout.json character-sheet template.
object
templateId
required
Templateid
string
name
required
Name
string
description
Description
string
version
Version
string
author
Author
string
tags
Tags
Array<string>
rulesetRef
Rulesetref
string
orientation
Orientation
string
pages
Pages
Array<object>
SheetPageA named page within the template.
Templates typically ship with core / combat / magic / inventory / story pages; every filled sheet carries the same set.
object
id
required
Id
string
name
required
Name
string
layout
Layout
Array<object>
SheetFieldSpecOne placed field on the sheet canvas.
row and col are zero-indexed grid positions; width and
height count cells. Rules the Layout Studio enforces:
- Non-negative
row/col. width+height>= 1.- Fields may not overlap — the validator walks the page and rejects templates with collisions.
object
type
required
Type
string
label
required
Label
string
row
required
Row
integer
col
required
Col
integer
width
Width
integer
height
Height
integer
required
Required
boolean
optionsRef
Optionsref
string
linkedStat
Linkedstat
string
validation
Validation
string
Responses
Section titled “ Responses ”Successful Response
SheetTemplateValidationResult
object
valid
required
Valid
boolean
errors
Errors
Array<object>
SheetTemplateValidationErrorobject
pageId
required
Pageid
string
message
required
Message
string
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context