From c6810aa339456816ca6ff71e952a1990e71ecdb5 Mon Sep 17 00:00:00 2001 From: Sein Jeung Date: Tue, 22 Aug 2023 12:47:34 +0200 Subject: [PATCH 1/2] Remove reference frame related fields from motion.json Per https://github.com/bids-standard/bids-specification/pull/1524 --- bids-validator/validators/json/schemas/motion.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/bids-validator/validators/json/schemas/motion.json b/bids-validator/validators/json/schemas/motion.json index 9a4d2c34b..b5d5a19db 100644 --- a/bids-validator/validators/json/schemas/motion.json +++ b/bids-validator/validators/json/schemas/motion.json @@ -61,16 +61,7 @@ "POSChannelCount": { "type": "number" }, "VELChannelCount": { "type": "number" }, "LATENCYChannelCount": { "type": "number" }, - "MissingValues": { "type": "string" }, - "RotationOrder": { - "type": "string", - "enum": ["XYZ", "XZY", "YXZ", "YZX", "ZXY", "ZYX"] - }, - "RotationRule": { - "type": "string", - "enum": ["left-hand", "right-hand"] - }, - "SpatialAxes": { "type": "string" } + "MissingValues": { "type": "string" } }, "required": ["TaskName", "SamplingFrequency"], "additionalProperties": false From abde27b81655c4d028cd904a7d7f596ed1a1c6d0 Mon Sep 17 00:00:00 2001 From: Sein Jeung Date: Fri, 25 Aug 2023 11:50:44 +0200 Subject: [PATCH 2/2] Fix typo and remove unused field - typo MISChannelCount -> MISCChannelCount - remove unused TrackingSystemCount field --- bids-validator/validators/json/schemas/motion.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bids-validator/validators/json/schemas/motion.json b/bids-validator/validators/json/schemas/motion.json index b5d5a19db..3db7717a8 100644 --- a/bids-validator/validators/json/schemas/motion.json +++ b/bids-validator/validators/json/schemas/motion.json @@ -27,7 +27,6 @@ }, "SubjectArtefactDescription": { "type": "string" }, "MotionChannelCount": { "type": "number" }, - "TrackingSystemCount": { "type": "number" }, "TrackingSystemName": { "type": "string" }, "DeviceSerialNumber": { "$ref": "common_definitions.json#/definitions/DeviceSerialNumber" @@ -56,7 +55,7 @@ "GYROChannelCount": { "type": "number" }, "JNTANGChannelCount": { "type": "number" }, "MAGNChannelCount": { "type": "number" }, - "MISChannelCount": { "type": "number" }, + "MISCChannelCount": { "type": "number" }, "ORNTChannelCount": { "type": "number" }, "POSChannelCount": { "type": "number" }, "VELChannelCount": { "type": "number" },