{
    "$schema": "http://json-schema.org/schema",
    "$id": "LoremGenerator",
    "title": "Lorem_xxx components tree generator",
    "type": "object",
    "properties": {
        "name": {
            "type": "string",
            "description": "component name",
            "$default": {
                "$source": "argv",
                "index": 0
            },
            "x-prompt": "What component file/dir name prefix would you like to use?"
        },
        "project": {
            "type": "string",
            "description": "project for component",
            "x-prompt": "What project to add the component?",
            "$default": {
                "$source": "argv",
                "index": 1
            }
        },
        "text": {
            "type": "string",
            "description": "String content within component. Lorem ipsum text would be generated if leave blank",
            "x-prompt": "What text to inject into the component?  ",
            "default": ""
        },
        "depth": {
            "type": "number",
            "description": "lorem components dependencies tree depth",
            "x-prompt": "what max inclusion level for lorem components dependencies tree",
            "default": 4
        },
        "paragraphs": {
            "type": "number",
            "description": "Number of paragraphs in lorem ipsum generated text. It defines the source size of single component",
            "x-prompt": "How many  lorem ipsum paragraphs to generate in component text",
            "default": 16
        }
    },
    "required": ["name", "project"]
}
