{
  "type": "object",
  "properties": {
    "content": {
      "type": "string"
    },
    "htmlContent": {
      "type": "string"
    },
    "height": {
      "type": "number"
    },
    "useHTMLCode": {
      "type": "boolean"
    },
    "variables": {
      "type": "array",
      "items": {
        "$ref": "#/definitions/FreeTextDateVariable"
      }
    },
    "theme": {
      "enum": [
        "dark",
        "light",
        "transparent"
      ],
      "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"
    }
  },
  "definitions": {
    "FreeTextDateVariable": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "offset": {
          "type": "number"
        },
        "offsetUnit": {
          "enum": [
            "DAYS",
            "HALFHOUR",
            "HOURS",
            "MILLIS",
            "MINUTES",
            "MONTHS",
            "SECONDS",
            "WEEKS",
            "YEARS"
          ],
          "type": "string"
        },
        "truncateTo": {
          "enum": [
            "DAYS",
            "HALFHOUR",
            "HOURS",
            "MILLIS",
            "MINUTES",
            "MONTHS",
            "SECONDS",
            "WEEKS",
            "YEARS"
          ],
          "type": "string"
        },
        "format": {
          "type": "string"
        }
      },
      "required": [
        "name"
      ]
    },
    "JSJoda.Instant": {
      "type": "object"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}