# Data dictionary

`mattress_deadlines.csv` has one row per brand purchase route; all cells are text except the optional integer `optout_days`. `trial_days` is a text field to preserve product-dependent lengths. Blank = no verified value entered or not applicable to the located initial procedure. `not located` means no provision found in the inspected documents, not proof of absence. `unresolved` and `blocked` are uncertainty/access classifications, not negative findings. Source date not located is not an access date. All current research dates are 2026-11-28.

| Field | Meaning |
|---|---|
| brand | Consumer-facing brand, not necessarily separate company |
| legal_entity | Named entity in the checked agreement or warranty; unknown identified as such |
| baseline_product | Eligible household adult mattress scope and example or exception |
| terms_status | Readable or blocked/unavailable for general terms |
| framework_group | Descriptive comparison bucket: 3Z and ASHLEY share verified frameworks; other readable rows singleton; UNRESOLVED excluded |
| terms_date | Stated effective/update date, or missing |
| terms_url | Official general terms or attempted official URL |
| terms_section | Heading or section to locate the relevant language |
| arbitration_in_terms | General terms wording: yes, judge litigation, inconsistent, not located, unresolved |
| initial_optout | Stated, not located in checked documents, or unresolved |
| optout_days | Numeric stated duration; blank where not established |
| trigger | Event starting the opt-out period, ambiguity preserved |
| day_wording | Stated days or business-day modifier and statutory qualification where specified |
| method | Permitted initial opt-out channels, or missing |
| destination | Published notice destination(s); confirm before using |
| identification | Required identifying details and statement as disclosed |
| timing_rule | Sent/received/postmarked wording, or ambiguity |
| scope | Document-level scope of arbitration or opt-out |
| survival | Express continuing provisions, or no determination |
| exceptions | Documented exceptions or item requiring confirmation |
| trial_days | Stated trial length; variable lengths preserved |
| trial_start | Express commencement event or unresolved |
| minimum_use | Required break-in/return restriction, recommendation, or unknown |
| earliest_request_or_return | What is actually established about first ordinary request/return |
| conditions | Important eligibility conditions, not exhaustive |
| trial_url | Official trial, returns or sale document |
| trial_date | Stated effective/update date where identified |
| warranty_url | Official mattress warranty or relevant support document/attempted URL |
| warranty_dispute | Warranty's own dispute language, incorporation or absence/access limitation |
| extra_documents | Additional checked URLs or description of related documents |
| uncertainty | Conflicts, scope/wording gaps or access failure |
| evidence_summary | Short paraphrase of key source findings |
| access_date | Date of this research snapshot |

`source_register.csv` contains one record per brand URL/document, including a combined document's multiple roles. Fields: `source_id` stable local identifier; `brand`; `document_title` descriptive title; `roles` general terms, trial/return, warranty, linked process, support, or discovery; `url`; `stated_date`; `section_locator`; `access_status` readable or unavailable; `evidence_note` paraphrased evidence or short excerpt; `access_date`. A readable support document may not be the full contract. Dates and scope may differ between sections. Evidence is paraphrased unless small quotation marks are used; consult the full source for precise wording.

`hypothetical_scenarios.csv` has one row per illustrative case, not actual purchases. `case_id`, `brand`, `assumed_first_visit`, `assumed_acceptance`, `assumed_purchase`, `assumed_delivery`, `delivery_delay_days`, `optout_marker`, `trial_start_marker`, `earliest_opened_return_marker`, `final_trial_marker`, `gap_days`, `gap_basis`, `return_qualification`, `terms_url`, `trial_url`, `assumptions`. Empty marker = not calculated from source wording. All dates are ordinary elapsed-day marks, not legal deadlines. Positive gap = later milestone occurs after opt-out marker. No claim is made that every brand uses the same calendar counting convention.

`reproduce_counts.py` independently recalculates document and route counts and elapsed-day scenario markers from the supplied CSVs. The script verifies internal consistency, not legal enforceability or continued source availability.
