Units: add enum for valid unit types

Signed-off-by: Rashmica Gupta <rashmica.g@gmail.com>
Change-Id: I61d6beda46e046b5e34fc051ec65dacdad324983
diff --git a/schemas/legacy.json b/schemas/legacy.json
index 4efc9ee..6e5a93b 100644
--- a/schemas/legacy.json
+++ b/schemas/legacy.json
@@ -516,7 +516,19 @@
                 "type": "number"
             },
             "Units": {
-                "type": "string"
+                "type": "string",
+                "enum": [
+                    "DegreesC",
+                    "RPMS",
+                    "Volts",
+                    "Meters",
+                    "Amperes",
+                    "Watts",
+                    "Joules",
+                    "Percent",
+                    "CFM",
+                    "Pascals"
+                ]
             },
             "MinReading": {
                 "type": "number"