{
  "$schema": "http://json-schema.org/schema",
  "$id": "GioComponentWithForm",
  "title": "A Component with a card and a form",
  "type": "object",
  "properties": {
    "module": {
      "type": "string",
      "description": "The declaring NgModule."
    },
    "name": {
      "type": "string",
      "description": "The name of the component.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the component?"
    },
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path at which to create the component file, relative to the current workspace. Default is a folder with the same name as the component in the project root.",
      "visible": false
    },
    "prefix": {
      "type": "string",
      "description": "The prefix to apply to the generated component selector.",
      "oneOf": [
        {
          "maxLength": 0
        },
        {
          "minLength": 1,
          "format": "html-selector"
        }
      ]
    },
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "$default": {
        "$source": "projectName"
      }
    },
    "selector": {
      "type": "string",
      "format": "html-selector",
      "description": "The HTML selector to use for this component."
    },
    "skipImport": {
      "type": "boolean",
      "description": "Do not import this component into the owning NgModule.",
      "default": false
    },
    "skipStories": {
      "type": "boolean",
      "description": "Do not create \"stories.ts\" storybook file for the new component.",
      "default": false
    }
  },
  "required": ["name"]
}
