{
  "type": "object",
  "properties": {
    "identifier": {
      "type": "string"
    },
    "config": {
      "$ref": "#/definitions/IDataConfigLocal"
    },
    "tooltipType": {
      "enum": [
        "CUSTOM_TEXT",
        "CUSTOM_TEXT_DATE",
        "DATE",
        "TITLE",
        "TITLE_DATE"
      ],
      "type": "string"
    },
    "useTooltip": {
      "type": "boolean"
    },
    "tooltip": {
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "reportOptions": {
      "$ref": "#/definitions/ReportOptions"
    },
    "reportMode": {
      "type": "boolean"
    },
    "stateCb": {
      "type": "object"
    },
    "calendarType": {
      "const": "CALENDAR_445",
      "type": "string"
    },
    "hideHeader": {
      "type": "boolean"
    },
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "referenceTime": {
      "type": "string"
    },
    "instantFrom": {
      "$ref": "#/definitions/JSJoda.Instant"
    },
    "instantTo": {
      "$ref": "#/definitions/JSJoda.Instant"
    },
    "instantReferenceTime": {
      "$ref": "#/definitions/JSJoda.Instant"
    },
    "theme": {
      "enum": [
        "dark",
        "light",
        "transparent"
      ],
      "type": "string"
    }
  },
  "required": [
    "identifier"
  ],
  "definitions": {
    "IDataConfigLocal": {
      "type": "object",
      "properties": {
        "alignStartTo": {
          "enum": [
            "DAYS",
            "HALFHOUR",
            "HOURS",
            "MILLIS",
            "MINUTES",
            "MONTHS",
            "SECONDS",
            "WEEKS",
            "YEARS"
          ],
          "type": "string"
        },
        "timeOffset": {
          "type": "number"
        },
        "timeOffsetUnits": {
          "enum": [
            "DAYS",
            "HALFHOUR",
            "HOURS",
            "MILLIS",
            "MINUTES",
            "MONTHS",
            "SECONDS",
            "WEEKS",
            "YEARS"
          ],
          "type": "string"
        },
        "dataFrequency": {
          "type": "string"
        },
        "updateFrequency": {
          "type": "number"
        },
        "maxHeight": {
          "type": "number"
        },
        "displayNote": {
          "type": "boolean"
        },
        "note": {
          "type": "string"
        },
        "hideUpdateButton": {
          "type": "boolean"
        }
      }
    },
    "ReportOptions": {
      "type": "object",
      "properties": {
        "fontSize": {
          "type": "string"
        }
      }
    },
    "JSJoda.Instant": {
      "type": "object"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}