# Store brief

Everything an AI assistant must know before it configures a store with the Handoff theme. The assistant fills this file first, by asking the merchant and reading the merchant's documents, then applies every setting and every metafield from it. Rule: a value that is not verified stays out. An absent value shows nothing on the store, a guessed value shows something false. "x-applies-to" names the theme setting, the metafield, or the Shopify field each value goes to.

The schema is in [`kit/store-brief.schema.json`](kit/store-brief.schema.json).

## brand

Who the store is.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `brand.name` | yes | The name shoppers see. | Shopify store name |
| `brand.tagline` | no | One short line. Optional. | home page, hero heading |
| `brand.description` | yes | One or two sentences that say what the store sells and for whom. 40 words max. | theme setting brand_description |
| `brand.voice` | no | How the store writes, in a few words: for example "plain, technical, no superlatives". | every text the assistant writes |
| `brand.logo_file` | no | File name of the logo the merchant provided. | theme setting logo |
| `brand.social_profiles[]` | no | Official social media profiles. | theme settings social_*_link |

## style

How the store looks.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `style.preset` | no | Name of the theme style closest to the brand, chosen from setup/presets.json. | theme preset |
| `style.colors` | no | Brand colors as six-digit hex codes. Leave out a color to keep the one of the style. |  |
| `style.colors.background` | no | Page background. | theme setting color_background |
| `style.colors.text` | no | Text on the page background. Contrast 4.5:1 or more. | theme setting color_text |
| `style.colors.accent` | no | The one accent color: primary buttons, sale prices. | theme setting color_accent |
| `style.colors.accent_text` | no | Text on the accent color. Contrast 4.5:1 or more. | theme setting color_accent_text |
| `style.fonts` | no | Fonts from the Shopify font library. Leave out to keep the fonts of the style. Prefer a font listed as covered in setup/fonts.json: it loads after the main image without moving the text. |  |
| `style.fonts.heading` | no | Font for headings. | theme setting type_heading_font |
| `style.fonts.body` | no | Font for body text. | theme setting type_body_font |

## legal

Legal identity and contact. It feeds the structured data of the home page.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `legal.legal_name` | yes | Registered company name. | theme setting brand_legal_name |
| `legal.email` | no | Address customers can write to. | theme setting brand_email |
| `legal.phone` | no | International format. Optional. | theme setting brand_phone |
| `legal.address` | no | Registered business address. Leave out when it is not public. |  |
| `legal.address.street` | yes | Number and street. | theme setting brand_address_street |
| `legal.address.city` | yes | City. | theme setting brand_address_city |
| `legal.address.region` | no | State, province, or county. Optional. | theme setting brand_address_region |
| `legal.address.postal_code` | no | Postal code. | theme setting brand_address_postal_code |
| `legal.address.country_code` | yes | Two-letter ISO 3166-1 code. | theme setting brand_address_country_code |

## delivery

Delivery, exactly as the shipping policy and the Shopify shipping settings state it.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `delivery.countries[]` | yes | Countries the store delivers to. | theme setting shipping_countries |
| `delivery.handling_days_min` | no | Working days between order and dispatch, minimum. | theme setting shipping_handling_days_min |
| `delivery.handling_days_max` | no | Working days between order and dispatch, maximum. | theme setting shipping_handling_days_max |
| `delivery.transit_days_min` | no | Working days between dispatch and delivery, minimum. | theme setting shipping_transit_days_min |
| `delivery.transit_days_max` | no | Working days between dispatch and delivery, maximum. | theme setting shipping_transit_days_max |
| `delivery.business_days` | no | Days counted as working days. | theme setting shipping_business_days |
| `delivery.rate` | no | Shipping rate in the store currency. 0 for free shipping. Leave out when rates vary. | theme setting shipping_rate |
| `delivery.free_threshold` | no | Order value from which shipping is free. Leave out when there is none. | theme setting shipping_free_threshold |
| `delivery.source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, <date>". A fact without a source is left out. |  |

## returns

Returns, exactly as the refund policy states them.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `returns.days` | yes | Days a customer has to return an item. 0 when returns are not accepted. | theme setting returns_days |
| `returns.fees` | no | Who pays for the return. | theme setting returns_fees |
| `returns.shipping_fee` | no | Only with fixed_fee: the return shipping fee in the store currency. | theme setting returns_shipping_fee |
| `returns.method` | no | How an item is returned. | theme setting returns_method |
| `returns.source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, <date>". A fact without a source is left out. |  |

