Rename all properties to UpperCamelCase

Upstream dbus standard is UpperCamelCase, start matching and
check in json schema to start failing builds that don't match.

Change-Id: I2d2c6fec5a5a0b07c88c843257fa7c88d420c4e5
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/schemas/global.json b/schemas/global.json
new file mode 100644
index 0000000..ab87394
--- /dev/null
+++ b/schemas/global.json
@@ -0,0 +1,307 @@
+{
+    "$schema": "http://json-schema.org/schema#",
+    "anyOf": [
+        {
+            "type": "array",
+            "items": {
+                "type": "object",
+                "properties": {
+                    "Exposes": {
+                        "type": "array",
+                        "items": {
+                            "type": "object",
+                            "properties": {
+                                "Address": {
+                                    "type": "string"
+                                },
+                                "Bus": {
+                                    "type": "string"
+                                },
+                                "Name": {
+                                    "type": "string"
+                                },
+                                "Thresholds": {
+                                    "type": "array",
+                                    "items": {
+                                        "type": "object",
+                                        "properties": {
+                                            "Direction": {
+                                                "type": "string"
+                                            },
+                                            "Name": {
+                                                "type": "string"
+                                            },
+                                            "Severity": {
+                                                "type": "integer"
+                                            },
+                                            "Value": {
+                                                "type": "integer"
+                                            }
+                                        },
+                                        "required": [
+                                            "Direction",
+                                            "Name",
+                                            "Severity",
+                                            "Value"
+                                        ]
+                                    }
+                                },
+                                "Type": {
+                                    "type": "string"
+                                }
+                            },
+                            "required": [
+                                "Address",
+                                "Bus",
+                                "Name",
+                                "Type"
+                            ]
+                        }
+                    },
+                    "Name": {
+                        "type": "string"
+                    },
+                    "Probe": {
+                        "type": "string"
+                    },
+                    "xyz.openbmc_project.Inventory.Decorator.Asset": {
+                        "type": "object",
+                        "properties": {
+                            "Manufacturer": {
+                                "type": "string"
+                            },
+                            "Model": {
+                                "type": "string"
+                            },
+                            "PartNumber": {
+                                "type": "string"
+                            },
+                            "SerialNumber": {
+                                "type": "string"
+                            }
+                        },
+                        "required": [
+                            "Manufacturer",
+                            "Model",
+                            "PartNumber",
+                            "SerialNumber"
+                        ]
+                    },
+                    "Type": {
+                        "type": "string"
+                    }
+                },
+                "required": [
+                    "Exposes",
+                    "Name",
+                    "Probe",
+                    "xyz.openbmc_project.Inventory.Decorator.Asset"
+                ]
+            }
+        },
+        {
+            "type": "object",
+            "properties": {
+                "Exposes": {
+                    "type": "array",
+                    "items": {
+                        "type": "object",
+                        "properties": {
+                            "Address": {
+                                "type": "string"
+                            },
+                            "Name": {
+                                "type": "string"
+                            },
+                            "Type": {
+                                "type": "string"
+                            },
+                            "Bus": {
+                                "type": [
+                                    "integer",
+                                    "string"
+                                ]
+                            },
+                            "Thresholds": {
+                                "type": "array",
+                                "items": {
+                                    "type": "object",
+                                    "properties": {
+                                        "Direction": {
+                                            "type": "string"
+                                        },
+                                        "Name": {
+                                            "type": "string"
+                                        },
+                                        "Severity": {
+                                            "type": "integer"
+                                        },
+                                        "Value": {
+                                            "type": "number"
+                                        },
+                                        "Label": {
+                                            "type": "string"
+                                        }
+                                    },
+                                    "required": [
+                                        "Direction",
+                                        "Name",
+                                        "Severity",
+                                        "Value"
+                                    ]
+                                }
+                            },
+                            "BindConnector": {
+                                "type": "string"
+                            },
+                            "Index": {
+                                "type": "integer"
+                            },
+                            "Class": {
+                                "type": "string"
+                            },
+                            "FFGainCoefficient": {
+                                "type": "number"
+                            },
+                            "FFOffCoefficient": {
+                                "type": "number"
+                            },
+                            "ICoefficient": {
+                                "type": "number"
+                            },
+                            "ILimit": {
+                                "type": "object",
+                                "properties": {
+                                    "Max": {
+                                        "type": "number"
+                                    },
+                                    "Min": {
+                                        "type": "number"
+                                    }
+                                },
+                                "required": [
+                                    "Max",
+                                    "Min"
+                                ]
+                            },
+                            "Inputs": {
+                                "type": "array",
+                                "items": {
+                                    "type": "string"
+                                }
+                            },
+                            "OutLimit": {
+                                "type": "object",
+                                "properties": {
+                                    "Max": {
+                                        "type": "number"
+                                    },
+                                    "Min": {
+                                        "type": "number"
+                                    }
+                                },
+                                "required": [
+                                    "Max",
+                                    "Min"
+                                ]
+                            },
+                            "PCoefficient": {
+                                "type": "number"
+                            },
+                            "SetPoint": {
+                                "type": "number"
+                            },
+                            "SlewNeg": {
+                                "type": "number"
+                            },
+                            "SlewPos": {
+                                "type": "number"
+                            },
+                            "MinThermalRpm": {
+                                "type": "integer"
+                            },
+                            "FailSafePercent": {
+                                "type": "integer"
+                            },
+                            "present": {
+                                "type": "integer"
+                            },
+                            "Pwm": {
+                                "type": "integer"
+                            },
+                            "Status": {
+                                "type": "string"
+                            },
+                            "Tachs": {
+                                "type": "array",
+                                "items": {
+                                    "type": "integer"
+                                }
+                            },
+                            "Name1": {
+                                "type": "string"
+                            },
+                            "ScaleFactor": {
+                                "type": "number"
+                            },
+                            "CpuID": {
+                                "type": "integer"
+                            }
+                        },
+                        "required": [
+                            "Name",
+                            "Type"
+                        ]
+                    }
+                },
+                "Name": {
+                    "type": "string"
+                },
+                "Probe": {
+                    "anyOf": [
+                        {
+                            "type": "string"
+                        },
+                        {
+                            "type": "array",
+                            "items": {
+                                "type": "string"
+                            }
+                        }
+                    ]
+                },
+                "xyz.openbmc_project.Inventory.Decorator.Asset": {
+                    "type": "object",
+                    "properties": {
+                        "Manufacturer": {
+                            "type": "string"
+                        },
+                        "Model": {
+                            "type": "string"
+                        },
+                        "PartNumber": {
+                            "type": "string"
+                        },
+                        "SerialNumber": {
+                            "type": "string"
+                        }
+                    },
+                    "required": [
+                        "Manufacturer",
+                        "Model",
+                        "PartNumber",
+                        "SerialNumber"
+                    ]
+                },
+                "Type": {
+                    "type": "string"
+                }
+            },
+            "required": [
+                "Exposes",
+                "Name",
+                "Probe"
+            ]
+        }
+    ]
+}