代码拉取完成,页面将自动刷新
同步操作将从 Yourtion/vue-json-ui-editor 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Json-Editor-Demo",
"description": "Demo for vue-json-ui-editor using element-ui ",
"properties": {
"name": {
"type": "string",
"minLength": 8,
"maxLength": 80,
"title": "String",
"attrs": {
"placeholder": "Your Full Name",
"title": "Please enter your full name"
}
},
"sub": {
"title": "SubTitle",
"description": "SubDescription",
"type": "object",
"properties": {
"sName": {
"minLength": 8,
"maxLength": 80,
"title": "SubName",
"attrs": {
"placeholder": "Sub Full Name",
"title": "Please enter your full name"
}
},
"sUrl": {
"title": "SubUrl",
"format": "uri"
},
"sub2": {
"type": "object",
"title": "Sub2Title",
"description": "Sub2Description",
"properties": {
"sName2": {
"format": "regex",
"title": "Sub2Name",
"pattern": "*"
},
"sAge": {
"type": "integer",
"title": "Sub2Age"
}
},
"required": [ "sName2" ]
}
},
"required": ["sUrl"]
},
"lists": {
"type": "string",
"title": "List",
"enum": ["Daily New", "Promotion"],
"attrs": {
"placeholder": "Select your list subscription",
"title": "Please select your list subscription"
}
},
"lists2": {
"type": "array",
"title": "List2",
"anyOf": [
{ "value": "daily", "label": "Daily New" },
{ "value": "promotion", "label": "Promotion" }
],
"attrs": {
"placeholder": "Select your list subscription",
"title": "Please select your list subscription"
}
},
"lists3": {
"type": "array",
"title": "List3",
"oneOf": [
{ "value": "daily", "label": "Daily New" },
{ "value": "promotion", "label": "Promotion" }
]
},
"source": {
"type": "string",
"maxLength": 120,
"title": "Source",
"description": "Ex. Using the NPM Search Engine",
"attrs": {
"type": "textarea",
"placeholder": "How did you hear about us?"
}
},
"rate": {
"type": "number",
"title": "Rate",
"default": 2,
"attrs": {
"type": "rate",
"allow-half": true
}
},
"color": {
"type": "string",
"title": "Color",
"default": "#409EFF",
"attrs": {
"type": "color"
}
},
"agree": {
"type": "boolean",
"title": "Agree",
"description": "You agree to receive occasional updates and special offers for vue-json-schema updates.",
"default": false,
"attrs": {
"type": "switch"
}
}
},
"additionalProperties": false,
"required": ["name", "email", "lists"]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。