Bricks Schema 中文文档:Bricks 全局变量

标签TAGS: 

📄 原始资料  |  展开查看原始 JSON(global-variables.json){ “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks://global/global-variables”, “schemaVersion”: “2.3”, “title”: “Bricks Global Variables”, “type”: “array”, “items”: { “type”: “object”, “properties”: { “id”: { “type”: “st…

📄 原始资料  |  展开查看原始 JSON(global-variables.json)
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://global/global-variables",
  "schemaVersion": "2.3",
  "title": "Bricks Global Variables",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "value": {
        "type": "string"
      },
      "category": {
        "type": "string"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "name",
      "value"
    ],
    "additionalProperties": false
  },
  "titleZh": "Bricks 全局变量"
}

基本信息

  • 英文名称Bricks Global Variables
  • 中文名称:Bricks 全局变量
  • Schema IDbricks://global/global-variables
  • Schema 版本2.3
  • 类型array

条目属性

  • id (string)
  • name (string)
  • value (string)
  • category (string)
  • type (string)

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://global/global-variables",
  "schemaVersion": "2.3",
  "title": "Bricks Global Variables",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "id": {
        "type": "string"
      },
      "name": {
        "type": "string"
      },
      "value": {
        "type": "string"
      },
      "category": {
        "type": "string"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "id",
      "name",
      "value"
    ],
    "additionalProperties": false
  },
  "titleZh": "Bricks 全局变量"
}

补充说明

更多细节可参考 Bricks 官方 Academy 文档