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

57 lines
1.8 KiB
JSON

{
"$id": "https://houtai.baidu.com/v2/schemas/divider.json#",
"$schema": "http://json-schema.org/draft-07/schema#",
"allOf": [
{
"$ref": "https://houtai.baidu.com/v2/schemas/divider.json#/definitions/common"
},
{
"additionalProperties": false,
"dependencies": {},
"patternProperties": {
"^(\\$ref|className|type)$": {}
},
"properties": {
"$schema": {
"format": "uri",
"type": "string",
"description": "绑定 JSON 格式说明,可忽略!"
},
"type": {
"description": "指定为分隔符",
"const": "divider",
"type": "string"
}
},
"required": [
"type"
]
}
],
"definitions": {
"common": {
"description": "AMis plain 渲染器格式说明。",
"properties": {
"$ref": {
"$ref": "https://houtai.baidu.com/v2/schemas/page.json#/definitions/$ref",
"description": "引用页面中的定义"
},
"className": {
"$ref": "https://houtai.baidu.com/v2/schemas/page.json#/definitions/className",
"description": "配置容器 className"
}
}
},
"test": {
"properties": {
"type": {
"enum": [
"divider"
]
}
}
}
},
"description": "AMis plain 渲染器格式说明。",
"type": "object"
}