前言
图片库控件的值 schema。
基本信息
- 英文名称:
Image Gallery Control - 中文名称:图片库控件
- Schema ID:
bricks://controls/image-gallery - Schema 版本:
2.3 - 类型:
object
属性
images(array)
Schema 定义
完整 JSON 定义
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "bricks://controls/image-gallery",
"schemaVersion": "2.3",
"title": "Image Gallery Control",
"description": "Value schema for image-gallery control type",
"type": "object",
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"description": "Image settings",
"properties": {
"id": {
"type": [
"string",
"integer"
]
},
"filename": {
"type": "string"
},
"url": {
"type": "string"
},
"size": {
"type": "string"
},
"full": {
"type": "string"
},
"useDynamicData": {
"type": "string"
}
},
"descriptionZh": "图像设置。"
}
}
},
"controlProperties": [
"type",
"label",
"tab",
"hasRequired"
],
"titleZh": "图片库控件",
"descriptionZh": "图片库控件的值 schema。"
}
补充说明
更多细节可参考 Bricks 官方 Academy 文档。