Skip to content

Commit

Permalink
Updated schema pet.json to accomodate FDG scans
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoergaard committed Aug 21, 2020
1 parent 4643f51 commit 235657b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions bids-validator/validators/json/schemas/pet.json
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,20 @@
"then": {
"required": ["ContinuousBloodDispersionCorrected"]
}
},
{
"if": {
"properties": {
"TracerName": {
"enum": ["FDG"]
}
}
},
"then": {
},
"else": {
"required": ["InjectedMass", "InjectedMassUnit", "SpecificRadioactivity", "SpecificRadioactivityUnit"]
}
}
],
"required": [
Expand All @@ -206,10 +220,6 @@

"InjectedRadioactivity",
"InjectedRadioactivityUnit",
"InjectedMass",
"InjectedMassUnit",
"SpecificRadioactivity",
"SpecificRadioactivityUnit",
"ModeOfAdministration",

"ScanStart",
Expand Down

0 comments on commit 235657b

Please sign in to comment.