amis/schemas/form/repeat.json
2020-05-27 14:57:40 +08:00

63 lines
2.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$id": "https://houtai.baidu.com/v2/schemas/form/repeat.json#",
"$schema": "http://json-schema.org/draft-07/schema#",
"allOf": [
{
"$ref": "https://houtai.baidu.com/v2/schemas/form/repeat.json#/definitions/common"
},
{
"additionalProperties": false,
"patternProperties": {
"^(\\$ref|options|name|value|placeholder|label|remark|labelRemark|desc|description|inline|mode|horizontal|className|labelClassName|inputClassName|descriptionClassName|validations|validationErrors|validateOnChange|submitOnChange|disabled|disabledOn|visible|visibleOn|hidden|hiddenOn|required)$": {}
},
"properties": {
"$schema": {
"format": "uri",
"type": "string",
"description": "绑定 JSON 格式说明,可忽略!"
},
"type": {
"const": "repeat",
"description": "指定为周期框类型"
}
},
"required": [
"type"
],
"type": "object"
}
],
"definitions": {
"common": {
"description": "Text文本框格式说明",
"allOf": [
{
"$ref": "https://houtai.baidu.com/v2/schemas/form.json#/definitions/item"
},
{
"properties": {
"$ref": {
"$ref": "https://houtai.baidu.com/v2/schemas/page.json#/definitions/$ref",
"description": "引用页面中的定义"
},
"options": {
"default": "hourly,daily,weekly,monthly",
"description": "配置周期参数支持secondly,minutely,hourly,daily,weekdays,weekly,monthly,yearly",
"type": "string"
}
},
"type": "object"
}
]
},
"test": {
"properties": {
"type": {
"const": "repeat"
}
}
}
},
"description": "Text文本框格式说明",
"type": "object"
}