{
  "$schema": "https://json-schema.org/draft-07/schema#",
  "$id": "Project",
  "title": "Project generator schema",
  "type": "object",
  "properties": {
    "directory": {
      "type": "string",
      "description": "Project directory",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "What directory would you like to use?"
    },
    "projectType": {
      "type": "string",
      "description": "Project projectType",
      "enum": ["lib", "api", "prisma", "cli"],
      "$default": {
        "$source": "argv",
        "index": 1
      },
      "x-prompt": "What projectType would you like to use?"
    },
    "orgName": {
      "type": "string",
      "description": "Organization name",
      "$default": {
        "$source": "argv",
        "index": 2
      },
      "x-prompt": "What organization name would you like to use?"
    },
    "repoName": {
      "type": "string",
      "description": "Repository name",
      "$default": {
        "$source": "argv",
        "index": 3
      },
      "x-prompt": "What repository name would you like to use?"
    },
    "homePageUrl": {
      "type": "string",
      "description": "Documentation homepage url",
      "$default": {
        "$source": "argv",
        "index": 4
      },
      "x-prompt": "What is the homepage url for documentation website?"
    },
    "email": {
      "type": "string",
      "description": "Author email address",
      "$default": {
        "$source": "argv",
        "index": 5
      },
      "x-prompt": "What is the auther email address url for documentation website?"
    },
    "fundingUrl": {
      "type": "string",
      "description": "Funding url",
      "$default": {
        "$source": "argv",
        "index": 6
      },
      "x-prompt": "What is the funding url?"
    },
    "authorName": {
      "type": "string",
      "description": "Funding url",
      "$default": {
        "$source": "argv",
        "index": 7
      },
      "x-prompt": "What is the author name?"
    },
    "workspaceVersion": {
      "type": "string",
      "description": "Vnodes workspace version",
      "$default": {
        "$source": "argv",
        "index": 8
      },
      "x-prompt": "What is the current version of vnodes packages?"
    }
  },
  "required": ["directory", "projectType", "orgName", "repoName", "homePageUrl", "email", "fundingUrl", "authorName", "workspaceVersion"]
}
