diff --git a/src/schema/rules/checks/nirs.yaml b/src/schema/rules/checks/nirs.yaml index 8acd3ed2fc..3ec07ce1d2 100644 --- a/src/schema/rules/checks/nirs.yaml +++ b/src/schema/rules/checks/nirs.yaml @@ -23,24 +23,28 @@ NIRSChannelCount: ACCELChannelCountReq: selectors: - suffix == "nirs" + - count(associations.channels.type, "ACCEL") > 0 checks: - sidecar.ACCELChannelCount == count(associations.channels.type, "ACCEL") GYROChannelCountReq: selectors: - suffix == "nirs" + - count(associations.channels.type, "GYRO") > 0 checks: - sidecar.GYROChannelCount == count(associations.channels.type, "GYRO") MAGNChannelCountReq: selectors: - suffix == "nirs" + - count(associations.channels.type, "MAGN") > 0 checks: - sidecar.MAGNChannelCount == count(associations.channels.type, "MAGN") ShortChannelCountReq: selectors: - suffix == "nirs" + - '"ShortChannelCount" in sidecar' checks: - sidecar.ShortChannelCount == count(associations.channels.short_channel, "true")