{
  "$schema": "http://json-schema.org/schema",
  "$id": "NextjsClientTemplate",
  "title": "",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What name would you like to use?"
    },
    "tags": {
      "type": "string",
      "description": "Add tags to the project (used for linting)",
      "alias": "t"
    },
    "directory": {
      "type": "string",
      "description": "A directory where the project is placed",
      "alias": "d"
    },
    "isCnaTemplate": {
      "type": "boolean",
      "description": "Build create react application template",
      "default": false
    },
    "isDefaultCnaTemplate": {
      "type": "boolean",
      "description": "Build create nextjs client application template with custom",
      "default": false
    },
    "designTokenProject": {
      "type": "string",
      "description": "The name of the design token project.",
      "alias": "dtp",
      "$default": {
        "$source": "projectName"
      },
      "x-prompt": "What is the name of the design token project?"
    },
    "designSystemProject": {
      "type": "string",
      "description": "The name of the design system project.",
      "alias": "dsp",
      "$default": {
        "$source": "projectName"
      },
      "x-prompt": "What is the name of the design system project?"
    },
    "style": {
      "description": "The file extension to be used for style files.",
      "type": "string",
      "default": "css",
      "alias": "s",
      "x-prompt": {
        "message": "Which stylesheet format would you like to use?",
        "type": "list",
        "items": [
          {
            "value": "css",
            "label": "CSS"
          },
          {
            "value": "scss",
            "label": "SASS(.scss)       [ http://sass-lang.com          ]"
          },
          {
            "value": "styl",
            "label": "Stylus(.styl)     [ http://stylus-lang.com        ]"
          },
          {
            "value": "less",
            "label": "LESS              [ http://lesscss.org            ]"
          },
          {
            "value": "styled-components",
            "label": "styled-components [ https://styled-components.com ]"
          },
          {
            "value": "@emotion/styled",
            "label": "emotion           [ https://emotion.sh            ]"
          },
          {
            "value": "styled-jsx",
            "label": "styled-jsx        [ https://www.npmjs.com/package/styled-jsx ]"
          }
        ]
      }
    }
  },
  "required": [
    "name",
    "designTokenProject",
    "designSystemProject"
  ]
}
