{
    "key": "group_5b6841bfef6ab",
    "title": "[Template]Vote Recommendations",
    "fields": [
        {
            "key": "field_5b7da085dc6f1",
            "label": "About this Block",
            "name": "",
            "type": "message",
            "instructions": "",
            "required": 0,
            "conditional_logic": 0,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "message": "Displays voting recommendations.",
            "new_lines": "wpautop",
            "esc_html": 0
        },
        {
            "key": "field_5b68621965af5",
            "label": "Category",
            "name": "category",
            "type": "clone",
            "instructions": "",
            "required": 1,
            "conditional_logic": 0,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "clone": [
                "group_5b684e748247e"
            ],
            "display": "seamless",
            "layout": "block",
            "prefix_label": 0,
            "prefix_name": 0
        },
        {
            "key": "field_5b68447d19735",
            "label": "Recommendations",
            "name": "proposals",
            "type": "repeater",
            "instructions": "",
            "required": 1,
            "conditional_logic": 0,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "collapsed": "",
            "min": 1,
            "max": 0,
            "layout": "table",
            "button_label": "Add recommendation",
            "sub_fields": [
                {
                  "key": "field_5baa445a76610",
                  "label": "Recommendation Link",
                  "name": "proposal_link",
                  "type": "group",
                  "instructions": "Where visitors can read more about this bill.",
                  "required": 0,
                  "conditional_logic": 0,
                  "wrapper": {
                    "width": "70",
                    "class": "",
                    "id": ""
                  },
                  "layout": "block",
                  "sub_fields": [
                    {
                      "key": "field_5baa448d76611",
                      "label": "Link Type",
                      "name": "type",
                      "type": "button_group",
                      "instructions": "",
                      "required": 0,
                      "conditional_logic": 0,
                      "wrapper": {
                        "width": "25",
                        "class": "",
                        "id": ""
                      },
                      "choices": {
                        "internal": "Internal",
                        "url": "External (URL)"
                      },
                      "allow_null": 0,
                      "default_value": "internal",
                      "layout": "vertical",
                      "return_format": "value"
                    },
                    {
                      "key": "field_5c46226447063",
                      "label": "Internal Link",
                      "name": "internal_link",
                      "type": "group",
                      "instructions": "",
                      "required": 0,
                      "conditional_logic": [
                        [
                          {
                            "field": "field_5baa448d76611",
                            "operator": "==",
                            "value": "internal"
                          }
                        ]
                      ],
                      "wrapper": {
                        "width": "75",
                        "class": "",
                        "id": ""
                      },
                      "layout": "block",
                      "sub_fields": [
                        {
                          "key": "field_5baa451976612",
                          "label": "Post",
                          "name": "post",
                          "type": "post_object",
                          "instructions": "",
                          "required": 0,
                          "conditional_logic": 0,
                          "wrapper": {
                            "width": "",
                            "class": "",
                            "id": ""
                          },
                          "post_type": [
                            "post",
                            "page"
                          ],
                          "taxonomy": "",
                          "allow_null": 0,
                          "multiple": 0,
                          "return_format": "object",
                          "ui": 1
                        },
                        {
                          "key": "field_5c4620e993f91",
                          "label": "Title Overwrite (optional)",
                          "name": "title",
                          "type": "text",
                          "instructions": "Leave blank, to use the posts title.",
                          "required": 0,
                          "conditional_logic": 0,
                          "wrapper": {
                            "width": "",
                            "class": "",
                            "id": ""
                          },
                          "default_value": "",
                          "placeholder": "",
                          "prepend": "",
                          "append": "",
                          "maxlength": ""
                        }
                      ]
                    },
                    {
                      "key": "field_5baa456476613",
                      "label": "External Link (URL)",
                      "name": "external",
                      "type": "group",
                      "instructions": "",
                      "required": 0,
                      "conditional_logic": [
                        [
                          {
                            "field": "field_5baa448d76611",
                            "operator": "==",
                            "value": "url"
                          }
                        ]
                      ],
                      "wrapper": {
                        "width": "75",
                        "class": "",
                        "id": ""
                      },
                      "layout": "block",
                      "sub_fields": [
                        {
                          "key": "field_5baa459776614",
                          "label": "URL",
                          "name": "url",
                          "type": "url",
                          "instructions": "",
                          "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "placeholder": ""
                                },
                                {
                                    "key": "field_5baa45ac76615",
                                    "label": "Title",
                                    "name": "title",
                                    "type": "text",
                                    "instructions": "",
                                    "required": 0,
                                    "conditional_logic": 0,
                                    "wrapper": {
                                        "width": "",
                                        "class": "",
                                        "id": ""
                                    },
                                    "default_value": "",
                                    "placeholder": "",
                                    "prepend": "",
                                    "append": "",
                                    "maxlength": ""
                                },
                        {
                          "key": "field_5baa45b976616",
                          "label": "Teaser",
                          "name": "teaser",
                          "type": "textarea",
                          "instructions": "",
                          "required": 0,
                          "conditional_logic": 0,
                          "wrapper": {
                            "width": "",
                            "class": "",
                            "id": ""
                          },
                          "default_value": "",
                          "placeholder": "",
                          "maxlength": 280,
                          "rows": 5,
                          "new_lines": ""
                        }
                      ]
                    }
                  ],
                  "parent_repeater": "field_5b68447d19735"
                },
              {
                "key": "field_5b6844e919737",
                "label": "Recommendation",
                "name": "flag",
                "type": "radio",
                "instructions": "What do you recommend to vote?",
                "required": 1,
                "conditional_logic": 0,
                "wrapper": {
                  "width": "30",
                  "class": "",
                  "id": ""
                },
                "choices": {
                  "yes": "Yes",
                  "no": "No",
                  "free": "&mdash;",
                  "free2": "Free Vote",
                  "blank": "Blank Vote",
                  "initiative": "Initiative",
                  "counter-project": "Counter Project"
                },
                "default_value": "",
                "return_format": "array",
                "translations": "copy_once",
                "allow_null": 0,
                "other_choice": 0,
                "layout": "vertical",
                "save_other_choice": 0,
                "parent_repeater": "field_5b68447d19735"
              }
            ],
          "rows_per_page": 20
        },
        {
            "key": "field_5b719d2713c9f",
            "label": "Footer",
            "name": "footer",
            "type": "group",
            "instructions": "Only displayed, if link is set.",
            "required": 0,
            "conditional_logic": 0,
            "wrapper": {
                "width": "",
                "class": "",
                "id": ""
            },
            "layout": "row",
            "sub_fields": [
                {
                    "key": "field_5b687a7954f7d",
                    "label": "All Votations Link",
                    "name": "link",
                    "type": "page_link",
                    "instructions": "Page with link to all vote recommendations (national, cantonal, community).",
                    "required": 0,
                    "conditional_logic": 0,
                    "wrapper": {
                        "width": "",
                        "class": "",
                        "id": ""
                    },
                    "post_type": [
                        "page",
                        "post"
                    ],
                    "taxonomy": "",
                    "allow_null": 0,
                    "allow_archives": 0,
                    "multiple": 0
                },
                {
                    "key": "field_5b687a2c54f7c",
                    "label": "Link Text",
                    "name": "link_label",
                    "type": "text",
                    "instructions": "",
                    "required": 0,
                    "conditional_logic": [
                        [
                            {
                              "field": "field_5b687a7954f7d",
                              "operator": "!=empty"
                            }
                        ]
                    ],
                  "wrapper": {
                    "width": "",
                    "class": "",
                    "id": ""
                  },
                  "default_value": "",
                  "placeholder": "",
                  "prepend": "",
                  "append": "",
                  "maxlength": ""
                }
            ]
        }
    ],
  "location": [
    [
      {
        "param": "page_type",
        "operator": "==",
        "value": "front_page"
      }
    ]
  ],
  "menu_order": 0,
  "position": "normal",
  "style": "default",
  "label_placement": "top",
  "instruction_placement": "label",
  "hide_on_screen": "",
  "active": false,
  "description": "",
  "show_in_rest": 0,
  "modified": 1666164495
}
