Survey
The survey modality is a PRISM extension for handling complex questionnaires. It treats surveys as rich data with detailed metadata, rather than simple phenotypic variables.
File Name Structure
Survey data files MUST follow this naming convention:
sub-<label>[_ses-<label>]_survey-<label>.tsv
Note: The legacy format _task-<label>_beh.tsv is also supported but deprecated.
Sidecar JSON (*_survey.json)
The survey sidecar defines the structure, content, and administrative metadata of the questionnaire.
Top-Level Objects
Object |
Requirement |
Description |
|---|---|---|
|
REQUIRED |
Platform and respondent details. |
|
REQUIRED |
Instrument identification. |
|
REQUIRED |
Schema and creation details. |
|
OPTIONAL |
Any other key is treated as a Question Item. |
Technical Object Fields
Key |
Requirement |
Type |
Description |
|---|---|---|---|
|
REQUIRED |
|
MUST be |
|
REQUIRED |
|
MUST be |
|
REQUIRED |
|
Platform used (e.g., |
|
REQUIRED |
|
Language code (e.g., |
|
REQUIRED |
|
Who answered (e.g., |
|
RECOMMENDED |
|
Input method (e.g., |
Study Object Fields
Key |
Requirement |
Type |
Description |
|---|---|---|---|
|
REQUIRED |
|
Short identifier (e.g., |
|
REQUIRED |
|
Full name (e.g., |
|
OPTIONAL |
|
Instrument version. |
|
OPTIONAL |
|
Reference citation. |
Question Item Fields
Any top-level key that is not one of the above objects is considered a question definition (e.g., "Q01", "item_1").
Key |
Requirement |
Type |
Description |
|---|---|---|---|
|
REQUIRED |
|
The exact text of the question presented. |
|
OPTIONAL |
|
Mapping of numeric values to text labels. |
|
OPTIONAL |
|
Units (if applicable). |
|
OPTIONAL |
|
URL to an ontology term. |
Example Sidecar
{
"Technical": {
"StimulusType": "Questionnaire",
"FileFormat": "tsv",
"SoftwarePlatform": "LimeSurvey",
"Language": "en",
"Respondent": "self"
},
"Study": {
"TaskName": "bdi",
"OriginalName": "Beck Depression Inventory"
},
"Metadata": {
"SchemaVersion": "1.0.0",
"CreationDate": "2025-01-01"
},
"Q01": {
"Description": "I feel sad",
"Levels": {
"0": "I do not feel sad.",
"1": "I feel sad",
"2": "I am sad all the time and I can't snap out of it.",
"3": "I am so sad and unhappy that I can't stand it."
}
}
}