{
    "key": "group_pctech_hp_case_study_fields",
    "title": "PCTech Homepage — Case Study Fields",
    "fields": [
        {
            "key": "field_pctech_hp_project_client",
            "label": "Loại khách hàng",
            "name": "project_client",
            "type": "text",
            "instructions": "Ví dụ: Doanh nghiệp, Trường học, Cá nhân."
        },
        {
            "key": "field_pctech_hp_project_problem",
            "label": "Vấn đề ban đầu",
            "name": "project_problem",
            "type": "textarea",
            "rows": 2
        },
        {
            "key": "field_pctech_hp_project_solution",
            "label": "Giải pháp triển khai",
            "name": "project_solution",
            "type": "textarea",
            "rows": 2
        },
        {
            "key": "field_pctech_hp_project_result",
            "label": "Kết quả đạt được",
            "name": "project_result",
            "type": "text",
            "instructions": "Ví dụ: \"Giảm 40% sự cố mạng\"."
        },
        {
            "key": "field_pctech_hp_project_image",
            "label": "Ảnh dự án",
            "name": "project_image",
            "type": "image",
            "return_format": "url",
            "preview_size": "medium"
        },
        {
            "key": "field_pctech_hp_project_metrics",
            "label": "Chỉ số nổi bật (tuỳ chọn)",
            "name": "project_metrics",
            "type": "repeater",
            "instructions": "Ví dụ: \"\ud83d\udce6 2.4TB dữ liệu\", \"\u23f1\ufe0f 36 giờ\". Để trống nếu dự án không cần hiển thị chỉ số.",
            "layout": "table",
            "button_label": "Thêm chỉ số",
            "sub_fields": [
                {
                    "key": "field_pctech_hp_metric_text",
                    "label": "Chỉ số",
                    "name": "metric_text",
                    "type": "text"
                }
            ]
        }
    ],
    "location": [
        [
            {
                "param": "post_type",
                "operator": "==",
                "value": "case_study"
            }
        ]
    ],
    "menu_order": 0,
    "position": "normal",
    "style": "default",
    "label_placement": "top",
    "instruction_placement": "label",
    "active": true,
    "description": "Field cho CPT case_study phục vụ trang chủ động."
}
