📄 原始资料 | 展开查看原始 JSON(code.json){ “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks://controls/code”, “schemaVersion”: “2.3”, “title”: “Code Control”, “description”: “Value schema for code control type”, “type”: “string”, “controlProperties”: [ “type”, “default”, “…
📄 原始资料 | 展开查看原始 JSON(code.json)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "bricks://controls/code",
"schemaVersion": "2.3",
"title": "Code Control",
"description": "Value schema for code control type",
"type": "string",
"controlProperties": [
"type",
"default",
"hasRequired",
"placeholder",
"label",
"tab",
"group"
],
"titleZh": "代码控件",
"descriptionZh": "代码控件的值 schema。"
}
前言
代码控件的值 schema。
基本信息
- 英文名称:
Code Control
- 中文名称:代码控件
- Schema ID:
bricks://controls/code
- Schema 版本:
2.3
- 类型:
string
Schema 定义
完整 JSON 定义
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "bricks://controls/code",
"schemaVersion": "2.3",
"title": "Code Control",
"description": "Value schema for code control type",
"type": "string",
"controlProperties": [
"type",
"default",
"hasRequired",
"placeholder",
"label",
"tab",
"group"
],
"titleZh": "代码控件",
"descriptionZh": "代码控件的值 schema。"
}
补充说明
更多细节可参考 Bricks 官方 Academy 文档。