Overview
Thetimeback.config.json file configures your Timeback integration, defining courses, sensors, and environment-specific overrides.
Location
The CLI createstimeback.config.json in your project root:
my-app
timeback.config.json
package.json
src
Schema
Use the JSON schema for autocompletion and validation:timeback.config.json
Complete Example
timeback.config.json
Root Properties
Your application name.
Default Caliper sensor URL for activity tracking. Can be overridden per-course.
Default values applied to all courses. Supports
level, metadata, goals, and metrics.Array of course definitions. See Course Properties below.
Course Properties
Subject name (e.g., “Math”, “ELA”, “Science”).
Grade level (1-12 or “K” for kindergarten).
Unique course identifier.
Course level description.
Caliper sensor URL for this course. Overrides root
sensor.Custom metadata object. Common fields include
publishStatus (“draft”, “testing”, “published”),
owner, and version.Learning goals configuration with fields like
dailyXP, weeklyXP, dailyActivities,
weeklyActivities.XP and scoring configuration with fields like
xpPerQuestion, xpPerMinute, bonusMultiplier,
masteryThreshold.Environment-specific overrides keyed by
staging or production. Each override can contain any
course property to override for that environment.Goals Example
Metrics Example
Overrides Example
Override Merge Rules
Overrides are merged in this order:defaults(lowest priority)- Course base values
overrides[env](highest priority)
Merge Behavior
Replaced entirely by override value
Shallow merged (properties combined)
Deep merged with base values
Deep merged with base values
Sensor Resolution
The SDK resolves sensors in this order:course.overrides[env].sensorcourse.sensor- Root
sensor