{
  "$schema": "http://json-schema.org/schema",
  "id": "workspace",
  "title": "Create an empty workspace",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Workspace name"
    },
    "directory": {
      "type": "string",
      "description": "The directory name to create the app in.",
      "alias": "dir"
    },
    "npmScope": {
      "type": "string",
      "description": "Npm scope for importing libs."
    },
    "skipInstall": {
      "description": "Skip installing dependency packages.",
      "type": "boolean",
      "default": false
    },
    "skipGit": {
      "description": "Skip initializing a git repository.",
      "type": "boolean",
      "default": false,
      "alias": "sg"
    },
    "commit": {
      "description": "Initial repository commit information.",
      "default": null,
      "oneOf": [
        { "type": "null" },
        {
          "type": "object",
          "properties": {
            "name": {
              "type": "string"
            },
            "email": {
              "type": "string",
              "format": "email"
            },
            "message": {
              "type": "string"
            }
          },
          "required": ["name", "email"]
        }
      ]
    },
    "prefix": {
      "type": "string",
      "description": "The prefix to apply to generated selectors.",
      "default": "app",
      "alias": "p"
    },
    "style": {
      "description": "The file extension to be used for style files.",
      "type": "string",
      "default": "css"
    },
    "minimal": {
      "description": "Should create a minimal app.",
      "type": "boolean",
      "default": false
    }
  },
  "required": ["name", "directory"]
}
