{
  "$schema": "http://json-schema.org/schema",
  "$id": "component",
  "title": "Register a Kendo Angular component",
  "type": "object",
  "properties": {
    "path": {
      "type": "string",
      "format": "path",
      "$default": {
          "$source": "workingDirectory"
      },
      "description": "The path to create the component.",
      "visible": false
    },
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "$default": {
        "$source": "projectName"
      }
    },
    "package": {
      "description": "Package name to register.",
      "type": "string"
    },
    "mainNgModule": {
      "description": "The main NgModule for the package.",
      "type": "string"
    },
    "module":  {
      "type": "string",
      "description": "Allows specification of the declaring module.",
      "alias": "m"
    },
    "export": {
      "type": "boolean",
      "default": false,
      "description": "Specifies if declaring module exports the component."
    },
    "skipInstall": {
      "description": "Skip installing Kendo dependency packages.",
      "type": "boolean",
      "default": false
    },
    "theme": {
      "description": "Register Kendo theme.",
      "enum": ["default", "bootstrap", "material"],
      "type": "string"
    },
    "dependencies": {
      "description": "Additional dependencies to import.",
      "default": [],
      "type": "array"
    },
    "peerDependencies": {
      "description": "Additional packages to install as dependencies.",
      "default": {},
      "type": "object"
    }
  },
  "required": [
    "package",
    "mainNgModule"
  ]
}
