About

Grouptheory Inc.

Grouptheory Inc. helps researchers understand people’s experiences and behavior in everyday life.

ODIN is a cloud-based smartphone platform for collecting contextual data and delivering responsive interventions. It helps research teams turn everyday observations into scientific insight.

Click elsewhere to close

Reference

Study specification export schemas.

Look up the fields in the Export JSON and Export DDL files.

On this page

← Study export schemas

Export JSON and its portable study definition

My Studies → study menu → Export JSON produces a UTF-8 _Export.json file. This is the portable protocol definition used by the website’s Import JSON feature. The fields below describe the website download format.

studyInfo
Object. studyid is the numeric study ID, studyNameAlias is its display name, and attributes maps setting names to stored string values.
questions
Array of question definitions. Each object has questionid, alias, questiontext, questionDesc, questionType, questionExtras, nextchoiceid, and nested choices and rules arrays. questionExtras is a map of format-specific options.
consentForms
Array of consent sections with consentId, headingName, longFormData, and shortFormData.
contactInfo
Array of study contacts with contactInfoId, name, email, address, and phoneNumber.
sensors
Array of configured sensors with sensorname, sensorParam (settings stored as a string), and sensorHeartBeatInterval.
researchers
Array of researcher account entries. The portable model carries username, email, superOrNot, leaderOrNot, entitlementsInfo, and credential fields password and salt.
importedResearcherResult
Array or null. Researcher import outcomes with name, originalStatus, addedAs, and alreadyExisted. A fresh export can leave this array null.

A nested choice carries questionid, choiceid, and choicetext. A nested rule carries ruleid, questionid, ruletype, ruletext, groupids, maxanswertime, and ruleRegistrationPlatform. The rule model also includes ruleDisabledTime, rulePublishedTime, ruleDescription, and platform. ruletext is stored as a string containing the trigger and filter configuration.

Keep this snapshot with the matching data export when a study changes over time. Use the CSV exports for participant observations.

Export DDL and its table definitions

My Studies → study menu → Export DDL produces a UTF-8 _DDL.json file for the website’s Import DDL feature. It is a JSON container for SQL table definitions and selected configuration rows.

studyDetails
Object. studyId is the numeric study ID and studyNameAlias is the display name.
serverDbVersion
Text. Database schema version used to generate the export.
tables
Object keyed by table name. Each entry has createDDL, a string containing its SQL CREATE TABLE statement, and insertDDL, an array of SQL INSERT strings or null.
researchers
Array of researcher account entries. The DDL download model includes id, username, email, superOrNot, entitlementsInfo, and password.

The exporter generates table definitions for the study tables. It generates INSERT statements only for the configuration tables choices, contactinfo, questions, rules, services, studyattributes, studyconsentform, and sensorsconfig. Use Download Data to retain response, consent and sensor records.

Both specification formats can carry researcher account data, including stored password hashes. Keep them in approved storage and share a field list or an empty template when discussing the structure.

Search the researcher guide

Search page titles, topics, and common task words.

Screenshot

1×