{
    "$schema": "http://json-schema.org/schema",
    "id": "SchematicsAngularWithBarrelComponent",
    "title": "Angular Component With Barrel",
    "type": "object",
    "properties": {
      "path": {
        "type": "string",
        "format": "path",
        "description": "The path to create the component.",
        "visible": false,
        "default": "src/app"
      },
      "project": {
        "type": "string",
        "description": "The name of the project.",
        "visible": false
      },
      "name": {
        "type": "string",
        "description": "The name of the component.",
        "$default": {
          "$source": "argv",
          "index": 0
        }
      },
      "inlineStyle": {
        "description": "Specifies if the style will be in the ts file.",
        "type": "boolean",
        "default": false,
        "alias": "s"
      },
      "inlineTemplate": {
        "description": "Specifies if the template will be in the ts file.",
        "type": "boolean",
        "default": false,
        "alias": "t"
      },
      "viewEncapsulation": {
        "description": "Specifies the view encapsulation strategy.",
        "enum": ["Emulated", "Native", "None"],
        "type": "string",
        "alias": "v"
      },
      "prefix": {
        "type": "string",
        "format": "html-selector",
        "description": "The prefix to apply to generated selectors.",
        "alias": "p"
      },
      "styleext": {
        "description": "The file extension to be used for style files.",
        "type": "string",
        "default": "scss"
      },
      "spec": {
        "type": "boolean",
        "description": "Specifies if a spec file is generated.",
        "default": true
      },
      "flat": {
        "type": "boolean",
        "description": "Flag to indicate if a dir is created.",
        "default": false
      },
      "skipImport": {
        "type": "boolean",
        "description": "Flag to skip the module import.",
        "default": false
      },
      "selector": {
        "type": "string",
        "format": "html-selector",
        "description": "The selector to use for the component."
      },
      "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."
      }
    },
    "required": []
  }
