Skip to content

Commit db1c087

Browse files
authored
Merge pull request bids-standard#2172 from markmikkelsen/dev
[FIX] Update ResonantFrequency and SpectrometerFrequency to support both string/number and arrays
2 parents dbe1cd0 + cdca116 commit db1c087

File tree

1 file changed

+16
-7
lines changed

1 file changed

+16
-7
lines changed

src/schema/objects/metadata.yaml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3046,9 +3046,13 @@ ResonantNucleus:
30463046
For multi-nuclei experiments such as <sup>1</sup>H-[<sup>13</sup>C] MR,
30473047
an array can be used: `["1H", "13C"]`.
30483048
Corresponds to [DICOM Tag 0018, 9100](https://dicomlookup.com/dicomtags/(0018,9100)) `Resonant Nucleus`.
3049-
type: array
3050-
items:
3051-
type: string
3049+
anyOf:
3050+
- type: string
3051+
- type: array
3052+
items:
3053+
type: string
3054+
minItems: 1
3055+
maxItems: 2
30523056
RotationOrder:
30533057
name: RotationOrder
30543058
display_name: RotationOrder
@@ -3606,10 +3610,15 @@ SpectrometerFrequency:
36063610
to the resonant frequency of <sup>1</sup>H.
36073611
For multi-nuclei experiments such as <sup>1</sup>H-[<sup>13</sup>C] MR at 3T,
36083612
an array can be used: `[127.731, 32.125]`.
3609-
type: array
3610-
items:
3611-
type: number
3612-
unit: MHz
3613+
anyOf:
3614+
- type: number
3615+
unit: MHz
3616+
- type: array
3617+
items:
3618+
type: number
3619+
unit: MHz
3620+
minItems: 1
3621+
maxItems: 2
36133622
SpoilingGradientDuration:
36143623
name: SpoilingGradientDuration
36153624
display_name: Spoiling Gradient Duration

0 commit comments

Comments
 (0)