schema: use pid, zone, stepwise schemas

These schemas were defined, but not referenced anywhere.  Use them, and
remove the duplicated properties from the legacy aggregate schema.

Change-Id: I75ba8099059127cfa5c2d6492908333ca5c3bf67
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/schemas/Pid.json b/schemas/Pid.json
index 862496d..06c31fa 100644
--- a/schemas/Pid.json
+++ b/schemas/Pid.json
@@ -1,92 +1,96 @@
 {
-    "$schema": "http://json-schema.org/schema#",
-    "type": "object",
-    "properties": {
-        "Class": {
-            "type": "string"
-        },
-        "FFGainCoefficient": {
-            "type": "number"
-        },
-        "FFOffCoefficient": {
-            "type": "number"
-        },
-        "ICoefficient": {
-            "type": "number"
-        },
-        "ILimitMax": {
-            "type": "number"
-        },
-        "ILimitMin": {
-            "type": "number"
-        },
-        "Inputs": {
-            "type": "array",
-            "items": {
-                "type": "string"
-            }
-        },
-        "Name": {
-            "type": "string"
-        },
-        "OutLimitMax": {
-            "type": "number"
-        },
-        "OutLimitMin": {
-            "type": "number"
-        },
-        "Outputs": {
-            "type": "array",
-            "items": {
-                "type": "string"
-            }
-        },
-        "PCoefficient": {
-            "type": "number"
-        },
-        "Profiles": {
-            "type": "array",
-            "items": {
-                "type": "string"
-            }
-        },
-        "SlewNeg": {
-            "type": "number"
-        },
-        "SlewPos": {
-            "type": "number"
-        },
-        "Type": {
-            "type": "string"
-        },
-        "Zones": {
-            "type": "array",
-            "items": {
-                "type": "string"
-            }
-        },
-        "SetPoint": {
-            "type": "number"
-        },
-        "SetPointOffset": {
-            "type": "string"
+    "$schema": "http://json-schema.org/draft-07/schema#",
+    "definitions": {
+        "Pid": {
+            "type": "object",
+            "properties": {
+                "Class": {
+                    "type": "string"
+                },
+                "FFGainCoefficient": {
+                    "type": "number"
+                },
+                "FFOffCoefficient": {
+                    "type": "number"
+                },
+                "ICoefficient": {
+                    "type": "number"
+                },
+                "ILimitMax": {
+                    "type": "number"
+                },
+                "ILimitMin": {
+                    "type": "number"
+                },
+                "Inputs": {
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                },
+                "Name": {
+                    "type": "string"
+                },
+                "OutLimitMax": {
+                    "type": "number"
+                },
+                "OutLimitMin": {
+                    "type": "number"
+                },
+                "Outputs": {
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                },
+                "PCoefficient": {
+                    "type": "number"
+                },
+                "Profiles": {
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                },
+                "SlewNeg": {
+                    "type": "number"
+                },
+                "SlewPos": {
+                    "type": "number"
+                },
+                "Type": {
+                    "type": "string"
+                },
+                "Zones": {
+                    "type": "array",
+                    "items": {
+                        "type": "string"
+                    }
+                },
+                "SetPoint": {
+                    "type": "number"
+                },
+                "SetPointOffset": {
+                    "type": "string"
+                }
+            },
+            "required": [
+                "Class",
+                "FFGainCoefficient",
+                "FFOffCoefficient",
+                "ICoefficient",
+                "ILimitMax",
+                "ILimitMin",
+                "Inputs",
+                "Name",
+                "OutLimitMax",
+                "OutLimitMin",
+                "PCoefficient",
+                "SlewNeg",
+                "SlewPos",
+                "Type",
+                "Zones"
+            ]
         }
-    },
-    "required": [
-        "Class",
-        "FFGainCoefficient",
-        "FFOffCoefficient",
-        "ICoefficient",
-        "ILimitMax",
-        "ILimitMin",
-        "Inputs",
-        "Name",
-        "OutLimitMax",
-        "OutLimitMin",
-        "PCoefficient",
-        "SlewNeg",
-        "SlewPos",
-        "Type",
-        "Zones"
-    ]
+    }
 }