{}OPF
DocsObject referenceView source

Tone

Inline tone metadata for the presentation. Use 'id' to reference a tones catalog record and override selected fields, or use 'name' for a custom inline tone.

Metadata

Definition
#/$defs/Tone
Type
object | object
Source
spec/schemas/opf.schema.json

Field index

FieldTypeReq.Description
idstringOptional tones catalog id to resolve before applying inline overrides.
namestringHuman-readable tone name shown in pickers.
summarystringOne-sentence positioning of the tone.
descriptionstringLonger prose describing the tone and the kinds of decks it suits.
voiceCuesarray<string>Short directives that shape AI generation toward this tone.
avoidarray<string>Anti-patterns that AI generation should not produce when this tone is active.
samplePhrasesarray<string>Short example phrases that exemplify this tone.
recommendedNarrativesarray<string>Soft cross-link: narrative-catalog ids this tone pairs well with.
tagsarray<string>Free-form labels for filtering and search.

id

typestringrequirednodefaultpattern^[a-z][a-z0-9-]*$

Optional tones catalog id to resolve before applying inline overrides.

id.json
{
  "id": "formal"
}

name

typestringrequirednodefault

Human-readable tone name shown in pickers.

name.json
{
  "name": "name-value"
}

summary

typestringrequirednodefault

One-sentence positioning of the tone.

summary.json
{
  "summary": "summary-value"
}

description

typestringrequirednodefault

Longer prose describing the tone and the kinds of decks it suits.

description.json
{
  "description": "description-value"
}

voiceCues

typearray<string>requirednodefault

Short directives that shape AI generation toward this tone.

voiceCues.json
{
  "voiceCues": []
}

avoid

typearray<string>requirednodefault

Anti-patterns that AI generation should not produce when this tone is active.

avoid.json
{
  "avoid": []
}

samplePhrases

typearray<string>requirednodefault

Short example phrases that exemplify this tone.

samplePhrases.json
{
  "samplePhrases": []
}

recommendedNarratives

typearray<string>requirednodefault

Soft cross-link: narrative-catalog ids this tone pairs well with.

recommendedNarratives.json
{
  "recommendedNarratives": []
}

tags

typearray<string>requirednodefault

Free-form labels for filtering and search.

tags.json
{
  "tags": []
}