{
  "scriptappy": "1.1.0",
  "info": {
    "name": "@nebula.js/sn-mekko-chart:properties",
    "description": "Mekko chart generic object definition",
    "version": "1.4.7",
    "license": "MIT",
    "stability": "stable",
    "x-qlik-visibility": "public"
  },
  "entries": {
    "properties": {
      "extends": [
        {
          "type": "EngineAPI.GenericObjectProperties"
        }
      ],
      "kind": "object",
      "entries": {
        "version": {
          "description": "Current version of this generic object definition",
          "type": "string"
        },
        "qHyperCubeDef": {
          "description": "Extends `HyperCubeDef`, see Engine API: `HyperCubeDef`.",
          "extends": [
            {
              "type": "EngineAPI.HyperCubeDef"
            }
          ],
          "kind": "object",
          "entries": {
            "qSuppressZero": {
              "defaultValue": true,
              "type": "boolean"
            },
            "qSuppressMissing": {
              "defaultValue": true,
              "type": "boolean"
            }
          }
        },
        "showTitles": {
          "description": "Show title for the visualization.",
          "optional": true,
          "defaultValue": true,
          "type": "boolean"
        },
        "title": {
          "description": "Visualization title.",
          "optional": true,
          "defaultValue": "",
          "kind": "union",
          "items": [
            {
              "type": "string"
            },
            {
              "type": "EngineAPI.StringExpression"
            }
          ]
        },
        "subtitle": {
          "description": "Visualization subtitle.",
          "optional": true,
          "defaultValue": "",
          "kind": "union",
          "items": [
            {
              "type": "string"
            },
            {
              "type": "EngineAPI.StringExpression"
            }
          ]
        },
        "footnote": {
          "description": "Visualization footnote.",
          "optional": true,
          "defaultValue": "",
          "kind": "union",
          "items": [
            {
              "type": "string"
            },
            {
              "type": "EngineAPI.StringExpression"
            }
          ]
        },
        "cellColor": {
          "kind": "object",
          "entries": {
            "byDimension": {
              "optional": true,
              "defaultValue": "byDimensionConfig",
              "type": "#/definitions/byDimensionConfig"
            },
            "mode": {
              "defaultValue": "auto",
              "kind": "union",
              "items": [
                {
                  "kind": "literal",
                  "value": "'auto'"
                },
                {
                  "kind": "literal",
                  "value": "'byDimension'"
                }
              ]
            },
            "legend": {
              "type": "#/definitions/legendConfig"
            }
          }
        }
      }
    }
  },
  "definitions": {
    "legendConfig": {
      "entries": {
        "show": {
          "defaultValue": "auto",
          "kind": "union",
          "items": [
            {
              "type": "boolean"
            },
            {
              "kind": "literal",
              "value": "'auto'"
            }
          ]
        },
        "showTitle": {
          "defaultValue": true,
          "type": "boolean"
        }
      },
      "kind": "object"
    },
    "byDimensionConfig": {
      "description": "Configuration object for when mode is set to `byDimension`",
      "entries": {
        "type": {
          "kind": "union",
          "items": [
            {
              "kind": "literal",
              "value": "'index'"
            },
            {
              "kind": "literal",
              "value": "'libraryId'"
            },
            {
              "kind": "literal",
              "value": "'expression'"
            }
          ]
        },
        "typeValue": {
          "kind": "union",
          "items": [
            {
              "type": "number"
            },
            {
              "type": "string"
            }
          ]
        },
        "label": {
          "optional": true,
          "kind": "union",
          "items": [
            {
              "type": "string"
            },
            {
              "type": "EngineAPI.StringExpression"
            }
          ]
        },
        "persistent": {
          "optional": true,
          "defaultValue": false,
          "type": "boolean"
        },
        "scheme": {
          "optional": true,
          "defaultValue": "",
          "type": "string"
        }
      },
      "kind": "object"
    }
  }
}