{
    "widgets" : [
        {
            "name" : "widgetName" ,
            "question" : "Enter Widget Name",
            "question_info" : {
                "type": "input",
                "defaultAns": "sample" 
            }
        },
        {
            "name" : "apiName" ,
            "question" : "Enter Widget Api Name",
            "question_info" : {
                "type": "input",
                "defaultAns": "sample" 
            }
        },
        {
            "name" : "widgetDescription" ,
            "question" : "Enter Widget Description",
            "question_info" : {
                "type": "input",
                "defaultAns": "Created By ZDK" 
            }
        },
        {
            "name" : "widgetType" ,
            "question" : "Select Widget Type",
            "type": "list",
            "choices" : [
                {"name":"Web tab",
                "value": "WEBTAB"},
                {"name": "Related List",
                "value" : "RELATED_LIST"},
                {"name": "Custom Button",
                "value" : "CUSTOM_BUTTON"},
                {"name": "Settings",
                "value" : "SETUP_PAGE"},
                {"name": "Home Page DashBoard",
                "value" : "HOME_PAGE_DASHBOARD"},
                {"name": "Wizard",
                "value" : "WIZARD"},
                {"name" : "Blueprint",
                "value" : "BLUEPRINT"}  
            ]
        }
        ,
        {
            "name" : "hosting",
            "question" : "Select Hosting type",
            "type" : "list",
            "choices" : [
                {"name" : "Internal","value" : "Internal"},
                {"name" : "External","value" : "External"}
            ]
        },
        {
            "name" : "baseUrl" ,
            "message" : "Enter Base Url",
            "type": "input",
            "defaultAns": "https://www.google.com",
            "when": "(answer)=> (answer.hosting == \"External\")"
            
        }
    ],

    "modules" : [ 
        {
            "name" : "singularLabel",
            "message" : "Enter Singular Label",
            "type" : "input"
        },
        {
            "name" : "pluralLabel",
            "message" : "Enter Plural Label",
            "type" : "input"
        },
        {
            "name" : "apiName" ,
            "question" : "Enter Module Api Name",
            "type": "input"
        },
        {
            "name" : "profiles",
            "message" : "Enter the list of Profiles to be associated with modules",
            "type" : "input"
        }
    ],
    "fields" : [
        {
            "name" : "moduleName",
            "message" : "Enter module ApiName",
            "type" : "input"
        },
        {
            "name" : "fieldName",
            "message" : "Enter field name",
            "type" : "input"
        },
        {
            "name" : "apiName" ,
            "question" : "Enter field Api Name",
            "type": "input"
        },
        {
            "name" : "dataType",
            "message" : "Enter Data type",
            "type" : "input"
        }
    ],
    "layouts" : [
        {
            "name" : "moduleName",
            "message" : "Enter module ApiName",
            "type" : "input"
        },
        {
            "name" : "layoutName",
            "message" : "Enter Layout Name",
            "type" : "input"
        },
        {
            "name" : "apiName" ,
            "question" : "Enter Layout Api Name",
            "type": "input"
        },
        {
            "name" : "layoutProfiles",
            "message" : "Enter the list of Profiles to be associated with layout",
            "type" : "input"
        }
    ],
    "profiles" : [
        {
            "name" : "profileName",
            "message" : "Enter Profile Name",
            "type" : "input"
        },
        {
            "name" : "apiName" ,
            "question" : "Enter Profile Api Name",
            "type": "input"
        },
        {
            "name" : "description",
            "message" : "Enter Profile Description",
            "type" : "input"
        }
    ],
    "roles" : [ 
        {
            "name" : "roleName",
            "message" : "Enter Role Name",
            "type" : "input"
        },
        {
            "name" : "apiName" ,
            "question" : "Enter Role Api Name",
            "type": "input"
        },
        {
            "name" : "description",
            "message" : "Enter Role Description",
            "input" : "input"
        },
        {
            "name" : "reporting_toRole",
            "message" : "Enter the Reporting To",
            "type" : "input"
        }
    ]
}