Declaration malformed (unknown constraint 'slots-per-plug') declaration-snap-v2_valid_plugs (serial-port, slots-per-plug)

Builds of the s4a snap keep getting rejected by the automatic review with the following error:

declaration malformed (unknown constraint 'slots-per-plug') declaration-snap-v2_valid_plugs (serial-port, slots-per-plug)

When I look at meta/snap.yaml I don’t see anything like slots-per-plug. @jdstrand is this an issue with the declaration?

Yes it is. Fixing now.

Done. It has now passed automated review. The arduino snap had the same issue and I fixed it too.