## markets

Markets the store sells in. Information for the assistant: markets are set up in the Shopify admin, not in the theme.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `markets[].country_code` | yes | Two-letter ISO 3166-1 code. |  |
| `markets[].currency` | no | ISO 4217 code. |  |
| `markets[].language` | no | ISO 639-1 code. |  |

## navigation

Menus.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `navigation.main_menu[]` | no | Top-level items of the main menu. | menu main-menu |
| `navigation.footer_menu[]` | no | Items of the footer menu. | menu footer |

## products

One entry per product.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `products[].handle` | yes | Handle of the product in Shopify. |  |
| `products[].category` | no | The most precise category of Shopify's product taxonomy. | product category |
| `products[].brand` | no | The real brand of the product. Leave out when the store is the brand and it should not be declared. | product metafield custom.brand |
| `products[].quick_answer` | no | One or two sentences: what it is, who it is for, what is included. | product metafield custom.quick_answer |
| `products[].size` | no | Main size with its unit. | product metafield custom.size |
| `products[].material` | no | Main materials. | product metafield custom.material |
| `products[].in_the_box[]` | no | What is in the box. | product metafield custom.in_the_box |
| `products[].specifications[]` | no | Measurable facts: dimensions, weight, capacity. | one product metafield per fact, listed in the Specifications block |
| `products[].specifications[].label` | yes | Name of the fact, for example "Diameter". |  |
| `products[].specifications[].value` | yes | Value with its unit, for example "58.5 mm". |  |
| `products[].specifications[].source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, <date>". A fact without a source is left out. |  |
| `products[].compatibility[]` | no | What the product fits and does not fit. | compatibility_item entries linked in product metafield custom.compatibility |
| `products[].compatibility[].name` | yes | The machine, model, or family. |  |
| `products[].compatibility[].model_codes[]` | no | Model codes. |  |
| `products[].compatibility[].status` | yes | fits or does_not_fit only when the source says so. ask otherwise. |  |
| `products[].compatibility[].note` | no | A short note, for example the adapter that is needed. |  |
| `products[].compatibility[].source` | no | Where this fact was verified: a document name and page, a policy URL, or "merchant, <date>". A fact without a source is left out. |  |
| `products[].who_its_for[]` | no | Who the product suits. Two to four points. | product metafield custom.who_its_for |
| `products[].not_for[]` | no | When another product is a better choice. One to three points. | product metafield custom.not_for |
| `products[].questions[]` | no | Three to six questions shoppers really ask. | faq_item entries linked in product metafield custom.faq |
| `products[].questions[].question` | yes | In the words customers use. |  |
| `products[].questions[].answer` | yes | Starts with the answer itself. |  |
| `products[].questions[].source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, <date>". A fact without a source is left out. |  |
| `products[].images[]` | no | Image descriptions. | alt text of product media |
| `products[].images[].file` | yes | File name. |  |
| `products[].images[].alt` | yes | One sentence that says what the image shows. |  |

## collections

One entry per collection shown in a menu.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `collections[].handle` | yes | Handle of the collection in Shopify. |  |
| `collections[].description` | no | Two sentences. | collection description |
| `collections[].buying_guide` | no | Three to five sentences on how to choose among these products, from the product facts only. | collection metafield custom.buying_guide |

## guides

One guide per big customer question.

| Field | Required | What to put | Where it goes |
|---|---|---|---|
| `guides[].question` | yes | The customer question the guide answers. It becomes the title. |  |
| `guides[].short_answer` | yes | The answer in one or two sentences. It becomes the excerpt, shown in bold. |  |
| `guides[].products[]` | no | Products named in the guide. | article metafield custom.related_products |
| `guides[].sources[]` | no | Where the content of the guide comes from. |  |
