{
  "namespace": "local_world_picker",

  "local_world_picker_screen@common.base_screen": {
    "button_mappings": [
      {
        "from_button_id": "button.menu_cancel",
        "to_button_id": "button.menu_exit",
        "mapping_type": "global"
      },
      {
        "from_button_id": "button.menu_tab_left",
        "to_button_id": "button.menu_tab_left",
        "mapping_type": "global",
        "scope": "view"
      },
      {
        "from_button_id": "button.menu_tab_right",
        "to_button_id": "button.menu_tab_right",
        "mapping_type": "global",
        "scope": "view"
      }
    ],
    "$screen_content": "local_world_picker.local_world_picker_content"
  },

  "local_world_picker_content": {
    "type": "panel",
    "size": "$narrow_screen_size",
    "controls": [
      {
        "background@common.common_panel": {
          "$dialog_background": "dialog_background_hollow_3",
          "$show_close_button": true
        }
      },
      {
        "panel_label": {
          "type": "label",
          "offset": [ 0, 7 ],
          "anchor_from": "top_middle",
          "anchor_to": "top_middle",
          "text": "realmsCreateScreen.chooseWorld",
          "color": "$title_text_color",
          "layer": 2
        }
      },
      {
        "content@play.worlds_scroll_content": {
          "layer": 2,
          "anchor_from": "top_left",
          "anchor_to": "top_left",
          // background_hollow_3 has a (6, 21, 6, 6) nineslice offset, so we need to modify the size and offsets
          "size": [ "100%-12px", "100%-27px" ],
          "offset": [ 6, 21 ],
          "$local_world_edit_button_visible": false,
          "$world_picker_screen": true
        }
      }
    ]
  }
}