|
1 | 1 | { |
2 | 2 | "type": "object", |
3 | 3 | "properties": { |
4 | | - "MEGCoordinateSystem": { "type": "string", "enum": ["CTF", "ElektaNeuromag", "4DBti", "KitYokogawa", "ChietiItab", "Other"] }, |
| 4 | + "MEGCoordinateSystem": { "anyOf": [ |
| 5 | + { "$ref": "common_definitions.json#/definitions/MEGCoordSys" }, |
| 6 | + { "$ref": "common_definitions.json#/definitions/EEGCoordSys" }, |
| 7 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateCoordSys" }, |
| 8 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateDeprecatedCoordSys" } |
| 9 | + ]}, |
5 | 10 | "MEGCoordinateUnits": { "$ref": "common_definitions.json#/definitions/CoordUnits" }, |
6 | 11 | "MEGCoordinateSystemDescription": { "type": "string", "minLength": 1 }, |
7 | | - "EEGCoordinateSystem": { "type": "string", "enum": ["CTF", "ElektaNeuromag", "4DBti", "KitYokogawa", "ChietiItab", "Other"] }, |
| 12 | + "EEGCoordinateSystem": { "anyOf": [ |
| 13 | + { "$ref": "common_definitions.json#/definitions/MEGCoordSys" }, |
| 14 | + { "$ref": "common_definitions.json#/definitions/EEGCoordSys" }, |
| 15 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateCoordSys" }, |
| 16 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateDeprecatedCoordSys" } |
| 17 | + ]}, |
8 | 18 | "EEGCoordinateUnits": { "$ref": "common_definitions.json#/definitions/CoordUnits" }, |
9 | 19 | "EEGCoordinateSystemDescription": { "type": "string", "minLength": 1 }, |
10 | 20 | "IntendedFor": { |
|
21 | 31 | }, |
22 | 32 | "FiducialsDescription": { "type": "string", "minLength": 1 }, |
23 | 33 | "HeadCoilCoordinates": { "$ref": "common_definitions.json#/definitions/LandmarkCoordinates" }, |
24 | | - "HeadCoilCoordinateSystem": { "type": "string", "enum": ["CTF", "ElektaNeuromag", "4DBti", "KitYokogawa", "ChietiItab", "Other"] }, |
| 34 | + "HeadCoilCoordinateSystem": { "anyOf": [ |
| 35 | + { "$ref": "common_definitions.json#/definitions/MEGCoordSys" }, |
| 36 | + { "$ref": "common_definitions.json#/definitions/EEGCoordSys" }, |
| 37 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateCoordSys" }, |
| 38 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateDeprecatedCoordSys" } |
| 39 | + ]}, |
25 | 40 | "HeadCoilCoordinateUnits": { "$ref": "common_definitions.json#/definitions/CoordUnits" }, |
26 | 41 | "HeadCoilCoordinateSystemDescription": { "type": "string", "minLength": 1 }, |
27 | 42 | "AnatomicalLandmarkCoordinates": { "$ref": "common_definitions.json#/definitions/LandmarkCoordinates" }, |
28 | | - "AnatomicalLandmarkCoordinateSystem": { "type": "string", "enum": ["CTF", "ElektaNeuromag", "4DBti", "KitYokogawa", "ChietiItab", "Other"] }, |
| 43 | + "AnatomicalLandmarkCoordinateSystem": { "anyOf": [ |
| 44 | + { "$ref": "common_definitions.json#/definitions/MEGCoordSys" }, |
| 45 | + { "$ref": "common_definitions.json#/definitions/EEGCoordSys" }, |
| 46 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateCoordSys" }, |
| 47 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateDeprecatedCoordSys" } |
| 48 | + ]}, |
29 | 49 | "AnatomicalLandmarkCoordinateUnits": { "$ref": "common_definitions.json#/definitions/CoordUnits" }, |
30 | 50 | "AnatomicalLandmarkCoordinateSystemDescription": { "type": "string", "minLength": 1 }, |
31 | 51 | "DigitizedHeadPoints": { "type": "string" }, |
32 | | - "DigitizedHeadPointsCoordinateSystem": { "type": "string", "enum": ["CTF", "ElektaNeuromag", "4DBti", "KitYokogawa", "ChietiItab", "Other"] }, |
| 52 | + "DigitizedHeadPointsCoordinateSystem": { "anyOf": [ |
| 53 | + { "$ref": "common_definitions.json#/definitions/MEGCoordSys" }, |
| 54 | + { "$ref": "common_definitions.json#/definitions/EEGCoordSys" }, |
| 55 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateCoordSys" }, |
| 56 | + { "$ref": "common_definitions.json#/definitions/StandardTemplateDeprecatedCoordSys" } |
| 57 | + ]}, |
33 | 58 | "DigitizedHeadPointsCoordinateUnits": { "$ref": "common_definitions.json#/definitions/CoordUnits" }, |
34 | 59 | "DigitizedHeadPointsCoordinateSystemDescription": { "type": "string", "minLength": 1 } |
35 | 60 | }, |
|
0 commit comments