前言
SVG 控件的值 schema。
基本信息
- 英文名称:
Svg Control - 中文名称:SVG 控件
- Schema ID:
bricks://controls/svg - Schema 版本:
2.3 - 类型:
object
属性
id(["string", "integer"])url(string)library(string)
Schema 定义
完整 JSON 定义
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "bricks://controls/svg",
"schemaVersion": "2.3",
"title": "Svg Control",
"description": "Value schema for svg control type",
"type": "object",
"properties": {
"id": {
"type": [
"string",
"integer"
]
},
"url": {
"type": "string"
},
"library": {
"type": "string"
}
},
"controlProperties": [
"type",
"hasRequired"
],
"titleZh": "SVG 控件",
"descriptionZh": "SVG 控件的值 schema。"
}
补充说明
更多细节可参考 Bricks 官方 Academy 文档。