{
  "scriptappy": "1.1.0",
  "info": {
    "name": "@nebula.js/sn-word-cloud:properties",
    "description": "Word cloud generic object definition",
    "version": "1.0.6",
    "license": "MIT",
    "stability": "stable",
    "x-qlik-visibility": "public"
  },
  "entries": {
    "properties": {
      "extends": [
        {
          "type": "GenericObjectProperties"
        }
      ],
      "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"
        },
        "ScaleColor": {
          "description": "Color scale to use",
          "kind": "array",
          "items": {
            "type": "string"
          }
        },
        "Orientations": {
          "description": "Number of orientations to use",
          "defaultValue": 2,
          "type": "number"
        },
        "MinSize": {
          "description": "Font size minimum",
          "defaultValue": 20,
          "type": "number"
        },
        "MaxSize": {
          "description": "Font size maximun",
          "defaultValue": 100,
          "type": "number"
        },
        "RadStart": {
          "description": "Rotation start in degrees",
          "type": "number"
        },
        "RadEnd": {
          "description": "Rotation end in degrees",
          "defaultValue": 90,
          "type": "number"
        },
        "Scale": {
          "description": "Scale type, linear or logarithmic",
          "defaultValue": "linear",
          "kind": "union",
          "items": [
            {
              "kind": "literal",
              "value": "'linear'"
            },
            {
              "kind": "literal",
              "value": "'log'"
            }
          ]
        },
        "customRange": {
          "description": "Use of a custom range",
          "optional": true,
          "defaultValue": false,
          "type": "boolean"
        },
        "customRangeFrom": {
          "description": "Custom coloring from color",
          "type": "#/definitions/PaletteColor"
        },
        "customRangeTo": {
          "description": "Custom coloring to color",
          "type": "#/definitions/PaletteColor"
        }
      },
      "kind": "object"
    }
  },
  "definitions": {
    "PaletteColor": {
      "description": "Color information structure. Holds the actual color and index in palette",
      "kind": "alias",
      "items": {
        "kind": "object",
        "entries": {
          "color": {
            "description": "Color as hex string (mandatory if index: -1)",
            "type": "string"
          },
          "index": {
            "description": "Index in palette",
            "type": "number"
          }
        }
      }
    }
  }
}