{
  "$schema": "http://json-schema.org/draft-07/schema",
  "$id": "SchematicsAngularWorkspace",
  "title": "Elastic Path Commerce Cloud Storefront Workspace Options Schema",
  "description": "Initializes an empty workspace and adds the necessary dependencies required by an Elastic Path Commerce Cloud Storefront.",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "name": {
      "description": "The name of the workspace.",
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      }
    },
    "epccClientId": {
      "description": "The client id value for an Elastic Path Commerce Cloud store.",
      "type": "string",
      "visible": "false"
    },
    "epccClientSecret": {
      "description": "The client secret value for an Elastic Path Commerce Cloud store.",
      "type": "string",
      "visible": "false"
    },
    "epccEndpointUrl": {
      "description": "The geographical endpoint url for an Elastic Path Commerce Cloud store.",
      "type": "string",
      "visible": "false"
    },
    "cookiePrefixKey": {
      "description": "The prefix used for the cookie name of the implicit token",
      "type": "string",
      "visible": "false",
      "default": "_store"
    },
    "tests": {
      "description": "Create a workspace with testing framework.",
      "type": "boolean",
      "default": true
    }
  },
  "required": [
    "name",
    "epccClientId",
    "epccClientSecret",
    "epccEndpointUrl"
  ]
}