{
  "$schema": "http://json-schema.org/schema",
  "$id": "SchematicsPOPageEdit",
  "title": "Page Edit Options Schema",
  "type": "object",
  "properties": {
    "style": {
      "description": "The file extension or preprocessor to use for style files.",
      "type": "string",
      "default": "css"
    },
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "$default": {
        "$source": "projectName"
      }
    },
    "routing": {
      "type": "boolean",
      "description": "When true, creates a routing module.",
      "default": false
    },
    "createModule": {
      "type": "boolean",
      "description": "When true, create a component module.",
      "default": false
    },
    "name": {
      "type": "string",
      "description": "The name to use for the component",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the component?"
    },
    "skipTests": {
      "description": "When true, does not create \"spec.ts\" test files for the app.",
      "type": "boolean",
      "default": false,
      "alias": "S",
      "x-user-analytics": 12
    },
    "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.",
      "alias": "p",
      "oneOf": [
        {
          "maxLength": 0
        },
        {
          "minLength": 1,
          "format": "html-selector"
        }
      ]
    }
  },
  "required": ["name"]
}
