Bricks Schema 中文文档:Bricks 内容区域

📎 原始资料  |  下载原始 JSON 文件 (content-area.json) 前言 Bricks 内容区域(页头、内容或页脚)是带父子引用的扁平元素数组。 基本信息 英文名称:Bricks Content Area 中文名称:Bricks 内容区域 Schema ID:bricks://global/content-area Schema 版本:2.3 类型:array Schema 定义 完整 JSON 定义 { “$schema”: “https://json-schema.org/draft/2020-12/schema”, “$id”: “bricks:/…

前言

Bricks 内容区域(页头、内容或页脚)是带父子引用的扁平元素数组。

基本信息

  • 英文名称Bricks Content Area
  • 中文名称:Bricks 内容区域
  • Schema IDbricks://global/content-area
  • Schema 版本2.3
  • 类型array

Schema 定义

完整 JSON 定义

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "bricks://global/content-area",
  "schemaVersion": "2.3",
  "title": "Bricks Content Area",
  "description": "A Bricks content area (header, content, or footer) is a flat array of elements with parent-child references.",
  "type": "array",
  "items": {
    "type": "object",
    "_ref": "See the Element structure section in the data model overview.",
    "description": "A Bricks element as stored in any content area (header, content, footer). Properties: id, name, parent, children, settings, selectors, label, themeStyles.",
    "descriptionZh": "存储在任何内容区域(页头、内容、页脚)中的 Bricks 元素。属性:id、name、parent、children、settings、selectors、label、themeStyles。"
  },
  "titleZh": "Bricks 内容区域",
  "descriptionZh": "Bricks 内容区域(页头、内容或页脚)是带父子引用的扁平元素数组。"
}

补充说明

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