NoteTemplate
Object
{
"id": "template-abc",
"title": "Project Documentation Template",
"global_prompt": "Overall style: straightforward",
"sections": [
{
"id": "heading-1",
"type": "heading",
"properties": {
"level": 1,
"text": "Introduction"
},
"children": []
},
{
"id": "text-1",
"type": "text",
"prompt": "Explain the project background",
"properties": {
"detail_level": "medium",
"tone": "formal"
}
},
{
"id": "list-1",
"type": "list",
"prompt": "List key objectives",
"properties": {
"list_type": "bullet",
"min_items": 1,
"max_items": 3
}
}
]
}
Section
Discriminated Union
[
{
"id": "heading-1",
"type": "heading",
"properties": { "level": 1, "text": "Overview" },
"children": []
},
{
"id": "text-1",
"type": "text",
"prompt": "Brief overview text",
"properties": { "tone": "technical" }
},
{
"id": "list-1",
"type": "list",
"prompt": "Key tasks",
"properties": { "list_type": "bullet" }
}
]
HeadingSection
Important Note on Nesting:There is a maximum heading nesting depth of 2.
Object
Show properties
Show properties
Array of Section objects
required
Nested sections under this heading.
string
required
Unique identifier for this section.
Object
required
string
Resulting text if generated or stored.
string
required
Must be set to “heading”.
{
"id": "heading-1",
"type": "heading",
"properties": {
"bold": true,
"italic": false,
"hideIfEmpty": false,
"level": 1,
"text": "Project Introduction"
},
"children": []
}
TextSection
Object
Show properties
Show properties
string
required
Unique identifier for this section.
string
required
A prompt or instruction for generating/filling text.
Object
required
Show properties
Show properties
boolean
Whether the content is bold.
boolean
Whether the content is italic.
boolean
Hide this text if empty.
string
default:"markdown"
Content formatting style. One of: “markdown”, “plain”.
string
default:"standard"
Detail depth of text. One of: “exhaustive”, “detailed”, “standard”, “brief”, “minimal”.
string
default:"formal"
Tone of the text. One of: “formal”, “casual”, “technical”, “friendly”, “instructional”.
string
Placeholder if the content is empty.
string
A label or title for the text.
boolean
Whether the label itself is bold.
boolean
Whether the label itself is italic.
string
If this text is displayed as a list item. One of: “bullet”, “numeric”.
number
Maximum paragraphs (if auto-generating).
number
Maximum sentences (if auto-generating).
number
Minimum paragraphs (if auto-generating).
number
Minimum sentences (if auto-generating).
string
Final or generated text.
string
required
Must be set to “text”.
{
"id": "text-1",
"type": "text",
"prompt": "Provide a concise summary of the project scope.",
"properties": {
"bold": false,
"italic": false,
"hideIfEmpty": true,
"formatting_style": "markdown",
"detail_level": "brief",
"tone": "casual",
"label": "Project Scope",
"bold_label": false,
"italic_label": false,
"min_sentences": 2,
"max_sentences": 3,
"emptyPlaceholder": "No scope defined yet"
}
}
ListSection
Object
Show properties
Show properties
string
required
Unique identifier for this section.
string
required
A prompt or instruction for generating/filling the list.
Object
required
Show properties
Show properties
boolean
Whether the content is bold.
boolean
Whether the content is italic.
boolean
Hide this list if empty.
string
default:"markdown"
Content formatting style. One of: “markdown”, “plain”.
string
default:"standard"
Detail depth for list items. One of: “exhaustive”, “detailed”, “standard”, “brief”, “minimal”.
string
default:"formal"
Tone of the list content. One of: “formal”, “casual”, “technical”, “friendly”, “instructional”.
string
Placeholder if the list is empty.
string
required
The format of the list. One of: “bullet”, “numeric”.
number
Maximum number of items.
number
Minimum number of items.
Array of strings
The final or generated list items.
string
required
Must be set to “list”.
{
"id": "list-1",
"type": "list",
"prompt": "List the main deliverables of the project.",
"properties": {
"bold": false,
"italic": false,
"hideIfEmpty": false,
"formatting_style": "markdown",
"detail_level": "minimal",
"tone": "technical",
"list_type": "bullet",
"min_items": 1,
"max_items": 5,
"emptyPlaceholder": "No deliverables defined"
}
}