{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "SchematicsAngularStore",
  "title": "Angular Store Schema",
  "cli": "nx",
  "type": "object",
  "description": "Creates a new, generic Angular store definition in the given or default project.",
  "additionalProperties": false,
  "properties": {
    "path": {
      "type": "string",
      "format": "path",
      "description": "The path at which to create the store file, relative to the selected project (/src/(lib|app)/<relative_path>) or relative to workspace (<root_workspace>/<relative_path>).",
      "visible": false
    },
    "project": {
      "type": "string",
      "description": "The name of the project.",
      "x-dropdown": "projects"
    },
    "name": {
      "type": "string",
      "description": "The name of the store.",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use for the store?"
    }
  },
  "required": [
    "name",
    "project"
  ]
}