JSON Template

A JSON Template for class and classification importation

{
  "classes": [
    {
      "name": "Template class name",
      "alias": "template",
      "color": "#7dfaf2",
      "number": 1,
      "toolType": "CUBOID",
      "toolTypeOptions": {
        "defaultHeight": "",
        "isConstraints": true,
        "minHeight": "2",
        "minPoints": "1200"
      },
      "attributes": [
        {
          "name": "attribute name 1",
          "options": [
            {
              "attributes": [],
              "name": "option name"
            }
          ],
          "required": false,
          "type": "RADIO"
        },
        {
          "name": "attribute name 2",
          "options": [
            {
              "attributes": [],
              "name": "option name"
            }
          ],
          "required": false,
          "type": "MULTI_SELECTION"
        },
        {
          "name": "attribute name 3",
          "options": [
            {
              "attributes": [],
              "name": "option name"
            }
          ],
          "required": false,
          "type": "DROPDOWN"
        }
      ],
      "tags": [
        "tag1"
      ]
    }
  ],
  "classifications": [
    {
      "name": "Template classification name",
      "alias": "template",
      "isRequired": 0,
      "inputType": "RADIO",
      "options": [
        {
          "attributes": [],
          "name": "option name 1"
        },
        {
          "attributes": [
            {
              "name": "attribute name",
              "options": [
                {
                  "attributes": [],
                  "name": "option name"
                }
              ],
              "required": false,
              "type": "RADIO"
            }
          ],
          "name": "option name 2"
        }
      ],
      "tags": [
        "tag1"
      ]
    }
  ]
}