{
  "queries": {
    "baseline": {
      "hmc": {
        "datatype": "func",
        "space": null,
        "desc": "hmc",
        "suffix": "boldref",
        "extension": [
          ".nii.gz",
          ".nii"
        ]
      },
      "coreg": {
        "datatype": "func",
        "space": null,
        "desc": "coreg",
        "suffix": "boldref",
        "extension": [
          ".nii.gz",
          ".nii"
        ]
      }
    },
    "transforms": {
      "hmc": {
        "datatype": "func",
        "from": "orig",
        "to": "boldref",
        "mode": "image",
        "suffix": "xfm",
        "extension": ".txt"
      },
      "boldref2anat": {
        "datatype": "func",
        "from": "boldref",
        "to": ["anat", "T1w", "T2w"],
        "mode": "image",
        "suffix": "xfm",
        "extension": ".txt"
      },
      "boldref2fmap": {
        "datatype": "func",
        "from": "boldref",
        "mode": "image",
        "suffix": "xfm",
        "extension": ".txt"
      }
    }
  },
  "patterns": [
    "sub-{subject}[/ses-{session}]/{datatype<func>|func}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_res-{res}][_label-{label}][_echo-{echo}][_space-{space}][_desc-{desc}]_{suffix<bold|boldref|dseg|mask>}.{extension<nii|nii.gz|json>|nii.gz}",
    "sub-{subject}[/ses-{session}]/{datatype<func>|func}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_run-{run}]_from-{from}_to-{to}_mode-{mode<image|points>|image}_{suffix<xfm>|xfm}.{extension<txt|h5>}",
    "sub-{subject}[/ses-{session}]/{datatype<func>|func}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_run-{run}][_part-{part}][_desc-{desc}]_{suffix<timeseries>}.{extension<tsv|json>}",
    "sub-{subject}[/ses-{session}]/{datatype<func>|func}/sub-{subject}[_ses-{session}]_task-{task}[_acq-{acquisition}][_ce-{ceagent}][_rec-{reconstruction}][_space-{space}][_res-{res}][_den-{den}][_hemi-{hemi}[_label-{label}][_desc-{desc}]_{suffix<|boldref|dseg|mask>}.{extension<dtseries.nii|dtseries.json>}"
  ]
}
