tabs:
  main:
    display: Main
    sections:
      -
        fields:
          -
            handle: title
            field:
              type: text
              required: true
              width: 50
              validate:
                - required
              display: Name
              instructions_position: above
              listable: true
              visibility: visible
              input_type: text
              antlers: false
              hide_display: false
          -
            handle: types
            field:
              options:
                varietals: Varietals
                east: East
                west: West
                central: Central
                organic: Organic
              taggable: false
              push_tags: false
              multiple: true
              clearable: true
              searchable: true
              cast_booleans: false
              type: select
              display: Types
              width: 50
              listable: hidden
              instructions_position: above
              visibility: visible
              hide_display: false
          -
            handle: content
            field:
              type: markdown
              localizable: true
          -
            handle: image
            field:
              max_files: 1
              mode: list
              container: assets
              folder: honey
              restrict: true
              allow_uploads: true
              show_filename: true
              show_set_alt: true
              type: assets
              display: 'Product Image'
              width: 25
              listable: hidden
              instructions_position: above
              visibility: visible
              hide_display: false
          -
            handle: label_color
            field:
              swatches:
                - '#A7C5EE'
                - '#E87722'
                - '#199CDB'
                - '#DF87B6'
                - '#8B5B29'
                - '#DAAA00'
                - '#BBB92D'
                - '#00B2A9'
                - '#C800A1'
                - '#F8BD2C'
                - '#B2ACD0'
                - '#98D5E9'
              allow_any: false
              type: color
              display: 'Label Color'
              width: 25
              listable: hidden
              instructions_position: above
              visibility: visible
              hide_display: false
          -
            handle: label_icon
            field:
              max_files: 1
              mode: list
              container: assets
              folder: honey/icons
              restrict: true
              allow_uploads: true
              show_filename: true
              show_set_alt: true
              type: assets
              display: 'Label Icon'
              width: 25
              listable: hidden
              instructions_position: above
              visibility: visible
              hide_display: false
          -
            handle: sku
            field:
              input_type: text
              antlers: false
              type: text
              display: SKU
              instructions: 'Used to associate lot numbers.'
              width: 25
              listable: hidden
              instructions_position: below
              visibility: visible
              replicator_preview: true
              hide_display: false
              validate:
                - 'unique_entry_value:{collection},{id},{site}'
          -
            import: cta
          -
            handle: best_seller
            field:
              default: false
              type: toggle
              display: 'Best Seller'
              instructions: 'Feature product on home page best sellers?'
              listable: hidden
              instructions_position: above
              visibility: visible
              hide_display: false
              validate:
                - required
  sidebar:
    display: Sidebar
    sections:
      -
        fields:
          -
            handle: parent
            field:
              type: entries
              collections:
                - honey
              max_items: 1
              listable: false
              localizable: true
title: 'Honey Product'
