mili
Version:
Scaffolding with continuous control over the development of the project.
88 lines (87 loc) • 1.63 kB
JSON
{
"type": "array",
"items": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"input",
"number",
"confirm",
"list",
"rawlist",
"expand",
"checkbox",
"password",
"editor"
]
},
"name": {
"type": "string"
},
"message": {
"type": "string"
},
"default": {
"oneOf": [
{
"type": "string"
},
{
"type": "boolean"
},
{
"type": "number"
},
{
"type": "array"
}
]
},
"choices": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "object",
"properties": {
"name": {
"type": "string"
},
"short": {
"type": "string"
},
"value": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
}
]
}
}
}
]
}
},
"loop": {
"type": "boolean"
},
"schema": {},
"when": {}
},
"required": [
"name",
"type"
]
}
}