{
  "$schema": "http://json-schema.org/schema",
  "$id": "SchematicsABPModuleTemplateCreator",
  "title": "ABP Module Template Generator API Schema",
  "type": "object",
  "properties": {
    "packageName": {
      "description": "The name of the package will create",
      "type": "string",
      "$default": {
        "$source": "argv",
        "index": 0
      },
      "x-prompt": "Please enter the package name will create"
    },
    "isSecondaryEntrypoint": {
      "description": "Is secondary entrypoint",
      "type": "boolean",
      "$default": {
        "$source": "argv",
        "index": 1
      },
      "x-prompt": "Is secondary entrypoint?"
    },
    "templateType": {
      "type": "string",
      "description": "Type of the template",
      "enum": ["module", "standalone"],
      "x-prompt": {
        "message": "Select the type of template to generate:",
        "type": "list",
        "items": [
          { "value": "module", "label": "Module Template" },
          { "value": "standalone", "label": "Standalone Template" }
        ]
      }
    },
    "override": {
      "description": "Override existing files",
      "type": "boolean",
      "$default": {
        "$source": "argv",
        "index": 4
      },
      "x-prompt": "Override existing files?"
    }
  },
  "required": []
}
