Skip to content

Session content — sentenceCompletion (single-prompt ACT exercise)

Block type: sentenceCompletion · Domain: session-content

Per-template payload for content.sessions.content where template_type='sentenceCompletion'. Edit this file in naluma-directus; mirror into naluma-app/assets/schemas/session-content/ in the same change.

Fields

Field Type Required Allowed values Notes
intro string yes Body paragraph rendered above the stem.
stem string yes The sentence the user completes (rendered as a heading-style label). — minLength 1
hint string no Placeholder hint shown inside the text field. Empty string treated as absent.
closing string no Optional closing paragraph beneath the text field. Empty string treated as absent.
max_lines integer yes Max visible lines in the user's text field. — min 1 — max 10

Example

{
  "intro": "Reflect for a moment, then complete the sentence below in your own words.",
  "stem": "One thing tinnitus has taught me is…",
  "hint": "There are no right or wrong answers",
  "closing": "Thank you for taking the time to reflect.",
  "max_lines": 5
}