{
  "backend": {
    "name": "github",
    "repo": "iDecal/filmnoithat",
    "branch": "main",
    "base_url": "https://filmnoithat.pages.dev",
    "auth_endpoint": "api/auth"
  },
  "publish_mode": "editorial_workflow",
  "site_url": "https://filmnoithat.pages.dev",
  "display_url": "https://filmnoithat.pages.dev",
  "locale": "vi",
  "media_folder": "public/images/uploads",
  "public_folder": "/images/uploads",
  "slug": {
    "encoding": "ascii",
    "clean_accents": true,
    "sanitize_replacement": "-"
  },
  "collections": [
    {
      "name": "home",
      "label": "Trang chủ",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "home",
          "label": "Nội dung trang chủ",
          "file": "src/data/homeContent.json",
          "fields": [
            {
              "name": "brandName",
              "label": "Tên thương hiệu trang chủ",
              "widget": "string"
            },
            {
              "name": "seoTitle",
              "label": "Tiêu đề SEO",
              "widget": "string"
            },
            {
              "name": "seoDescription",
              "label": "Mô tả SEO",
              "widget": "text",
              "hint": "Giữ {gia_infeel} để website tự lấy giá INFEEL thấp nhất từ danh mục sản phẩm."
            },
            {
              "name": "hero",
              "label": "Banner đầu trang",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "titleLead",
                  "label": "Tiêu đề dòng đầu",
                  "widget": "string"
                },
                {
                  "name": "titleAccent",
                  "label": "Tiêu đề dòng nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Nội dung giới thiệu",
                  "widget": "text"
                },
                {
                  "name": "primaryLabel",
                  "label": "Chữ nút chính",
                  "widget": "string"
                },
                {
                  "name": "primaryHref",
                  "label": "Đường dẫn nút chính",
                  "widget": "string",
                  "pattern": [
                    "^(?:/(?!/)|#[a-zA-Z0-9_-]+|https://)[^\\s]*$",
                    "Dùng đường dẫn /trang/, #muc hoặc https://..."
                  ]
                },
                {
                  "name": "secondaryLabel",
                  "label": "Chữ nút phụ",
                  "widget": "string"
                },
                {
                  "name": "secondaryHref",
                  "label": "Đường dẫn nút phụ",
                  "widget": "string",
                  "pattern": [
                    "^(?:/(?!/)|#[a-zA-Z0-9_-]+|https://)[^\\s]*$",
                    "Dùng đường dẫn /trang/, #muc hoặc https://..."
                  ]
                },
                {
                  "name": "priceNote",
                  "label": "Ghi chú giá",
                  "widget": "string",
                  "hint": "Giữ {gia_infeel} để website tự lấy giá INFEEL thấp nhất từ danh mục sản phẩm."
                },
                {
                  "name": "image",
                  "label": "Ảnh",
                  "widget": "object",
                  "fields": [
                    {
                      "name": "src",
                      "label": "Tệp ảnh",
                      "widget": "image"
                    },
                    {
                      "name": "alt",
                      "label": "ALT – mô tả ảnh",
                      "widget": "string"
                    },
                    {
                      "name": "title",
                      "label": "Tiêu đề",
                      "widget": "string",
                      "required": false
                    },
                    {
                      "name": "width",
                      "label": "Chiều rộng gốc (px)",
                      "widget": "number",
                      "value_type": "int",
                      "min": 1
                    },
                    {
                      "name": "height",
                      "label": "Chiều cao gốc (px)",
                      "widget": "number",
                      "value_type": "int",
                      "min": 1
                    }
                  ]
                },
                {
                  "name": "caption",
                  "label": "Chú thích ảnh",
                  "widget": "string"
                },
                {
                  "name": "slides",
                  "label": "Các slide tiếp theo",
                  "widget": "list",
                  "required": false,
                  "max": 4,
                  "summary": "{{fields.titleLead}} — {{fields.titleAccent}}",
                  "hint": "Nội dung phía trên là slide đầu tiên. Mỗi slide tiếp theo có ảnh, tiêu đề và nút riêng.",
                  "fields": [
                    {
                      "name": "eyebrow",
                      "label": "Dòng nhãn phía trên",
                      "widget": "string"
                    },
                    {
                      "name": "titleLead",
                      "label": "Tiêu đề dòng đầu",
                      "widget": "string"
                    },
                    {
                      "name": "titleAccent",
                      "label": "Tiêu đề dòng nhấn mạnh",
                      "widget": "string"
                    },
                    {
                      "name": "description",
                      "label": "Nội dung giới thiệu",
                      "widget": "text"
                    },
                    {
                      "name": "primaryLabel",
                      "label": "Chữ nút chính",
                      "widget": "string"
                    },
                    {
                      "name": "primaryHref",
                      "label": "Đường dẫn nút chính",
                      "widget": "string",
                      "pattern": [
                        "^(?:/(?!/)|#[a-zA-Z0-9_-]+|https://)[^\\s]*$",
                        "Dùng đường dẫn /trang/, #muc hoặc https://..."
                      ]
                    },
                    {
                      "name": "secondaryLabel",
                      "label": "Chữ nút phụ",
                      "widget": "string"
                    },
                    {
                      "name": "secondaryHref",
                      "label": "Đường dẫn nút phụ",
                      "widget": "string",
                      "pattern": [
                        "^(?:/(?!/)|#[a-zA-Z0-9_-]+|https://)[^\\s]*$",
                        "Dùng đường dẫn /trang/, #muc hoặc https://..."
                      ]
                    },
                    {
                      "name": "priceNote",
                      "label": "Ghi chú giá",
                      "widget": "string",
                      "hint": "Giữ {gia_infeel} để website tự lấy giá INFEEL thấp nhất từ danh mục sản phẩm."
                    },
                    {
                      "name": "image",
                      "label": "Ảnh",
                      "widget": "object",
                      "fields": [
                        {
                          "name": "src",
                          "label": "Tệp ảnh",
                          "widget": "image"
                        },
                        {
                          "name": "alt",
                          "label": "ALT – mô tả ảnh",
                          "widget": "string"
                        },
                        {
                          "name": "title",
                          "label": "Tiêu đề",
                          "widget": "string",
                          "required": false
                        },
                        {
                          "name": "width",
                          "label": "Chiều rộng gốc (px)",
                          "widget": "number",
                          "value_type": "int",
                          "min": 1
                        },
                        {
                          "name": "height",
                          "label": "Chiều cao gốc (px)",
                          "widget": "number",
                          "value_type": "int",
                          "min": 1
                        }
                      ]
                    },
                    {
                      "name": "caption",
                      "label": "Chú thích ảnh",
                      "widget": "string"
                    }
                  ]
                }
              ]
            },
            {
              "name": "categories",
              "label": "Thanh danh mục chất liệu",
              "widget": "object",
              "fields": [
                {
                  "name": "title",
                  "label": "Tiêu đề",
                  "widget": "string"
                },
                {
                  "name": "linkLabel",
                  "label": "Chữ liên kết",
                  "widget": "string"
                }
              ]
            },
            {
              "name": "collections",
              "label": "Bộ sưu tập nổi bật",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "title",
                  "label": "Tiêu đề",
                  "widget": "string"
                },
                {
                  "name": "linkLabel",
                  "label": "Chữ liên kết",
                  "widget": "string"
                },
                {
                  "name": "chooseLabel",
                  "label": "Chữ nút chọn mẫu",
                  "widget": "string"
                },
                {
                  "name": "concreteLabel",
                  "label": "Liên kết xem bê tông",
                  "widget": "string"
                },
                {
                  "name": "items",
                  "label": "Danh sách nội dung",
                  "widget": "list",
                  "fields": [
                    {
                      "name": "slug",
                      "label": "Nhóm vật liệu",
                      "widget": "select",
                      "options": [
                        "van-go",
                        "don-sac",
                        "van-vai",
                        "be-tong",
                        "kim-loai",
                        "da-cam-thach",
                        "trang-guong"
                      ]
                    },
                    {
                      "name": "title",
                      "label": "Tiêu đề",
                      "widget": "string"
                    },
                    {
                      "name": "text",
                      "label": "Nội dung",
                      "widget": "text"
                    }
                  ],
                  "summary": "{{fields.title}}",
                  "min": 1,
                  "max": 7
                }
              ]
            },
            {
              "name": "applications",
              "label": "Ứng dụng & thi công",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "titleLead",
                  "label": "Tiêu đề dòng đầu",
                  "widget": "string"
                },
                {
                  "name": "titleAccent",
                  "label": "Tiêu đề dòng nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Nội dung giới thiệu",
                  "widget": "text"
                },
                {
                  "name": "linkLabel",
                  "label": "Chữ liên kết",
                  "widget": "string"
                }
              ]
            },
            {
              "name": "benefits",
              "label": "Lợi ích & ảnh thi công",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "titleLead",
                  "label": "Tiêu đề dòng đầu",
                  "widget": "string"
                },
                {
                  "name": "titleAccent",
                  "label": "Tiêu đề dòng nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "image",
                  "label": "Ảnh",
                  "widget": "object",
                  "fields": [
                    {
                      "name": "src",
                      "label": "Tệp ảnh",
                      "widget": "image"
                    },
                    {
                      "name": "alt",
                      "label": "ALT – mô tả ảnh",
                      "widget": "string"
                    },
                    {
                      "name": "title",
                      "label": "Tiêu đề",
                      "widget": "string"
                    },
                    {
                      "name": "width",
                      "label": "Chiều rộng gốc (px)",
                      "widget": "number",
                      "value_type": "int",
                      "min": 1
                    },
                    {
                      "name": "height",
                      "label": "Chiều cao gốc (px)",
                      "widget": "number",
                      "value_type": "int",
                      "min": 1
                    }
                  ]
                },
                {
                  "name": "caption",
                  "label": "Chú thích ảnh",
                  "widget": "string"
                },
                {
                  "name": "items",
                  "label": "Danh sách nội dung",
                  "widget": "list",
                  "fields": [
                    {
                      "name": "icon",
                      "label": "Biểu tượng",
                      "widget": "select",
                      "options": [
                        "check",
                        "swatches",
                        "phone"
                      ]
                    },
                    {
                      "name": "title",
                      "label": "Tiêu đề",
                      "widget": "string"
                    },
                    {
                      "name": "text",
                      "label": "Nội dung",
                      "widget": "text"
                    }
                  ],
                  "summary": "{{fields.title}}"
                }
              ]
            },
            {
              "name": "steps",
              "label": "Quy trình đặt hàng",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "title",
                  "label": "Tiêu đề",
                  "widget": "string"
                },
                {
                  "name": "items",
                  "label": "Danh sách nội dung",
                  "widget": "list",
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                }
              ]
            },
            {
              "name": "inspiration",
              "label": "Cảm hứng & bài viết",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "titleLead",
                  "label": "Tiêu đề dòng đầu",
                  "widget": "string"
                },
                {
                  "name": "titleAccent",
                  "label": "Tiêu đề dòng nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "spacesLabel",
                  "label": "Liên kết xem không gian",
                  "widget": "string"
                },
                {
                  "name": "blogLabel",
                  "label": "Liên kết xem blog",
                  "widget": "string"
                },
                {
                  "name": "readingLabel",
                  "label": "Nhãn cẩm nang",
                  "widget": "string"
                },
                {
                  "name": "readMoreLabel",
                  "label": "Chữ nút đọc bài",
                  "widget": "string"
                }
              ]
            },
            {
              "name": "faqs",
              "label": "Câu hỏi thường gặp",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "title",
                  "label": "Tiêu đề",
                  "widget": "string"
                },
                {
                  "name": "linkLabel",
                  "label": "Chữ liên kết",
                  "widget": "string"
                },
                {
                  "name": "items",
                  "label": "Danh sách nội dung",
                  "widget": "list",
                  "fields": [
                    {
                      "name": "question",
                      "label": "Câu hỏi",
                      "widget": "string"
                    },
                    {
                      "name": "answer",
                      "label": "Trả lời",
                      "widget": "text"
                    }
                  ],
                  "summary": "{{fields.question}}"
                }
              ]
            },
            {
              "name": "contact",
              "label": "Khối tư vấn cuối trang",
              "widget": "object",
              "fields": [
                {
                  "name": "eyebrow",
                  "label": "Dòng nhãn phía trên",
                  "widget": "string"
                },
                {
                  "name": "title",
                  "label": "Tiêu đề",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Nội dung giới thiệu",
                  "widget": "text"
                },
                {
                  "name": "boxLabel",
                  "label": "Tiêu đề hộp liên hệ",
                  "widget": "string"
                },
                {
                  "name": "zaloLabel",
                  "label": "Chữ nút Zalo",
                  "widget": "string"
                },
                {
                  "name": "phoneLabel",
                  "label": "Chữ nút gọi điện",
                  "widget": "string"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "products_infeel",
      "label": "Sản phẩm INFEEL",
      "label_singular": "Sản phẩm INFEEL",
      "folder": "src/content/products/infeel",
      "create": true,
      "delete": false,
      "extension": "json",
      "format": "json",
      "identifier_field": "slug",
      "slug": "{{slug}}",
      "summary": "{{code}} — {{name}}",
      "sortable_fields": [
        "code",
        "name",
        "category"
      ],
      "editor": {
        "preview": false
      },
      "fields": [
        {
          "name": "slug",
          "label": "Mã đường dẫn",
          "widget": "string",
          "hint": "Giữ nguyên slug của mẫu đã có để không mất liên kết.",
          "pattern": [
            "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "Chữ thường không dấu, số và gạch ngang"
          ]
        },
        {
          "name": "code",
          "label": "Mã sản phẩm",
          "widget": "string"
        },
        {
          "name": "name",
          "label": "Tên bề mặt",
          "widget": "string"
        },
        {
          "name": "group",
          "label": "Dòng sản phẩm",
          "widget": "string"
        },
        {
          "name": "brand",
          "label": "Thương hiệu",
          "widget": "hidden",
          "default": "INFEEL"
        },
        {
          "name": "category",
          "label": "Nhóm vật liệu",
          "widget": "select",
          "options": [
            "van-go",
            "don-sac",
            "van-vai",
            "be-tong",
            "kim-loai",
            "da-cam-thach",
            "trang-guong"
          ]
        },
        {
          "name": "pricePerMetre",
          "label": "Giá bán / mét dài (VND)",
          "widget": "number",
          "value_type": "int",
          "min": 1,
          "hint": "Giá cho một mét dài theo khổ cuộn, không phải giá mỗi m².",
          "required": false
        },
        {
          "name": "image",
          "label": "Ảnh bề mặt chính",
          "widget": "image",
          "hint": "Chọn ảnh để thay ảnh chính. Để tải thêm ảnh và giữ ảnh chính, dùng mục Ảnh vật liệu bổ sung."
        },
        {
          "name": "imageTitle",
          "label": "Tiêu đề ảnh chính",
          "widget": "string",
          "required": false
        },
        {
          "name": "imageAlt",
          "label": "ALT ảnh bề mặt",
          "widget": "string",
          "required": false
        },
        {
          "name": "gallery",
          "label": "Ảnh vật liệu bổ sung",
          "label_singular": "ảnh vật liệu",
          "widget": "list",
          "required": false,
          "summary": "{{fields.alt}}",
          "hint": "Thêm ảnh vật liệu, chọn Tải ảnh vật liệu lên rồi tải tệp từ máy. Mỗi ảnh cần ALT riêng.",
          "fields": [
            {
              "name": "src",
              "label": "Tải ảnh vật liệu lên",
              "widget": "image",
              "choose_url": false
            },
            {
              "name": "title",
              "label": "Tiêu đề ảnh",
              "widget": "string",
              "required": false
            },
            {
              "name": "alt",
              "label": "ALT – mô tả nội dung ảnh",
              "widget": "string"
            },
            {
              "name": "caption",
              "label": "Chú thích ảnh",
              "widget": "text",
              "required": false
            },
            {
              "name": "width",
              "label": "Chiều rộng gốc (px)",
              "widget": "number",
              "value_type": "int",
              "min": 1,
              "required": false
            },
            {
              "name": "height",
              "label": "Chiều cao gốc (px)",
              "widget": "number",
              "value_type": "int",
              "min": 1,
              "required": false
            }
          ]
        },
        {
          "name": "imageWidth",
          "label": "Chiều rộng gốc (px)",
          "widget": "number",
          "value_type": "int",
          "min": 1
        },
        {
          "name": "imageHeight",
          "label": "Chiều cao gốc (px)",
          "widget": "number",
          "value_type": "int",
          "min": 1
        },
        {
          "name": "application",
          "label": "Ảnh ứng dụng",
          "widget": "image",
          "required": false
        },
        {
          "name": "applicationAlt",
          "label": "ALT ảnh ứng dụng",
          "widget": "string",
          "required": false
        },
        {
          "name": "color",
          "label": "Tông màu",
          "widget": "object",
          "fields": [
            {
              "name": "name",
              "label": "Tên màu",
              "widget": "string"
            },
            {
              "name": "family",
              "label": "Nhóm màu",
              "widget": "string"
            },
            {
              "name": "value",
              "label": "Mã màu HEX",
              "widget": "string",
              "pattern": [
                "^#[0-9a-fA-F]{6}$",
                "Ví dụ #a5aaa3"
              ]
            }
          ]
        },
        {
          "name": "collection",
          "label": "Tên bộ sưu tập",
          "widget": "string",
          "default": "INFEEL 2026"
        },
        {
          "name": "pdf",
          "label": "Đường dẫn catalogue PDF",
          "widget": "string",
          "default": "/catalogues/infeel-2026.pdf"
        },
        {
          "name": "sourcePage",
          "label": "Trang catalogue gốc",
          "widget": "number",
          "value_type": "int",
          "min": 1,
          "default": 1
        },
        {
          "name": "rollSpecification",
          "label": "Quy cách cuộn",
          "widget": "string",
          "default": "1,23 m × 50 m"
        },
        {
          "name": "imageSource",
          "label": "Nguồn ảnh catalogue bổ sung",
          "widget": "object",
          "required": false,
          "fields": [
            {
              "name": "pdf",
              "label": "Đường dẫn PDF",
              "widget": "string"
            },
            {
              "name": "page",
              "label": "Trang PDF",
              "widget": "number",
              "value_type": "int",
              "min": 1
            }
          ]
        },
        {
          "name": "seoTitle",
          "label": "Tiêu đề SEO riêng",
          "widget": "string",
          "required": false,
          "hint": "Để trống để tự tạo từ nhóm vật liệu và mã sản phẩm."
        },
        {
          "name": "seoDescription",
          "label": "Mô tả SEO riêng",
          "widget": "text",
          "required": false
        },
        {
          "name": "order",
          "label": "Thứ tự sắp xếp",
          "widget": "number",
          "value_type": "int",
          "min": 0,
          "default": 10000
        },
        {
          "name": "hiddenImages",
          "label": "Ảnh đã xóa khỏi sản phẩm",
          "widget": "list",
          "required": false,
          "hint": "Bỏ đường dẫn khỏi danh sách để cho phép ảnh tham khảo xuất hiện lại. Tệp gốc không bị xóa khỏi thư viện.",
          "field": {
            "name": "src",
            "label": "Đường dẫn ảnh",
            "widget": "string"
          }
        }
      ]
    },
    {
      "name": "products_corance",
      "label": "Sản phẩm Corance",
      "label_singular": "Sản phẩm Corance",
      "folder": "src/content/products/corance",
      "create": true,
      "delete": false,
      "extension": "json",
      "format": "json",
      "identifier_field": "slug",
      "slug": "{{slug}}",
      "summary": "{{code}} — {{name}}",
      "sortable_fields": [
        "code",
        "name",
        "category"
      ],
      "editor": {
        "preview": false
      },
      "fields": [
        {
          "name": "slug",
          "label": "Mã đường dẫn",
          "widget": "string",
          "hint": "Giữ nguyên slug của mẫu đã có để không mất liên kết.",
          "pattern": [
            "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "Chữ thường không dấu, số và gạch ngang"
          ]
        },
        {
          "name": "code",
          "label": "Mã sản phẩm",
          "widget": "string"
        },
        {
          "name": "name",
          "label": "Tên bề mặt",
          "widget": "string"
        },
        {
          "name": "group",
          "label": "Dòng sản phẩm",
          "widget": "string"
        },
        {
          "name": "brand",
          "label": "Thương hiệu",
          "widget": "hidden",
          "default": "Corance"
        },
        {
          "name": "category",
          "label": "Nhóm vật liệu",
          "widget": "select",
          "options": [
            "van-go",
            "don-sac",
            "van-vai",
            "be-tong",
            "kim-loai",
            "da-cam-thach",
            "trang-guong"
          ]
        },
        {
          "name": "image",
          "label": "Ảnh bề mặt chính",
          "widget": "image",
          "hint": "Chọn ảnh để thay ảnh chính. Để tải thêm ảnh và giữ ảnh chính, dùng mục Ảnh vật liệu bổ sung."
        },
        {
          "name": "imageTitle",
          "label": "Tiêu đề ảnh chính",
          "widget": "string",
          "required": false
        },
        {
          "name": "imageAlt",
          "label": "ALT ảnh bề mặt",
          "widget": "string",
          "required": false
        },
        {
          "name": "gallery",
          "label": "Ảnh vật liệu bổ sung",
          "label_singular": "ảnh vật liệu",
          "widget": "list",
          "required": false,
          "summary": "{{fields.alt}}",
          "hint": "Thêm ảnh vật liệu, chọn Tải ảnh vật liệu lên rồi tải tệp từ máy. Mỗi ảnh cần ALT riêng.",
          "fields": [
            {
              "name": "src",
              "label": "Tải ảnh vật liệu lên",
              "widget": "image",
              "choose_url": false
            },
            {
              "name": "title",
              "label": "Tiêu đề ảnh",
              "widget": "string",
              "required": false
            },
            {
              "name": "alt",
              "label": "ALT – mô tả nội dung ảnh",
              "widget": "string"
            },
            {
              "name": "caption",
              "label": "Chú thích ảnh",
              "widget": "text",
              "required": false
            },
            {
              "name": "width",
              "label": "Chiều rộng gốc (px)",
              "widget": "number",
              "value_type": "int",
              "min": 1,
              "required": false
            },
            {
              "name": "height",
              "label": "Chiều cao gốc (px)",
              "widget": "number",
              "value_type": "int",
              "min": 1,
              "required": false
            }
          ]
        },
        {
          "name": "imageWidth",
          "label": "Chiều rộng gốc (px)",
          "widget": "number",
          "value_type": "int",
          "min": 1
        },
        {
          "name": "imageHeight",
          "label": "Chiều cao gốc (px)",
          "widget": "number",
          "value_type": "int",
          "min": 1
        },
        {
          "name": "application",
          "label": "Ảnh ứng dụng",
          "widget": "image",
          "required": false
        },
        {
          "name": "applicationAlt",
          "label": "ALT ảnh ứng dụng",
          "widget": "string",
          "required": false
        },
        {
          "name": "color",
          "label": "Tông màu",
          "widget": "object",
          "fields": [
            {
              "name": "name",
              "label": "Tên màu",
              "widget": "string"
            },
            {
              "name": "family",
              "label": "Nhóm màu",
              "widget": "string"
            },
            {
              "name": "value",
              "label": "Mã màu HEX",
              "widget": "string",
              "pattern": [
                "^#[0-9a-fA-F]{6}$",
                "Ví dụ #a5aaa3"
              ]
            }
          ]
        },
        {
          "name": "collection",
          "label": "Tên bộ sưu tập",
          "widget": "string",
          "default": "Corance"
        },
        {
          "name": "pdf",
          "label": "Đường dẫn catalogue PDF",
          "widget": "string",
          "default": "/catalogues/corance.pdf"
        },
        {
          "name": "sourcePage",
          "label": "Trang catalogue gốc",
          "widget": "number",
          "value_type": "int",
          "min": 1,
          "default": 1
        },
        {
          "name": "rollSpecification",
          "label": "Quy cách cuộn",
          "widget": "string",
          "default": "1,23 m × 50 m"
        },
        {
          "name": "imageSource",
          "label": "Nguồn ảnh catalogue bổ sung",
          "widget": "object",
          "required": false,
          "fields": [
            {
              "name": "pdf",
              "label": "Đường dẫn PDF",
              "widget": "string"
            },
            {
              "name": "page",
              "label": "Trang PDF",
              "widget": "number",
              "value_type": "int",
              "min": 1
            }
          ]
        },
        {
          "name": "seoTitle",
          "label": "Tiêu đề SEO riêng",
          "widget": "string",
          "required": false,
          "hint": "Để trống để tự tạo từ nhóm vật liệu và mã sản phẩm."
        },
        {
          "name": "seoDescription",
          "label": "Mô tả SEO riêng",
          "widget": "text",
          "required": false
        },
        {
          "name": "order",
          "label": "Thứ tự sắp xếp",
          "widget": "number",
          "value_type": "int",
          "min": 0,
          "default": 10000
        },
        {
          "name": "hiddenImages",
          "label": "Ảnh đã xóa khỏi sản phẩm",
          "widget": "list",
          "required": false,
          "hint": "Bỏ đường dẫn khỏi danh sách để cho phép ảnh tham khảo xuất hiện lại. Tệp gốc không bị xóa khỏi thư viện.",
          "field": {
            "name": "src",
            "label": "Đường dẫn ảnh",
            "widget": "string"
          }
        },
        {
          "name": "pricePerMetre",
          "label": "Giá vật liệu / mét dài (VND)",
          "widget": "number",
          "value_type": "int",
          "min": 1,
          "required": false
        }
      ]
    },
    {
      "name": "products_toda",
      "label": "Sản phẩm TODA",
      "label_singular": "Sản phẩm TODA",
      "folder": "src/content/products/toda",
      "create": true,
      "delete": false,
      "extension": "json",
      "format": "json",
      "identifier_field": "slug",
      "slug": "{{slug}}",
      "summary": "{{code}} — {{name}}",
      "sortable_fields": [
        "code",
        "name",
        "category"
      ],
      "editor": {
        "preview": false
      },
      "fields": [
        {
          "name": "slug",
          "label": "Mã đường dẫn",
          "widget": "string",
          "hint": "Giữ nguyên slug của mẫu đã có để không mất liên kết.",
          "pattern": [
            "^[a-z0-9]+(?:-[a-z0-9]+)*$",
            "Chữ thường không dấu, số và gạch ngang"
          ]
        },
        {
          "name": "code",
          "label": "Mã sản phẩm",
          "widget": "string"
        },
        {
          "name": "name",
          "label": "Tên bề mặt",
          "widget": "string"
        },
        {
          "name": "group",
          "label": "Dòng sản phẩm",
          "widget": "string"
        },
        {
          "name": "brand",
          "label": "Thương hiệu",
          "widget": "hidden",
          "default": "TODA"
        },
        {
          "name": "category",
          "label": "Nhóm vật liệu",
          "widget": "select",
          "options": [
            "van-go",
            "don-sac",
            "van-vai",
            "be-tong",
            "kim-loai",
            "da-cam-thach",
            "trang-guong"
          ]
        },
        {
          "name": "image",
          "label": "Ảnh bề mặt chính",
          "widget": "image",
          "hint": "Chọn ảnh để thay ảnh chính. Để tải thêm ảnh và giữ ảnh chính, dùng mục Ảnh vật liệu bổ sung."
        },
        {
          "name": "imageTitle",
          "label": "Tiêu đề ảnh chính",
          "widget": "string",
          "required": false
        },
        {
          "name": "imageAlt",
          "label": "ALT ảnh bề mặt",
          "widget": "string",
          "required": false
        },
        {
          "name": "gallery",
          "label": "Ảnh vật liệu bổ sung",
          "label_singular": "ảnh vật liệu",
          "widget": "list",
          "required": false,
          "summary": "{{fields.alt}}",
          "hint": "Thêm ảnh vật liệu, chọn Tải ảnh vật liệu lên rồi tải tệp từ máy. Mỗi ảnh cần ALT riêng.",
          "fields": [
            {
              "name": "src",
              "label": "Tải ảnh vật liệu lên",
              "widget": "image",
              "choose_url": false
            },
            {
              "name": "title",
              "label": "Tiêu đề ảnh",
              "widget": "string",
              "required": false
            },
            {
              "name": "alt",
              "label": "ALT – mô tả nội dung ảnh",
              "widget": "string"
            },
            {
              "name": "caption",
              "label": "Chú thích ảnh",
              "widget": "text",
              "required": false
            },
            {
              "name": "width",
              "label": "Chiều rộng gốc (px)",
              "widget": "number",
              "value_type": "int",
              "min": 1,
              "required": false
            },
            {
              "name": "height",
              "label": "Chiều cao gốc (px)",
              "widget": "number",
              "value_type": "int",
              "min": 1,
              "required": false
            }
          ]
        },
        {
          "name": "imageWidth",
          "label": "Chiều rộng gốc (px)",
          "widget": "number",
          "value_type": "int",
          "min": 1
        },
        {
          "name": "imageHeight",
          "label": "Chiều cao gốc (px)",
          "widget": "number",
          "value_type": "int",
          "min": 1
        },
        {
          "name": "application",
          "label": "Ảnh ứng dụng",
          "widget": "image",
          "required": false
        },
        {
          "name": "applicationAlt",
          "label": "ALT ảnh ứng dụng",
          "widget": "string",
          "required": false
        },
        {
          "name": "color",
          "label": "Tông màu",
          "widget": "object",
          "fields": [
            {
              "name": "name",
              "label": "Tên màu",
              "widget": "string"
            },
            {
              "name": "family",
              "label": "Nhóm màu",
              "widget": "string"
            },
            {
              "name": "value",
              "label": "Mã màu HEX",
              "widget": "string",
              "pattern": [
                "^#[0-9a-fA-F]{6}$",
                "Ví dụ #a5aaa3"
              ]
            }
          ]
        },
        {
          "name": "collection",
          "label": "Tên bộ sưu tập",
          "widget": "string",
          "default": "TODA Interior Film Vol.02"
        },
        {
          "name": "pdf",
          "label": "Đường dẫn catalogue PDF",
          "widget": "string",
          "default": "/catalogues/toda-vol-02.pdf"
        },
        {
          "name": "sourcePage",
          "label": "Trang catalogue gốc",
          "widget": "number",
          "value_type": "int",
          "min": 1,
          "default": 1
        },
        {
          "name": "rollSpecification",
          "label": "Quy cách cuộn",
          "widget": "string",
          "default": "1,23 m × 50 m"
        },
        {
          "name": "imageSource",
          "label": "Nguồn ảnh catalogue bổ sung",
          "widget": "object",
          "required": false,
          "fields": [
            {
              "name": "pdf",
              "label": "Đường dẫn PDF",
              "widget": "string"
            },
            {
              "name": "page",
              "label": "Trang PDF",
              "widget": "number",
              "value_type": "int",
              "min": 1
            }
          ]
        },
        {
          "name": "seoTitle",
          "label": "Tiêu đề SEO riêng",
          "widget": "string",
          "required": false,
          "hint": "Để trống để tự tạo từ nhóm vật liệu và mã sản phẩm."
        },
        {
          "name": "seoDescription",
          "label": "Mô tả SEO riêng",
          "widget": "text",
          "required": false
        },
        {
          "name": "order",
          "label": "Thứ tự sắp xếp",
          "widget": "number",
          "value_type": "int",
          "min": 0,
          "default": 10000
        },
        {
          "name": "hiddenImages",
          "label": "Ảnh đã xóa khỏi sản phẩm",
          "widget": "list",
          "required": false,
          "hint": "Bỏ đường dẫn khỏi danh sách để cho phép ảnh tham khảo xuất hiện lại. Tệp gốc không bị xóa khỏi thư viện.",
          "field": {
            "name": "src",
            "label": "Đường dẫn ảnh",
            "widget": "string"
          }
        },
        {
          "name": "pricePerMetre",
          "label": "Giá vật liệu / mét dài (VND)",
          "widget": "number",
          "value_type": "int",
          "min": 1,
          "required": false
        }
      ]
    },
    {
      "name": "kitchen",
      "label": "Blog tủ bếp",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "kitchen",
          "label": "Blog tủ bếp",
          "file": "src/data/kitchenPosts.json",
          "fields": [
            {
              "name": "posts",
              "label": "Blog tủ bếp",
              "widget": "list",
              "summary": "{{fields.title}}",
              "fields": [
                {
                  "name": "slug",
                  "label": "Đường dẫn bài viết",
                  "widget": "string",
                  "hint": "Không đổi mã của bài đã xuất bản để tránh mất URL.",
                  "pattern": [
                    "^[a-z0-9]+(-[a-z0-9]+)*$",
                    "Chỉ dùng chữ thường không dấu, số và gạch ngang"
                  ]
                },
                {
                  "name": "title",
                  "label": "Tiêu đề bài / SEO",
                  "widget": "string"
                },
                {
                  "label": "Chuyên mục",
                  "name": "category",
                  "widget": "select",
                  "default": "thi-cong",
                  "options": [
                    {
                      "label": "Chọn mẫu & phối màu",
                      "value": "chon-mau"
                    },
                    {
                      "label": "Thi công & cải tạo",
                      "value": "thi-cong"
                    },
                    {
                      "label": "Vệ sinh & bảo quản",
                      "value": "bao-quan"
                    },
                    {
                      "label": "Chi phí & báo giá",
                      "value": "chi-phi"
                    }
                  ]
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "date",
                  "label": "Ngày đăng",
                  "widget": "datetime",
                  "date_format": "YYYY-MM-DD",
                  "time_format": false,
                  "format": "YYYY-MM-DD"
                },
                {
                  "name": "image",
                  "label": "Ảnh đại diện",
                  "widget": "image"
                },
                {
                  "name": "imageAlt",
                  "label": "ALT ảnh đại diện",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "imageTitle",
                  "label": "Tiêu đề ảnh",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "imageCaption",
                  "label": "Chú thích ảnh",
                  "widget": "text",
                  "required": false
                },
                {
                  "name": "imageWidth",
                  "label": "Chiều rộng ảnh (px)",
                  "widget": "number",
                  "required": false,
                  "value_type": "int",
                  "min": 1
                },
                {
                  "name": "imageHeight",
                  "label": "Chiều cao ảnh (px)",
                  "widget": "number",
                  "required": false,
                  "value_type": "int",
                  "min": 1
                },
                {
                  "name": "focusKeyword",
                  "label": "Từ khóa trọng tâm",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "intro",
                  "label": "Đoạn mở đầu",
                  "widget": "text"
                },
                {
                  "name": "sections",
                  "label": "Nội dung bài viết",
                  "widget": "list",
                  "summary": "{{fields.title}}",
                  "fields": [
                    {
                      "name": "id",
                      "label": "Mã mục",
                      "widget": "string",
                      "pattern": [
                        "^[a-z0-9]+(-[a-z0-9]+)*$",
                        "Dùng chữ thường không dấu, số và dấu gạch ngang"
                      ]
                    },
                    {
                      "name": "title",
                      "label": "Tiêu đề mục",
                      "widget": "string"
                    },
                    {
                      "name": "paragraphs",
                      "label": "Các đoạn văn",
                      "widget": "list",
                      "required": true,
                      "field": {
                        "name": "value",
                        "label": "Nội dung",
                        "widget": "text"
                      }
                    },
                    {
                      "name": "image",
                      "label": "Ảnh trong mục",
                      "widget": "object",
                      "required": false,
                      "fields": [
                        {
                          "name": "src",
                          "label": "Ảnh",
                          "widget": "image"
                        },
                        {
                          "name": "title",
                          "label": "Tiêu đề ảnh",
                          "widget": "string",
                          "required": false
                        },
                        {
                          "name": "alt",
                          "label": "ALT – mô tả nội dung ảnh",
                          "widget": "string"
                        },
                        {
                          "name": "caption",
                          "label": "Chú thích ảnh",
                          "widget": "text"
                        },
                        {
                          "name": "width",
                          "label": "Chiều rộng gốc (px)",
                          "widget": "number",
                          "value_type": "int",
                          "min": 1
                        },
                        {
                          "name": "height",
                          "label": "Chiều cao gốc (px)",
                          "widget": "number",
                          "value_type": "int",
                          "min": 1
                        }
                      ]
                    },
                    {
                      "name": "bullets",
                      "label": "Danh sách gạch đầu dòng",
                      "widget": "list",
                      "required": false,
                      "field": {
                        "name": "value",
                        "label": "Nội dung",
                        "widget": "text"
                      }
                    },
                    {
                      "name": "subsections",
                      "label": "Mục nhỏ",
                      "widget": "list",
                      "required": false,
                      "fields": [
                        {
                          "name": "title",
                          "label": "Tiêu đề",
                          "widget": "string"
                        },
                        {
                          "name": "paragraphs",
                          "label": "Các đoạn văn",
                          "widget": "list",
                          "required": true,
                          "field": {
                            "name": "value",
                            "label": "Nội dung",
                            "widget": "text"
                          }
                        }
                      ]
                    },
                    {
                      "name": "links",
                      "label": "Liên kết liên quan",
                      "widget": "list",
                      "required": false,
                      "fields": [
                        {
                          "name": "label",
                          "label": "Nội dung liên kết",
                          "widget": "string"
                        },
                        {
                          "name": "href",
                          "label": "Đường dẫn",
                          "widget": "string"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "materials",
                  "label": "Mã nhóm vật liệu",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                },
                {
                  "name": "services",
                  "label": "Mã dịch vụ liên quan",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                },
                {
                  "name": "faqs",
                  "label": "Câu hỏi thường gặp",
                  "widget": "list",
                  "required": false,
                  "fields": [
                    {
                      "name": "question",
                      "label": "Câu hỏi",
                      "widget": "string"
                    },
                    {
                      "name": "answer",
                      "label": "Trả lời",
                      "widget": "text"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "guides",
      "label": "Cẩm nang nội thất",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "guides",
          "label": "Cẩm nang nội thất",
          "file": "src/data/guidePosts.json",
          "fields": [
            {
              "name": "posts",
              "label": "Cẩm nang nội thất",
              "widget": "list",
              "summary": "{{fields.title}}",
              "fields": [
                {
                  "name": "slug",
                  "label": "Đường dẫn bài viết",
                  "widget": "string",
                  "hint": "Không đổi mã của bài đã xuất bản để tránh mất URL.",
                  "pattern": [
                    "^[a-z0-9]+(-[a-z0-9]+)*$",
                    "Chỉ dùng chữ thường không dấu, số và gạch ngang"
                  ]
                },
                {
                  "name": "title",
                  "label": "Tiêu đề bài / SEO",
                  "widget": "string"
                },
                {
                  "label": "Chuyên mục",
                  "name": "category",
                  "widget": "select",
                  "default": "thi-cong",
                  "options": [
                    {
                      "label": "Chọn mẫu & phối màu",
                      "value": "chon-mau"
                    },
                    {
                      "label": "Thi công & cải tạo",
                      "value": "thi-cong"
                    },
                    {
                      "label": "Vệ sinh & bảo quản",
                      "value": "bao-quan"
                    },
                    {
                      "label": "Chi phí & báo giá",
                      "value": "chi-phi"
                    }
                  ]
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "date",
                  "label": "Ngày đăng",
                  "widget": "datetime",
                  "date_format": "YYYY-MM-DD",
                  "time_format": false,
                  "format": "YYYY-MM-DD"
                },
                {
                  "name": "image",
                  "label": "Ảnh đại diện",
                  "widget": "image"
                },
                {
                  "name": "imageAlt",
                  "label": "ALT ảnh đại diện",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "imageTitle",
                  "label": "Tiêu đề ảnh",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "imageCaption",
                  "label": "Chú thích ảnh",
                  "widget": "text",
                  "required": false
                },
                {
                  "name": "imageWidth",
                  "label": "Chiều rộng ảnh (px)",
                  "widget": "number",
                  "required": false,
                  "value_type": "int",
                  "min": 1
                },
                {
                  "name": "imageHeight",
                  "label": "Chiều cao ảnh (px)",
                  "widget": "number",
                  "required": false,
                  "value_type": "int",
                  "min": 1
                },
                {
                  "name": "focusKeyword",
                  "label": "Từ khóa trọng tâm",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "intro",
                  "label": "Đoạn mở đầu",
                  "widget": "text"
                },
                {
                  "name": "sections",
                  "label": "Nội dung bài viết",
                  "widget": "list",
                  "summary": "{{fields.title}}",
                  "fields": [
                    {
                      "name": "id",
                      "label": "Mã mục",
                      "widget": "string",
                      "pattern": [
                        "^[a-z0-9]+(-[a-z0-9]+)*$",
                        "Dùng chữ thường không dấu, số và dấu gạch ngang"
                      ]
                    },
                    {
                      "name": "title",
                      "label": "Tiêu đề mục",
                      "widget": "string"
                    },
                    {
                      "name": "paragraphs",
                      "label": "Các đoạn văn",
                      "widget": "list",
                      "required": true,
                      "field": {
                        "name": "value",
                        "label": "Nội dung",
                        "widget": "text"
                      }
                    },
                    {
                      "name": "image",
                      "label": "Ảnh trong mục",
                      "widget": "object",
                      "required": false,
                      "fields": [
                        {
                          "name": "src",
                          "label": "Ảnh",
                          "widget": "image"
                        },
                        {
                          "name": "title",
                          "label": "Tiêu đề ảnh",
                          "widget": "string",
                          "required": false
                        },
                        {
                          "name": "alt",
                          "label": "ALT – mô tả nội dung ảnh",
                          "widget": "string"
                        },
                        {
                          "name": "caption",
                          "label": "Chú thích ảnh",
                          "widget": "text"
                        },
                        {
                          "name": "width",
                          "label": "Chiều rộng gốc (px)",
                          "widget": "number",
                          "value_type": "int",
                          "min": 1
                        },
                        {
                          "name": "height",
                          "label": "Chiều cao gốc (px)",
                          "widget": "number",
                          "value_type": "int",
                          "min": 1
                        }
                      ]
                    },
                    {
                      "name": "bullets",
                      "label": "Danh sách gạch đầu dòng",
                      "widget": "list",
                      "required": false,
                      "field": {
                        "name": "value",
                        "label": "Nội dung",
                        "widget": "text"
                      }
                    },
                    {
                      "name": "subsections",
                      "label": "Mục nhỏ",
                      "widget": "list",
                      "required": false,
                      "fields": [
                        {
                          "name": "title",
                          "label": "Tiêu đề",
                          "widget": "string"
                        },
                        {
                          "name": "paragraphs",
                          "label": "Các đoạn văn",
                          "widget": "list",
                          "required": true,
                          "field": {
                            "name": "value",
                            "label": "Nội dung",
                            "widget": "text"
                          }
                        }
                      ]
                    },
                    {
                      "name": "links",
                      "label": "Liên kết liên quan",
                      "widget": "list",
                      "required": false,
                      "fields": [
                        {
                          "name": "label",
                          "label": "Nội dung liên kết",
                          "widget": "string"
                        },
                        {
                          "name": "href",
                          "label": "Đường dẫn",
                          "widget": "string"
                        }
                      ]
                    }
                  ]
                },
                {
                  "name": "materials",
                  "label": "Mã nhóm vật liệu",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                },
                {
                  "name": "services",
                  "label": "Mã dịch vụ liên quan",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                },
                {
                  "name": "faqs",
                  "label": "Câu hỏi thường gặp",
                  "widget": "list",
                  "required": false,
                  "fields": [
                    {
                      "name": "question",
                      "label": "Câu hỏi",
                      "widget": "string"
                    },
                    {
                      "name": "answer",
                      "label": "Trả lời",
                      "widget": "text"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "services",
      "label": "Dịch vụ",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "services",
          "label": "Dịch vụ",
          "file": "src/data/services.json",
          "fields": [
            {
              "name": "services",
              "label": "Dịch vụ",
              "widget": "list",
              "summary": "{{fields.name}}",
              "fields": [
                {
                  "name": "slug",
                  "label": "Mã dịch vụ",
                  "widget": "hidden"
                },
                {
                  "name": "name",
                  "label": "Tên dịch vụ",
                  "widget": "string"
                },
                {
                  "name": "heading",
                  "label": "Tiêu đề hiển thị",
                  "widget": "string"
                },
                {
                  "name": "title",
                  "label": "Tiêu đề SEO",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "intro",
                  "label": "Giới thiệu",
                  "widget": "text"
                },
                {
                  "name": "image",
                  "label": "Ảnh dịch vụ",
                  "widget": "image"
                },
                {
                  "name": "imageAlt",
                  "label": "ALT ảnh dịch vụ",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "sections",
                  "label": "Nội dung",
                  "widget": "list",
                  "fields": [
                    {
                      "name": "title",
                      "label": "Tiêu đề",
                      "widget": "string"
                    },
                    {
                      "name": "text",
                      "label": "Nội dung",
                      "widget": "text"
                    }
                  ]
                },
                {
                  "name": "preparation",
                  "label": "Thông tin chuẩn bị",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                },
                {
                  "name": "materials",
                  "label": "Mã vật liệu liên quan",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                },
                {
                  "name": "faqs",
                  "label": "Câu hỏi thường gặp",
                  "widget": "list",
                  "required": true,
                  "fields": [
                    {
                      "name": "question",
                      "label": "Câu hỏi",
                      "widget": "string"
                    },
                    {
                      "name": "answer",
                      "label": "Trả lời",
                      "widget": "text"
                    }
                  ]
                }
              ],
              "allow_add": false,
              "allow_delete": false,
              "allow_reorder": false
            }
          ]
        }
      ]
    },
    {
      "name": "materials",
      "label": "Nhóm vật liệu",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "materials",
          "label": "Nhóm vật liệu",
          "file": "src/data/materials.json",
          "fields": [
            {
              "name": "materials",
              "label": "Nhóm vật liệu",
              "widget": "list",
              "summary": "{{fields.name}}",
              "fields": [
                {
                  "name": "slug",
                  "label": "Mã nhóm",
                  "widget": "hidden"
                },
                {
                  "name": "name",
                  "label": "Tên nhóm",
                  "widget": "string"
                },
                {
                  "name": "shortName",
                  "label": "Tên ngắn",
                  "widget": "string"
                },
                {
                  "name": "mood",
                  "label": "Phong cách",
                  "widget": "select",
                  "options": [
                    "warm",
                    "neutral",
                    "reflective"
                  ]
                },
                {
                  "name": "moodLabel",
                  "label": "Nhãn phong cách",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "intro",
                  "label": "Giới thiệu",
                  "widget": "text"
                },
                {
                  "name": "image",
                  "label": "Ảnh bề mặt",
                  "widget": "image",
                  "required": false
                },
                {
                  "name": "preview",
                  "label": "Hiệu ứng minh họa",
                  "widget": "select",
                  "required": false,
                  "options": [
                    "stone",
                    "mirror"
                  ]
                },
                {
                  "name": "colors",
                  "label": "Tông phối",
                  "widget": "list",
                  "fields": [
                    {
                      "name": "name",
                      "label": "Tên màu",
                      "widget": "string"
                    },
                    {
                      "name": "value",
                      "label": "Mã màu",
                      "widget": "string"
                    }
                  ]
                },
                {
                  "name": "applications",
                  "label": "Ứng dụng",
                  "widget": "list",
                  "fields": [
                    {
                      "name": "title",
                      "label": "Tiêu đề",
                      "widget": "string"
                    },
                    {
                      "name": "text",
                      "label": "Nội dung",
                      "widget": "text"
                    }
                  ]
                },
                {
                  "name": "notes",
                  "label": "Lưu ý",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                },
                {
                  "name": "services",
                  "label": "Mã dịch vụ",
                  "widget": "list",
                  "required": true,
                  "field": {
                    "name": "value",
                    "label": "Nội dung",
                    "widget": "text"
                  }
                }
              ],
              "allow_add": false,
              "allow_delete": false,
              "allow_reorder": false
            }
          ]
        }
      ]
    },
    {
      "name": "pages",
      "label": "Các trang & SEO",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "pages",
          "label": "Nội dung các trang",
          "file": "src/data/pageContent.json",
          "fields": [
            {
              "name": "about",
              "label": "Giới thiệu",
              "widget": "object",
              "fields": [
                {
                  "name": "title",
                  "label": "Tiêu đề SEO",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "headingLead",
                  "label": "Tiêu đề chính",
                  "widget": "string"
                },
                {
                  "name": "headingAccent",
                  "label": "Dòng tiêu đề nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "intro",
                  "label": "Đoạn giới thiệu",
                  "widget": "text"
                }
              ]
            },
            {
              "name": "projects",
              "label": "Công trình",
              "widget": "object",
              "fields": [
                {
                  "name": "title",
                  "label": "Tiêu đề SEO",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "headingLead",
                  "label": "Tiêu đề chính",
                  "widget": "string"
                },
                {
                  "name": "headingAccent",
                  "label": "Dòng tiêu đề nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "intro",
                  "label": "Đoạn giới thiệu",
                  "widget": "text"
                }
              ]
            },
            {
              "name": "knowledge",
              "label": "Kiến thức nội thất",
              "widget": "object",
              "fields": [
                {
                  "name": "title",
                  "label": "Tiêu đề SEO",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "headingLead",
                  "label": "Tiêu đề chính",
                  "widget": "string"
                },
                {
                  "name": "intro",
                  "label": "Đoạn giới thiệu",
                  "widget": "text"
                }
              ]
            },
            {
              "name": "contact",
              "label": "Liên hệ",
              "widget": "object",
              "fields": [
                {
                  "name": "title",
                  "label": "Tiêu đề SEO",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "headingLead",
                  "label": "Tiêu đề chính",
                  "widget": "string"
                },
                {
                  "name": "headingAccent",
                  "label": "Dòng tiêu đề nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "intro",
                  "label": "Đoạn giới thiệu",
                  "widget": "text"
                }
              ]
            },
            {
              "name": "materials",
              "label": "Trang tổng hợp vật liệu",
              "widget": "object",
              "fields": [
                {
                  "name": "title",
                  "label": "Tiêu đề SEO",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả SEO",
                  "widget": "text"
                },
                {
                  "name": "headingLead",
                  "label": "Tiêu đề chính",
                  "widget": "string"
                },
                {
                  "name": "headingAccent",
                  "label": "Dòng tiêu đề nhấn mạnh",
                  "widget": "string"
                },
                {
                  "name": "intro",
                  "label": "Đoạn giới thiệu",
                  "widget": "text"
                }
              ]
            }
          ]
        }
      ]
    },
    {
      "name": "business",
      "label": "Thông tin liên hệ",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "business",
          "label": "Thông tin doanh nghiệp",
          "file": "src/data/business.json",
          "fields": [
            {
              "name": "name",
              "label": "Tên doanh nghiệp",
              "widget": "string"
            },
            {
              "name": "tagline",
              "label": "Mô tả ngắn",
              "widget": "string"
            },
            {
              "name": "phone",
              "label": "Số điện thoại hiển thị",
              "widget": "string"
            },
            {
              "name": "phoneHref",
              "label": "Liên kết gọi điện",
              "widget": "string",
              "hint": "Ví dụ tel:0866077040"
            },
            {
              "name": "zaloHref",
              "label": "Đường dẫn Zalo",
              "widget": "string"
            },
            {
              "name": "email",
              "label": "Email",
              "widget": "string"
            },
            {
              "name": "serviceArea",
              "label": "Phạm vi phục vụ",
              "widget": "string"
            }
          ]
        }
      ]
    },
    {
      "name": "spaces",
      "label": "Ảnh không gian trang chủ & công trình",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "spaces",
          "label": "Không gian tham khảo",
          "file": "src/data/spacesContent.json",
          "fields": [
            {
              "name": "spaces",
              "label": "Danh sách không gian",
              "widget": "list",
              "min": 3,
              "fields": [
                {
                  "name": "title",
                  "label": "Tên không gian",
                  "widget": "string"
                },
                {
                  "name": "category",
                  "label": "Loại không gian",
                  "widget": "select",
                  "options": [
                    "home",
                    "office",
                    "commercial"
                  ]
                },
                {
                  "name": "label",
                  "label": "Nhãn hiển thị",
                  "widget": "string"
                },
                {
                  "name": "image",
                  "label": "Ảnh",
                  "widget": "image"
                },
                {
                  "name": "text",
                  "label": "Mô tả",
                  "widget": "text"
                },
                {
                  "name": "service",
                  "label": "Liên kết dịch vụ",
                  "widget": "string"
                },
                {
                  "name": "material",
                  "label": "Liên kết nhóm vật liệu",
                  "widget": "string"
                }
              ],
              "summary": "{{fields.title}}",
              "hint": "Ba ảnh đầu hiển thị trên trang chủ; toàn bộ danh sách hiển thị trong trang Công trình."
            }
          ]
        }
      ]
    },
    {
      "name": "project_details",
      "label": "Công trình chi tiết",
      "files": [
        {
          "name": "project_concepts",
          "label": "Công trình mẫu / phương án minh họa",
          "file": "src/data/projectConcepts.json",
          "fields": [
            {
              "name": "projects",
              "label": "Công trình",
              "widget": "list",
              "summary": "{{fields.title}}",
              "fields": [
                {
                  "name": "slug",
                  "label": "Đường dẫn",
                  "widget": "string"
                },
                {
                  "name": "title",
                  "label": "Tên công trình",
                  "widget": "string"
                },
                {
                  "name": "category",
                  "label": "category",
                  "widget": "string"
                },
                {
                  "name": "label",
                  "label": "label",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Mô tả",
                  "widget": "text"
                },
                {
                  "name": "images",
                  "label": "Ảnh đại diện và thư viện",
                  "widget": "list",
                  "required": false,
                  "fields": [
                    {
                      "name": "src",
                      "label": "src",
                      "widget": "image"
                    },
                    {
                      "name": "alt",
                      "label": "alt",
                      "widget": "string"
                    }
                  ]
                },
                {
                  "name": "materials",
                  "label": "Nhóm vật liệu",
                  "widget": "list",
                  "required": false,
                  "field": {
                    "name": "value",
                    "label": "Giá trị",
                    "widget": "string"
                  }
                },
                {
                  "name": "services",
                  "label": "Dịch vụ đã chọn",
                  "widget": "select",
                  "multiple": true,
                  "required": false,
                  "options": [
                    {
                      "label": "Dán film nội thất",
                      "value": "dan-film-noi-that"
                    },
                    {
                      "label": "Dán film tủ bếp",
                      "value": "dan-film-tu-bep"
                    },
                    {
                      "label": "Dán film bàn & kệ",
                      "value": "dan-film-ban"
                    },
                    {
                      "label": "Dán film tường",
                      "value": "dan-film-tuong"
                    },
                    {
                      "label": "Dán film trần",
                      "value": "dan-film-tran"
                    },
                    {
                      "label": "Dán film thang máy",
                      "value": "dan-film-thang-may"
                    }
                  ],
                  "hint": "Công trình tự xuất hiện trong các trang dịch vụ được chọn. Bỏ chọn để gỡ liên kết."
                },
                {
                  "name": "brief",
                  "label": "brief",
                  "widget": "list",
                  "required": false,
                  "field": {
                    "name": "value",
                    "label": "Giá trị",
                    "widget": "string"
                  }
                },
                {
                  "name": "plan",
                  "label": "plan",
                  "widget": "list",
                  "required": false,
                  "fields": [
                    {
                      "name": "title",
                      "label": "Tên công trình",
                      "widget": "string"
                    },
                    {
                      "name": "text",
                      "label": "text",
                      "widget": "text"
                    }
                  ]
                },
                {
                  "name": "location",
                  "label": "Địa điểm",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "startDate",
                  "label": "Ngày bắt đầu",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "completionDate",
                  "label": "Ngày hoàn thành",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "beforeAfter",
                  "label": "Ảnh trước và sau",
                  "widget": "list",
                  "required": false,
                  "fields": [
                    {
                      "name": "title",
                      "label": "Tên công trình",
                      "widget": "string"
                    },
                    {
                      "name": "before",
                      "label": "Trước thi công",
                      "widget": "object",
                      "required": false,
                      "fields": [
                        {
                          "name": "src",
                          "label": "src",
                          "widget": "image"
                        },
                        {
                          "name": "alt",
                          "label": "alt",
                          "widget": "string"
                        }
                      ]
                    },
                    {
                      "name": "after",
                      "label": "Sau hoàn thiện",
                      "widget": "object",
                      "required": false,
                      "fields": [
                        {
                          "name": "src",
                          "label": "src",
                          "widget": "image"
                        },
                        {
                          "name": "alt",
                          "label": "alt",
                          "widget": "string"
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}
