XML 76 R61.htm IDEA: XBRL DOCUMENT
v3.7.0.1

Long-term Debt - Additional Information (Detail) - USD ($) |  | 1 Months Ended | 12 Months Ended |  |
--- | --- | --- | --- | --- | ---
Oct. 01, 2017 | Sep. 30, 2006 | Jun. 29, 2017 | Jun. 30, 2016 | Feb. 07, 2008
Mortgage Facility Tranche A [Member] |  |  |  |  |
Debt Disclosure [Line Items] |  |  |  |  |
Amounts of term loans |  |  |  |  | $ 36,000,000
Mortgage Facility maturity date |  |  | Mar. 01, 2023 |  |
Interest rate |  |  | 7.63% |  |
Debt obligation outstanding |  |  | $ 14,200,000 | $ 16,600,000 |
Mortgage Facility Tranche B [Member] |  |  |  |  |
Debt Disclosure [Line Items] |  |  |  |  |
Amounts of term loans |  |  |  |  | 9,000,000
Mortgage Facility maturity date |  |  | Mar. 01, 2023 |  |
Mortgage facility interest |  |  | One month LIBOR plus 3.50% per annum or 4.25% |  |
Mortgage Facility interest rate LIBOR |  |  | 3.50% |  |
Debt instrument fixed rate |  |  | 4.25% |  |
Debt obligation outstanding |  |  | $ 3,550,000 | 4,150,000 |
Mortgage Facility [Member] |  |  |  |  |
Debt Disclosure [Line Items] |  |  |  |  |
Amounts of term loans |  |  |  |  | $ 45,000,000
Mortgage Facility maturity date |  |  | Mar. 01, 2023 |  |
Mortgage Facility contain covenants to maintain specified net worth |  |  | $ 110,000,000 |  |
Carrying amount of assets pledged as collateral |  |  | $ 73,427,000 |  |
Selma, Texas Properties [Member] |  |  |  |  |
Debt Disclosure [Line Items] |  |  |  |  |
Capital lease recorded as debt obligation |  | $ 14,300,000 |  |  |
Selling price of Texas properties sold to related party partnerships |  | $ 14,300,000 |  |  |
Renewal options of Texas properties |  | Three five-year term |  |  |
Lease term of Texas properties |  | 10 years |  |  |
Option percentage of fair value to purchase the properties |  |  | 95.00% |  |
Option percentage of fair value to purchase the properties in certain circumstances |  |  | 100.00% |  |
Debt obligation outstanding |  |  | $ 11,058,000 | $ 11,540,000 |
Minimum amount accepted for repurchase |  |  | $ 14,300,000 |  |
Lease period for renewal option exercised |  |  | Two five-year term |  |
Lease period for renewal option remaining |  |  | One five-year |  |
Selma, Texas Properties [Member] | Scenario Forecast [Member] |  |  |  |  |
Debt Disclosure [Line Items] |  |  |  |  |
Renewed lease monthly installments | $ 103,000 |  |  |  |

X
- Definition Debt Disclosure [Line Items] + References No definition available. + Details
Name: | jbss_DebtDisclosureLineItems
Namespace Prefix: | jbss_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lease Period For Fair Value Rent + References No definition available. + Details
Name: | jbss_LeasePeriodForFairValueRent
Namespace Prefix: | jbss_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lease Period For Fair Value Rent Renewal Option + References No definition available. + Details
Name: | jbss_LeasePeriodForFairValueRentRenewalOption
Namespace Prefix: | jbss_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lease period for renewal options exercised. + References No definition available. + Details
Name: | jbss_LeasePeriodForRenewalOptionsExercised
Namespace Prefix: | jbss_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Lease period for renewal options remaining. + References No definition available. + Details
Name: | jbss_LeasePeriodForRenewalOptionsRemaining
Namespace Prefix: | jbss_
Data Type: | us-types:durationStringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Minimum repurchase price. + References No definition available. + Details
Name: | jbss_MinimumRepurchasePrice
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Net Worth To Be Maintained Specified Under Mortgage Facility + References No definition available. + Details
Name: | jbss_NetWorthToBeMaintainedSpecifiedUnderMortgageFacility
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Percentage Of Purchase Price On Fair Value + References No definition available. + Details
Name: | jbss_PercentageOfPurchasePriceOnFairValue
Namespace Prefix: | jbss_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage Of Purchase Price On Fair Value In Certain Circumstances + References No definition available. + Details
Name: | jbss_PercentageOfPurchasePriceOnFairValueInCertainCircumstances
Namespace Prefix: | jbss_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Property Sold To Related Party + References No definition available. + Details
Name: | jbss_PropertySoldToRelatedParty
Namespace Prefix: | jbss_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Sum of the carrying values as of the balance sheet date of all debt, including all short-term borrowings, long-term debt, and capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03.13,16) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03.16) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 + Details
Name: | us-gaap_DebtAndCapitalLeaseObligations
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The reference rate for the variable rate of the debt instrument, such as LIBOR or the US Treasury rate and the maturity of the reference rate used, such as three months or six months LIBOR. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentDescriptionOfVariableRateBasis
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Face (par) amount of debt instrument at time of issuance. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 55 -Paragraph 8 -URI http://asc.fasb.org/extlink&oid=64930739&loc=d3e28878-108400 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 835 -SubTopic 30 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=64930785&loc=d3e28551-108399 + Details
Name: | us-gaap_DebtInstrumentFaceAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Contractual interest rate for funds borrowed, under the debt agreement. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentInterestRateStatedPercentage
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Date when the debt instrument is scheduled to be fully repaid, in CCYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(2)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_DebtInstrumentMaturityDate
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of the required periodic payments including both interest and principal payments. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 470 -Section 50 -Paragraph 3 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=75038535&loc=d3e64711-112823 + Details
Name: | us-gaap_DebtInstrumentPeriodicPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 944 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)) -URI http://asc.fasb.org/extlink&oid=6879938&loc=d3e572229-122910 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 942 -SubTopic 210 -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -URI http://asc.fasb.org/extlink&oid=6876686&loc=d3e534808-122878 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebt
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The interest rate applicable to the portion of the carrying amount of long-term borrowings outstanding as of the balance sheet date, including current maturities, which accrues interest at a set, unchanging rate. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02.22(a)(1)) -URI http://asc.fasb.org/extlink&oid=6877327&loc=d3e13212-122682 + Details
Name: | us-gaap_LongTermDebtPercentageBearingFixedInterestRate
Namespace Prefix: | us-gaap_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition The carrying amount, as of the date of the latest financial statement presented, of all assets that are pledged as collateral for the payment of the related debt obligation primarily arising from secured borrowings, repurchase agreements or other current or potential obligations, where the secured party does not have the right by contract or custom to sell or re-pledge the collateral and therefore are not reclassified and separately reported in the statement of financial position. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 860 -SubTopic 30 -Section 50 -Paragraph 1A -Subparagraph (b)(1)(i) -URI http://asc.fasb.org/extlink&oid=64858031&loc=SL6224234-111729 + Details
Name: | us-gaap_PledgedAssetsNotSeparatelyReportedOnStatementOfFinancialPosition
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=jbss_MortgageFacilityTrancheMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=jbss_MortgageFacilityTrancheBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=jbss_MortgageFacilityMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LongtermDebtTypeAxis=jbss_SelmaTexasFacilityFinancingObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementScenarioAxis=us-gaap_ScenarioForecastMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |