{
  "type": "object",
  "properties": {
    "loadConf": {
      "type": "object",
      "properties": {
        "type": {
          "const": "Time",
          "type": "string"
        },
        "lead": {
          "type": "number"
        },
        "lag": {
          "type": "number"
        },
        "leadUnit": {
          "$ref": "#/definitions/DweenTimeUnit"
        },
        "lagUnit": {
          "$ref": "#/definitions/DweenTimeUnit"
        },
        "alignUnit": {
          "enum": [
            "DAYS",
            "HALFHOUR",
            "HOURS",
            "MILLIS",
            "MINUTES",
            "MONTHS",
            "SECONDS",
            "WEEKS",
            "YEARS"
          ],
          "type": "string"
        }
      },
      "required": [
        "alignUnit",
        "lag",
        "lagUnit",
        "leadUnit"
      ]
    },
    "updateFrequency": {
      "type": "number"
    },
    "kp": {
      "type": "string"
    },
    "ki": {
      "type": "string"
    },
    "kd": {
      "type": "string"
    },
    "delta": {
      "type": "string"
    },
    "min": {
      "type": "string"
    },
    "max": {
      "type": "string"
    },
    "controlVariable": {
      "type": "string"
    },
    "setPoint": {
      "type": "string"
    },
    "manipulatedVariable": {
      "type": "string"
    },
    "kall": {
      "type": "string"
    }
  },
  "required": [
    "controlVariable",
    "delta",
    "kall",
    "kd",
    "ki",
    "kp",
    "manipulatedVariable",
    "max",
    "min",
    "setPoint"
  ],
  "definitions": {
    "DweenTimeUnit": {
      "enum": [
        "DAYS",
        "HALFHOUR",
        "HOURS",
        "MILLIS",
        "MINUTES",
        "MONTHS",
        "SECONDS",
        "WEEKS",
        "YEARS"
      ],
      "type": "string"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}