{"docs":{"name":"Uptick","info":"<p>Welcome to the Uptick API documentation! Our API empowers publishers to seamlessly integrate our ad platform into their offer flow, enabling them to provide targeted offers to their users at crucial moments during the checkout process or while waiting for order delivery. By leveraging our API, publishers can enhance user experience and maximize revenue opportunities.</p>\n    <a href=\"#key-benefits\" aria-label=\"Navigate to header\">\n      <h2 id=\"key-benefits\">\n        Key Benefits\n      </h2>\n    </a>\n    \n<ol>\n<li><strong>Seamless Integration</strong>: Our API is designed for easy integration into your existing offer flow, minimizing development time and effort.\n</li><li><strong>Targeted Offers</strong>: With access to our platform, publishers can request tailored offers based on user behavior, preferences, and transaction data, ensuring relevance and effectiveness.\n</li><li><strong>Enhanced Monetization</strong>: By incorporating our ad units into your offer flow, you can unlock additional revenue streams while delivering value to your users.\n</li></ol>\n\n    <a href=\"#getting-started\" aria-label=\"Navigate to header\">\n      <h2 id=\"getting-started\">\n        Getting Started\n      </h2>\n    </a>\n    <p>There are 3 main operations when working with our API.</p><p>\n      <div class=\"grid grid-cols-2 gap-x-4\">\n        \n  \n      <a href=\"/api/v1/flows/new.en.html\" class=\"card block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:!border-primary dark:hover:!border-primary-light\">\n        <div class=\"px-6 py-5\">\n          <div class=\"h-6 w-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100\">\n            <i class=\"h-6 w-6 text-primary fa-solid fa-square-pen\"></i>\n          </div>\n          <div>\n            <h2 class=\"font-semibold text-base text-gray-800 dark:text-white mt-4\">New Offer Flow</h2>\n            <div class=\"mt-1 font-normal text-sm leading-6 text-gray-600 dark:text-gray-400\">\n              <p>\n    This endpoint allows publishers to create a new offer flow for end users, defining the parameters and triggers for displaying relevant offers.\n  </p>\n            </div>\n          </div>\n        </div>\n      </a>\n    \n  \n      <a href=\"/api/v1/offers/new.en.html\" class=\"card block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:!border-primary dark:hover:!border-primary-light\">\n        <div class=\"px-6 py-5\">\n          <div class=\"h-6 w-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100\">\n            <i class=\"h-6 w-6 text-primary fa-solid fa-image\"></i>\n          </div>\n          <div>\n            <h2 class=\"font-semibold text-base text-gray-800 dark:text-white mt-4\">Next Offer</h2>\n            <div class=\"mt-1 font-normal text-sm leading-6 text-gray-600 dark:text-gray-400\">\n              <p>\n    Publishers can use this endpoint to request offers for a specific offer flow, triggering the retrieval of targeted offers from our platform.\n  </p>\n            </div>\n          </div>\n        </div>\n      </a>\n    \n  \n      <a href=\"/api/v1/events/create.en.html\" class=\"card block not-prose font-normal group relative my-2 ring-2 ring-transparent rounded-xl bg-white dark:bg-background-dark border border-gray-950/10 dark:border-white/10 overflow-hidden w-full cursor-pointer hover:!border-primary dark:hover:!border-primary-light\">\n        <div class=\"px-6 py-5\">\n          <div class=\"h-6 w-6 fill-gray-800 dark:fill-gray-100 text-gray-800 dark:text-gray-100\">\n            <i class=\"h-6 w-6 text-primary fa-solid fa-calendar-check\"></i>\n          </div>\n          <div>\n            <h2 class=\"font-semibold text-base text-gray-800 dark:text-white mt-4\">Flow Event</h2>\n            <div class=\"mt-1 font-normal text-sm leading-6 text-gray-600 dark:text-gray-400\">\n              <p>\n    This is to send an event back to the server, specifically for the offer_viewed event.\n  </p>\n            </div>\n          </div>\n        </div>\n      </a>\n    \n\n      </div>\n    </p><p>You always start by creating a new flow and then following the links in the response.</p><pre class=\"mermaid not-prose\">graph LR\n  A[New Offer Flow] -- Links --> B((Next Offer))\n  B[Next Offer] -- Links --> C((Flow Event))\n</pre>\n<ol>\n<li>Call <code>/api/v1/flows/new</code>\n</li><li>Top level response includes a <code>links</code> section, find and use the url for <code>next_offer</code>\n</li><li>Top level response for calling <code>next_offer</code> will have a <code>links</code> section, find and use the url for <code>offer_event</code> and append <code>ev=offer_viewed</code>.\n</li></ol>\n\n    <a href=\"#next-steps\" aria-label=\"Navigate to header\">\n      <h2 id=\"next-steps\">\n        Next Steps\n      </h2>\n    </a>\n    <p>Explore the detailed documentation for each endpoint to understand how to make requests, handle responses, and integrate our API seamlessly into your offer flow. If you have any questions or need assistance, our support team is here to help.</p>\n<hr>\n\n    <a href=\"#segment-rendering-spec\" aria-label=\"Navigate to header\">\n      <h1 id=\"segment-rendering-spec\">\n        Segment Rendering Spec\n      </h1>\n    </a>\n    <p><strong>Status:</strong> stable · <strong>Applies to:</strong> <code>component_template_*</code> offer templates</p><p>This is the <strong>compiled-output contract</strong>: how a fully-resolved segment tree\nrenders. It&rsquo;s platform-independent — the web renderer (Ruby + Tailwind, in this\npack) and the mobile SDK (consuming the same API payload) MUST produce these\nexact values. If a token resolves to a different size or color in any\nimplementation, that implementation is wrong, not this document.</p><p>This is the <em>value contract</em>: the concrete sizes, colors, borders, and layout\nrules every renderer must reproduce, plus (§11) which styles each segment type\naccepts. It describes the tree <strong>after</strong> the server has evaluated everything;\nhow that tree is <em>authored</em> is a separate concern (see the companion docs).</p>\n<blockquote>\n<p><strong>The three docs.</strong> A template flows through three stages, one doc each:\n- <strong><code>expression_layer_spec.md</code></strong> — <em>authored / pre-compiled</em>: how a template is\n  written (expressions, Liquid values, bindings, responsive <code>{base, md}</code> maps).\n- <strong><code>segment_rendering_spec.md</code></strong> (this doc) — <em>compiled / output</em>: the resolved\n  tree and the value scales every client renders.\n- <strong><code>segment_styling.md</code></strong> — <em>web implementation</em>: how the web renderer turns\n  this contract into Tailwind/HTML.</p><p><strong>Versioning.</strong> The wire contract is frozen at <strong>1.0</strong>; any change to a value or\ntoken is a new version (1.1, 2.0). A payload doesn&rsquo;t carry a spec version; the\nplacement&rsquo;s template family fixes it. (The filename is unversioned — this is one\npart of the system, not a version of the whole.)</p></blockquote>\n\n<hr>\n\n    <a href=\"#-units\" aria-label=\"Navigate to header\">\n      <h2 id=\"-units\">\n        1. Units\n      </h2>\n    </a>\n    <p>The web renderer expresses spacing and sizing in <strong><code>em</code></strong> (relative to the\nelement&rsquo;s own font-size), not <code>rem</code>/px. The canonical value is the <code>em</code>.</p><p><strong>Everything keys off one absolute base font-size.</strong> Because the scale is\nem-based, the offer&rsquo;s base font-size scales the <em>entire</em> design — text <strong>and</strong>\nspacing <strong>and</strong> box sizes — proportionally. The base is set <strong>once, as an\nabsolute px value</strong> on the offer root (not an <code>em</code>/<code>rem</code> token), so the offer\nrenders at the <strong>same size on every host site</strong> regardless of the host page&rsquo;s\nfont-size. It is a <strong>per-template input</strong>:</p>\n<ul>\n<li><strong><code>component_template_100</code> anchors its base to a fixed <code>14px</code></strong> (matching\ntemplate_002). So its concrete px = <code>em × 14</code>, exactly, on any site.\n</li><li>The px columns below are quoted at a <strong>16px</strong> reference base for readability;\nmultiply by <code>base / 16</code> for a given template (e.g. ×<code>14/16</code> for ct100, so\n<code>medium</code> = 14px, <code>large</code> = 15.75px, <code>x-large</code> = 17.5px, …).\n</li></ul>\n<p>An implementation conforms by reproducing the <strong>em ratios</strong> against the\ntemplate&rsquo;s declared absolute base, not the 16px reference numbers literally.</p>\n<ul>\n<li>Colors are absolute (hex).\n</li><li>Borders are absolute (px) — they are <em>not</em> em-scaled.\n</li></ul>\n\n<hr>\n\n    <a href=\"#-spacing-scale--codepaddingcode-codemargincode\" aria-label=\"Navigate to header\">\n      <h2 id=\"-spacing-scale--codepaddingcode-codemargincode\">\n        2. Spacing scale — <code>padding</code>, <code>margin_*</code>\n      </h2>\n    </a>\n    <p>Contiguous; each step is +0.25em. No skipped steps. Extend with higher numbered\nlabels (<code>4x-loose</code> …) rather than gaps.</p>\n<table><thead>\n<tr>\n<th>token</th>\n<th>em</th>\n<th>px@16</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>x-tight</code></td>\n<td>0.25</td>\n<td>4</td>\n</tr>\n<tr>\n<td><code>tight</code></td>\n<td>0.5</td>\n<td>8</td>\n</tr>\n<tr>\n<td><code>normal</code></td>\n<td>0.75</td>\n<td>12</td>\n</tr>\n<tr>\n<td><code>loose</code></td>\n<td>1.0</td>\n<td>16</td>\n</tr>\n<tr>\n<td><code>x-loose</code></td>\n<td>1.25</td>\n<td>20</td>\n</tr>\n<tr>\n<td><code>2x-loose</code></td>\n<td>1.5</td>\n<td>24</td>\n</tr>\n<tr>\n<td><code>3x-loose</code></td>\n<td>1.75</td>\n<td>28</td>\n</tr>\n</tbody></table>\n\n<ul>\n<li><code>padding</code>: a single token (all sides), <code>[vertical, horizontal]</code>, or\n<code>[top, right, bottom, left]</code>. <code>none</code> (or an absent side) = 0.\n</li><li><code>margin_top</code> / <code>margin_right</code> / <code>margin_bottom</code> / <code>margin_left</code>: a single\ntoken, optionally <strong>negated</strong> with a leading <code>-</code> (e.g. <code>-tight</code> = -0.5em / -8px).\nNegative applies to margins only (there is no negative padding/size/border).\n</li></ul>\n\n    <a href=\"#-box-size-scale--codewidthcode-codeheightcode-badge-codesizecode\" aria-label=\"Navigate to header\">\n      <h2 id=\"-box-size-scale--codewidthcode-codeheightcode-badge-codesizecode\">\n        3. Box-size scale — <code>width</code>, <code>height</code>, badge <code>size</code>\n      </h2>\n    </a>\n    <p>One shared, contiguous scale (+0.25em per step). <code>width: small</code> == <code>height: small</code>\n== a badge&rsquo;s <code>size: small</code>.</p>\n<table><thead>\n<tr>\n<th>token</th>\n<th>em</th>\n<th>px@16</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>2x-small</code></td>\n<td>0.75</td>\n<td>12</td>\n</tr>\n<tr>\n<td><code>x-small</code></td>\n<td>1.0</td>\n<td>16</td>\n</tr>\n<tr>\n<td><code>small</code></td>\n<td>1.25</td>\n<td>20</td>\n</tr>\n<tr>\n<td><code>medium</code></td>\n<td>1.5</td>\n<td>24</td>\n</tr>\n<tr>\n<td><code>large</code></td>\n<td>1.75</td>\n<td>28</td>\n</tr>\n<tr>\n<td><code>x-large</code></td>\n<td>2.0</td>\n<td>32</td>\n</tr>\n<tr>\n<td><code>2x-large</code></td>\n<td>2.25</td>\n<td>36</td>\n</tr>\n</tbody></table>\n\n<ul>\n<li><code>width</code> / <code>height</code> also accept <code>auto</code> and <code>full</code> (100% of the parent).\n</li><li>A badge&rsquo;s <code>size</code> drives <strong>both</strong> the circle dimensions (this scale) and its\nfont (the font scale below) from the one token.\n</li></ul>\n\n    <a href=\"#-font-scale--codesizecode\" aria-label=\"Navigate to header\">\n      <h2 id=\"-font-scale--codesizecode\">\n        4. Font scale — <code>size</code>\n      </h2>\n    </a>\n    \n<table><thead>\n<tr>\n<th>token</th>\n<th>em</th>\n<th>px@16</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>2x-small</code></td>\n<td>0.625</td>\n<td>10</td>\n</tr>\n<tr>\n<td><code>x-small</code></td>\n<td>0.75</td>\n<td>12</td>\n</tr>\n<tr>\n<td><code>small</code></td>\n<td>0.875</td>\n<td>14</td>\n</tr>\n<tr>\n<td><code>medium</code></td>\n<td>1.0</td>\n<td>16</td>\n</tr>\n<tr>\n<td><code>large</code></td>\n<td>1.125</td>\n<td>18</td>\n</tr>\n<tr>\n<td><code>x-large</code></td>\n<td>1.25</td>\n<td>20</td>\n</tr>\n<tr>\n<td><code>2x-large</code></td>\n<td>1.5</td>\n<td>24</td>\n</tr>\n<tr>\n<td><code>3x-large</code></td>\n<td>1.875</td>\n<td>30</td>\n</tr>\n<tr>\n<td><code>4x-large</code></td>\n<td>2.25</td>\n<td>36</td>\n</tr>\n</tbody></table>\n<p><code>extraSmall</code> is a legacy alias for <code>x-small</code> (rich-text-parser output).</p><p><strong><code>size</code> is <code>em</code>, so it compounds when nested.</strong> A sized element inside another\nsized element multiplies — e.g. a <code>large</code> (1.125em) text run inside an\n<code>x-large</code> (1.25em) heading renders at 1.25 × 1.125 × base, not 1.25 × base. Each\npiece of text must be sized <strong>once</strong>: a heading owns its size and its text runs\ninherit it (don&rsquo;t carry their own <code>size</code>). An implementation that applies\nabsolute per-element sizes (no cascade) must therefore flatten to one size per\ntext run to match.</p>\n    <a href=\"#-colors\" aria-label=\"Navigate to header\">\n      <h2 id=\"-colors\">\n        5. Colors\n      </h2>\n    </a>\n    <p>Named tokens resolve to fixed hex. Any non-named value (a <code>#hex</code> or <code>rgb(...)</code>)\npasses through verbatim as an inline color.</p>\n<table><thead>\n<tr>\n<th>token</th>\n<th>hex</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>white</code></td>\n<td><code>#FFFFFF</code></td>\n</tr>\n<tr>\n<td><code>lightergray</code></td>\n<td><code>#E5E7EB</code></td>\n</tr>\n<tr>\n<td><code>lightgray</code></td>\n<td><code>#9CA3AF</code></td>\n</tr>\n<tr>\n<td><code>gray</code></td>\n<td><code>#6B7280</code></td>\n</tr>\n<tr>\n<td><code>darkgray</code></td>\n<td><code>#374151</code></td>\n</tr>\n<tr>\n<td><code>black</code></td>\n<td><code>#000000</code></td>\n</tr>\n</tbody></table>\n<p>A token resolves to the <strong>same hex</strong> whether used as text, background, or border\ncolor. (<code>lightergray</code> is the light fill; <code>lightgray</code> is the mid-tone used for\nsecondary text.)</p><p><code>appearance</code>: <code>subdued</code> = muted secondary treatment (decoration color\n<code>#E5E7EB</code>); <code>monochrome</code> = text color <code>#E5E7EB</code>.</p>\n    <a href=\"#-borders\" aria-label=\"Navigate to header\">\n      <h2 id=\"-borders\">\n        6. Borders\n      </h2>\n    </a>\n    \n<table><thead>\n<tr>\n<th>attribute</th>\n<th>values</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>border</code> (line style)</td>\n<td><code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code></td>\n</tr>\n<tr>\n<td><code>border_width</code></td>\n<td><code>none</code>=0, <code>small</code>=1px, <code>medium</code>=2px, <code>large</code>=4px — or a per-side array (same shape as <code>padding</code>). Native 1/2/4 scale; <strong>no 3px step.</strong></td>\n</tr>\n<tr>\n<td><code>border_color</code></td>\n<td>the color tokens in §5 (default mid-gray <code>#888888</code> when <code>border</code> is set without a color)</td>\n</tr>\n<tr>\n<td><code>border_radius</code></td>\n<td><code>rounded</code> = 4px, <code>full</code> = fully rounded (pill/circle)</td>\n</tr>\n</tbody></table>\n<p>Border <code>style</code>, <code>width</code>, and <code>color</code> are independent axes. Widths are absolute\npx (not em-scaled).</p>\n    <a href=\"#-max-dimensions\" aria-label=\"Navigate to header\">\n      <h2 id=\"-max-dimensions\">\n        7. Max dimensions\n      </h2>\n    </a>\n    \n<table><thead>\n<tr>\n<th><code>max_width</code></th>\n<th>em</th>\n<th>px@16</th>\n<th></th>\n<th><code>max_height</code></th>\n<th>em</th>\n<th>px@16</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>small</code></td>\n<td>7</td>\n<td>112</td>\n<td></td>\n<td><code>2x-small</code></td>\n<td>1.75</td>\n<td>28</td>\n</tr>\n<tr>\n<td><code>medium</code></td>\n<td>9</td>\n<td>144</td>\n<td></td>\n<td><code>x-small</code></td>\n<td>3.5</td>\n<td>56</td>\n</tr>\n<tr>\n<td><code>large</code></td>\n<td>11</td>\n<td>176</td>\n<td></td>\n<td><code>small</code></td>\n<td>7</td>\n<td>112</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td><code>medium</code></td>\n<td>9</td>\n<td>144</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n<td></td>\n<td><code>large</code></td>\n<td>11</td>\n<td>176</td>\n</tr>\n</tbody></table>\n\n    <a href=\"#-layout--flex-model\" aria-label=\"Navigate to header\">\n      <h2 id=\"-layout--flex-model\">\n        8. Layout / flex model\n      </h2>\n    </a>\n    \n<table><thead>\n<tr>\n<th>attribute</th>\n<th>values → behaviour</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>display</code></td>\n<td><code>none</code> (hidden), <code>auto</code> (flex), <code>block</code>, <code>inline_block</code></td>\n</tr>\n<tr>\n<td><code>direction</code></td>\n<td><code>horizontal</code> (row), <code>vertical</code> (column)</td>\n</tr>\n<tr>\n<td><code>align</code></td>\n<td>main-axis justify + cross-axis center: <code>start</code>, <code>center</code>, <code>space-between</code>, <code>end</code></td>\n</tr>\n<tr>\n<td><code>vertical_align</code></td>\n<td>align-self: <code>start</code>, <code>center</code></td>\n</tr>\n<tr>\n<td><code>order</code></td>\n<td>integer flex order</td>\n</tr>\n<tr>\n<td><code>columns</code> <em>(on a flex parent)</em></td>\n<td>per-child array; each entry sizes that child: <code>auto</code> (grow+shrink to content), <code>fill</code> (equal share), <code>none</code> (fixed), <code>25%</code> / <code>50%</code> / <code>75%</code> (basis fraction)</td>\n</tr>\n</tbody></table>\n\n    <a href=\"#-responsive--codebase-mdcode-maps\" aria-label=\"Navigate to header\">\n      <h2 id=\"-responsive--codebase-mdcode-maps\">\n        9. Responsive — <code>{base, md}</code> maps\n      </h2>\n    </a>\n    <p>A single breakpoint, mobile-first. A responsive layout attribute is a map keyed\nby breakpoint: <code>base</code> applies always; <code>md</code> overrides at <strong>viewport width ≥ 768px</strong>\n(web emits Tailwind <code>md:</code>; the mobile SDK applies it above its own 768px-equivalent\nthreshold). A non-responsive attribute is a plain scalar/array.</p><pre>{ \"attributes\": { \"direction\": { \"base\": \"vertical\", \"md\": \"horizontal\" },\n                  \"padding\": \"tight\" } }\n</pre><p>Only <strong>layout</strong> attributes may carry a <code>{base, md}</code> map — <code>display</code>, <code>direction</code>,\n<code>align</code>, <code>columns</code>, <code>width</code>, <code>height</code>, <code>size</code>, <code>padding</code>. Layout reflows across\nwidths; color/typography/border stay fixed. A map on any other attribute is ignored.</p>\n    <a href=\"#-modal\" aria-label=\"Navigate to header\">\n      <h2 id=\"-modal\">\n        10. Modal\n      </h2>\n    </a>\n    <p>Bespoke container: full-viewport overlay (<code>#000000</code> at 40% opacity) with <code>6em</code>\ntop padding, and a centred white panel (≈92% width on mobile, 80% on desktop)\nwith a drop shadow and slide-down entry. Panel max width by <code>max_width</code>:\n<code>narrow</code> = 400px, <code>wide</code> = 1000px, default = 800px.</p>\n    <a href=\"#-which-styles-apply-to-which-segment-types\" aria-label=\"Navigate to header\">\n      <h2 id=\"-which-styles-apply-to-which-segment-types\">\n        11. Which styles apply to which segment types\n      </h2>\n    </a>\n    <p>Styling attributes are partitioned into <strong>groups</strong>; each segment type accepts a\nfixed set of them. A renderer MUST ignore (and SHOULD warn on) an attribute\napplied to a type that does not support its group.</p>\n<table><thead>\n<tr>\n<th>Group</th>\n<th>Attributes</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><strong>base</strong> <em>(always on)</em></td>\n<td><code>display</code></td>\n</tr>\n<tr>\n<td><strong>typography</strong></td>\n<td><code>color</code>, <code>size</code>, <code>text_align</code>, <code>underline</code>, <code>appearance</code></td>\n</tr>\n<tr>\n<td><strong>text_inline</strong></td>\n<td><code>emphasis</code>, <code>white_space</code></td>\n</tr>\n<tr>\n<td><strong>box</strong></td>\n<td><code>padding</code>, <code>margin_top</code> / <code>margin_right</code> / <code>margin_bottom</code> / <code>margin_left</code>, <code>background</code>, <code>border</code>, <code>border_width</code>, <code>border_color</code>, <code>border_radius</code></td>\n</tr>\n<tr>\n<td><strong>flex_container</strong></td>\n<td><code>direction</code>, <code>align</code>, <code>columns</code></td>\n</tr>\n<tr>\n<td><strong>flex_item</strong></td>\n<td><code>order</code>, <code>vertical_align</code></td>\n</tr>\n<tr>\n<td><strong>sizing</strong></td>\n<td><code>width</code>, <code>height</code>, <code>max_width</code>, <code>max_height</code></td>\n</tr>\n</tbody></table>\n\n<table><thead>\n<tr>\n<th>Type</th>\n<th style=\"text-align: center\">base</th>\n<th style=\"text-align: center\">typography</th>\n<th style=\"text-align: center\">text_inline</th>\n<th style=\"text-align: center\">box</th>\n<th style=\"text-align: center\">flex_container</th>\n<th style=\"text-align: center\">flex_item</th>\n<th style=\"text-align: center\">sizing</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>view</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>grid</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>inline_layout</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>block_layout</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>text</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n</tr>\n<tr>\n<td><code>heading</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n</tr>\n<tr>\n<td><code>button</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>link</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>pressable</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>image</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>badge</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n</tr>\n<tr>\n<td><code>spacer</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\">✓</td>\n</tr>\n<tr>\n<td><code>modal</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n</tr>\n<tr>\n<td><code>icon</code> / <code>newline</code> / <code>default</code></td>\n<td style=\"text-align: center\">✓</td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n<td style=\"text-align: center\"></td>\n</tr>\n</tbody></table>\n<p>Notes:\n- <code>block_layout</code> has a fixed internal layout, so it omits flex<em>container (an\n  <code>align</code>/<code>direction</code> would fight its baseline); it still accepts flex</em>item.\n- Text types take no box/flex/sizing — spacing around copy belongs on a\n  wrapping container, not the text run itself.\n- <code>columns</code> is authored on a flex parent (<code>grid</code> / <code>inline_layout</code>) to size its\n  children; <code>icon</code> / <code>newline</code> / <code>default</code> render fixed markup and ignore\n  attributes.</p><p>For the exact attributes each type accepts, with descriptions and allowed\nvalues, see that type&rsquo;s API endpoint.</p>\n    <a href=\"#-validation\" aria-label=\"Navigate to header\">\n      <h2 id=\"-validation\">\n        12. Validation\n      </h2>\n    </a>\n    <p>Two renderers conform to v1.0 when, for an identical segment payload, every\nresolved value (spacing, size, font, color, border, radius, layout, and the\n≥768px overrides) matches the tables above. The web renderer&rsquo;s golden-master\ntest (<code>segment_golden_master_test.rb</code>) locks its output; the mobile SDK should\ncarry an equivalent fixture suite checked against these same values.</p>\n<hr>\n\n    <a href=\"#offer-template-expression-layer\" aria-label=\"Navigate to header\">\n      <h1 id=\"offer-template-expression-layer\">\n        Offer Template Expression Layer\n      </h1>\n    </a>\n    <p><strong>Status:</strong> implemented. The value layer (Liquid over the open <code>TemplateContext</code>),\nthe structure operators (<code>$if</code> / <code>$each</code> / <code>$range</code> / <code>$wrap_when</code>), the validator,\nand the editor are built. This doc covers the <strong>authoring</strong> layer &ndash; how a stored\ndefinition is written and evaluated &ndash; and the design rationale behind it.</p>\n<blockquote>\n<p><strong>The three docs.</strong> A template flows through three stages, one doc each:\n- <strong><code>expression_layer_spec.md</code></strong> (this doc) — <em>authored / pre-compiled</em>: the\n  dialect, Liquid values, bindings, responsive <code>{base, md}</code>.\n- <strong><code>segment_rendering_spec.md</code></strong> — <em>compiled / output</em>: the resolved tree and\n  value scales the server compiles this into, that every client renders.\n- <strong><code>segment_styling.md</code></strong> — <em>web implementation</em>: how the web renderer turns\n  that contract into Tailwind/HTML.</p><p><strong>On naming:</strong> this is the first shipped form of the authoring layer, so the doc\nis not version-suffixed. The dialect carries its own runtime version\n(<code>DIALECT_VERSION</code>, persisted per template as <code>expression_dialect_version</code>) so it\ncan evolve without renaming anything. Only the <em>wire</em> contract is formally\nversioned, because clients depend on it.</p></blockquote>\n\n    <a href=\"#the-problem-this-solves\" aria-label=\"Navigate to header\">\n      <h2 id=\"the-problem-this-solves\">\n        The problem this solves\n      </h2>\n    </a>\n    <p>The editor&rsquo;s premise is that a <strong>non-developer can create and iterate offer designs\nwithout involving engineering.</strong> A stored format that is <em>only</em> a thin JSON dialect\n(<code>$bind</code> / <code>$if</code> / <code>$each</code> / <code>$fn</code> over a small function registry and a hand-picked\nbinding allow-list) fails that premise: anything it cannot express forces a\nbackend/view-model change, which re-couples design to dev work &ndash; at which point\nhardcoded Ruby templates are simply better.</p><p>Any genuinely rich design surfaces this at once: money math, currency formatting,\ndeterministic &ldquo;social proof&rdquo; counts, conditionally-shown panels &ndash; none have a home\nin a thin dialect without new backend code.</p>\n    <a href=\"#the-principle\" aria-label=\"Navigate to header\">\n      <h2 id=\"the-principle\">\n        The principle\n      </h2>\n    </a>\n    \n<blockquote>\n<p><strong>Structure is declarative. Values are computed by a sandboxed, server-evaluated\nexpression language with a generous, <em>general</em> standard library. The server\nresolves everything and ships a flat segment tree to clients.</strong></p></blockquote>\n<p>Richness lives in server-side evaluation, so native/non-HTML portability is\nuntouched (clients still receive a fully-resolved tree). Computation lives <strong>in the\nformat</strong>, not the backend &ndash; so designers are self-sufficient. In effect:\n<strong>Liquid-grade expressiveness over a structured tree</strong>, reusing the engine we\nalready have (<code>LiquidFilters</code> + <code>ActionText::LiquidRender</code>).</p>\n    <a href=\"#what-this-is-based-on\" aria-label=\"Navigate to header\">\n      <h2 id=\"what-this-is-based-on\">\n        What this is based on\n      </h2>\n    </a>\n    <p>This was not invented from scratch. It deliberately reuses structures the industry\nhas converged on for the same constraints &ndash; portable to native clients, editable by\nnon-developers, machine-generable, sandboxed &ndash; so we extend an established design\ninstead of reinventing one. The lineage, mapped 1:1:</p><p><strong>Logic as <code>$</code>-prefixed operators in a JSON tree &ndash; MongoDB aggregation &amp; JSONLogic.</strong></p>\n<table><thead>\n<tr>\n<th>this dialect</th>\n<th>MongoDB aggregation</th>\n<th>JSONLogic</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>{&quot;$if&quot;: c, &quot;$then&quot;: a, &quot;$else&quot;: b}</code></td>\n<td><code>{&quot;$cond&quot;: {if, then, else}}</code></td>\n<td><code>{&quot;if&quot;: [c, a, b]}</code></td>\n</tr>\n<tr>\n<td><code>{&quot;$bind&quot;: &quot;offer.id&quot;}</code></td>\n<td>field ref <code>&quot;$offer.id&quot;</code></td>\n<td><code>{&quot;var&quot;: &quot;offer.id&quot;}</code></td>\n</tr>\n<tr>\n<td><code>{&quot;$each&quot;: p, &quot;$as&quot;: x, &quot;$do&quot;: n}</code></td>\n<td><code>{&quot;$map&quot;: {input, as, in}}</code></td>\n<td>(n/a)</td>\n</tr>\n<tr>\n<td><code>{&quot;$eq&quot;: [a,b]}</code>, <code>$and</code>, <code>$or</code>, <code>$not</code></td>\n<td><code>{&quot;$eq&quot;: [a,b]}</code>, <code>$and</code>, <code>$or</code>, <code>$not</code></td>\n<td><code>{&quot;==&quot;: [a,b]}</code>, <code>and</code>, <code>or</code>, <code>!</code></td>\n</tr>\n<tr>\n<td><code>{&quot;$add&quot;: [...]}</code>, <code>{&quot;$subtract&quot;: [a,b]}</code></td>\n<td><code>{&quot;$add&quot;: [...]}</code>, <code>{&quot;$subtract&quot;: [a,b]}</code></td>\n<td><code>{&quot;+&quot;: [...]}</code>, <code>{&quot;-&quot;: [a,b]}</code></td>\n</tr>\n</tbody></table>\n<p>The <code>$</code>-prefix convention is MongoDB&rsquo;s own trick: data keys never begin with <code>$</code>, so\noperators are unambiguously distinguishable from data. The interpreter relies on\nexactly that.</p><p><strong>Logic resolved server-side, a UI tree shipped to the client &ndash; Server-Driven UI.</strong>\nThe closest concrete analog is <strong>Microsoft Adaptive Cards templating</strong>:</p>\n<table><thead>\n<tr>\n<th>this dialect</th>\n<th>Adaptive Cards templating</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>&quot;{{ offer.id }}&quot;</code> (value binding)</td>\n<td><code>&quot;${offer.id}&quot;</code></td>\n</tr>\n<tr>\n<td><code>{&quot;$each&quot;: &quot;...&quot;, &quot;$as&quot;: &quot;x&quot;}</code> (repeat)</td>\n<td><code>&quot;$data&quot;: &lt;array&gt;</code></td>\n</tr>\n<tr>\n<td><code>{&quot;$if&quot;: &quot;&lt;cond&gt;&quot;}</code> (include a node)</td>\n<td><code>&quot;$when&quot;: &lt;cond&gt;</code></td>\n</tr>\n<tr>\n<td><code>$index</code> loop variable</td>\n<td><code>$index</code></td>\n</tr>\n</tbody></table>\n<p>(<code>$wrap_when</code> was arrived at independently; it is a cousin of their <code>$when</code>.)</p><p><strong>A structured tree with a templating language for values &ndash; Shopify Online Store\n2.0</strong> (a JSON section/block tree + Liquid for the dynamic parts). We do not merely\nresemble Liquid &ndash; we run it, through the app&rsquo;s existing sandboxed <code>LiquidFilters</code>.</p><p><strong>Smaller pieces.</strong></p>\n<ul>\n<li>The <code>\"$content\"</code> placeholder is a <strong>slot</strong> (web-component <code>&lt;slot&gt;</code>, Vue/Svelte slots, React <code>children</code>).\n</li><li>The pure <code>$fn</code> registry &ndash; a fixed whitelist, no arbitrary eval &ndash; is the <strong>sandboxed-expression-language</strong> model (Google&rsquo;s CEL; spreadsheet formula functions).\n</li><li>The Manifest&rsquo;s token scales are <strong>design tokens</strong> (Style Dictionary; the W3C Design Tokens work).\n</li></ul>\n<p>Staying close to these pays off when we extend the layer (reference cycles,\nexpression error semantics, how far to let the value language go): there is mature\nprior art to follow rather than re-derive.</p>\n    <a href=\"#three-pillars\" aria-label=\"Navigate to header\">\n      <h2 id=\"three-pillars\">\n        Three pillars\n      </h2>\n    </a>\n    \n    <a href=\"#-open-data-model-bindings\" aria-label=\"Navigate to header\">\n      <h3 id=\"-open-data-model-bindings\">\n        1. Open data model (bindings)\n      </h3>\n    </a>\n    <p>Expose the offer&rsquo;s full data namespace, documented and stable, instead of a curated\nallow-list:</p>\n<ul>\n<li><code>offer</code> &ndash; id, position, name, image url, referral url, &hellip;\n</li><li><code>variables</code> &ndash; <strong>all</strong> resolved offer variables (first<em>name, order</em>name,\ntotal<em>price</em>amount, shipping<em>price</em>amount, cash<em>back, shipping</em>rebate,\ntotal_rebate, currency, &hellip;). The offer&rsquo;s data dictionary.\n</li><li><code>flow</code> &ndash; size, index.\n</li><li><code>render</code> &ndash; mode (popup/inline), digits?, dark_mode.\n</li><li><code>header</code> / <code>content</code> / <code>disclaimer</code> / <code>actions</code> / <code>contact</code> / <code>feedback</code> &ndash; the\nstructured pieces (title, html, accept/reject text+url, &hellip;).\n</li></ul>\n<p>Rules: read-only; allow-listed to these <strong>namespaces</strong> (no arbitrary <code>send</code>), but the\nnamespaces are broad &ndash; adding a new offer variable auto-becomes bindable with <strong>no\ncode change</strong>. The editor reads a published schema of this context for autocomplete.</p>\n    <a href=\"#-expression-language----liquid--a-curated-filter-library\" aria-label=\"Navigate to header\">\n      <h3 id=\"-expression-language----liquid--a-curated-filter-library\">\n        2. Expression language &ndash; Liquid + a curated filter library\n      </h3>\n    </a>\n    <p>Values are authored as Liquid expressions (the team already knows Liquid from the\nHTML templates), evaluated server-side, reusing the existing sandboxed\n<code>LiquidFilters</code> infrastructure. Structure stays JSON; a value slot holds either a\nliteral or a Liquid expression string, e.g.:</p><pre>{ \"type\": \"text\", \"text\": \"{{ variables.cash_back | to_number | money: variables.currency }}\" }\n</pre><p><strong>Standard filter/function library</strong> (general primitives &ndash; added once, available to\nevery design; this is the dev-extension surface, not per-design):</p>\n<ul>\n<li><strong>math</strong>: <code>plus minus times divided_by modulo round ceil floor abs at_least at_most</code>\n</li><li><strong>money/number</strong>: <code>money</code>, <code>number_with_delimiter</code>, <code>percent</code>\n</li><li><strong>parse</strong>: <code>to_number</code> (strip <code>$</code>, commas), <code>to_currency</code>\n</li><li><strong>logic</strong>: comparisons, <code>and/or/not</code>, <code>default</code>/coalesce, <code>present</code>/<code>blank</code>\n</li><li><strong>string</strong>: <code>append/prepend</code>, <code>upcase/downcase/capitalize</code>, <code>truncate</code>, <code>replace</code>\n</li><li><strong>array</strong>: <code>size</code>, <code>first</code>, <code>last</code>, <code>join</code>, <code>map</code>, <code>slice</code>\n</li><li><strong>seeded/deterministic</strong> (social proof): <code>seeded_int: seed, min, max</code>,\n<code>seeded_pick: seed, list</code> &ndash; deterministic, safe, native-stable\n</li><li><strong>rich_text</strong>: parse a Liquid HTML field into text segments\n</li></ul>\n<p>Many are stock Liquid filters; the gaps (<code>to_number</code>, <code>seeded_*</code>, <code>money</code>\nextensions) are small, general additions to <code>LiquidFilters</code>.</p>\n    <a href=\"#-structure-level-control-flow\" aria-label=\"Navigate to header\">\n      <h3 id=\"-structure-level-control-flow\">\n        3. Structure-level control flow\n      </h3>\n    </a>\n    <p>Conditionals and repeats that add/remove/iterate <strong>segments</strong> stay as structured\noperators on the tree (they shape the tree, not a string):</p>\n<ul>\n<li><code>$if</code> (condition is a Liquid expression returning truthy) -&gt; include a segment\n</li><li><code>$each</code> / <code>$range</code> (iterate a bound collection / count) -&gt; repeat a segment\n</li><li><code>$wrap_when</code> -&gt; conditionally wrap a segment authored once (see below)\n</li></ul>\n<p>So: <strong>tree structure + structured <code>$if</code>/<code>$each</code>/<code>$wrap_when</code> for segment-level flow +\nLiquid expressions for every value and condition.</strong></p>\n    <a href=\"#conditional-wrapping-vs-general-reuse-codewrapwhencode-fragments-deferred\" aria-label=\"Navigate to header\">\n      <h2 id=\"conditional-wrapping-vs-general-reuse-codewrapwhencode-fragments-deferred\">\n        Conditional wrapping vs. general reuse (<code>$wrap_when</code>; fragments deferred)\n      </h2>\n    </a>\n    <p><code>$if</code>/<code>$then</code>/<code>$else</code> branches <strong>whole subtrees</strong>, so &ldquo;wrap the content in a modal\nonly on the first offer&rdquo; forces the <em>same</em> inner content into both the wrapped and\nthe bare branch. In the stored tree that means a copy of the offer body per branch &ndash;\nharmless in the resolved output (only one branch ever renders), but a real drift\nhazard in the format the editor edits: change the accept button, change it in every\ncopy.</p><p><strong>Built &ndash; <code>$wrap_when</code> (conditional wrapping).</strong> Author the content once and gate\nonly the outer shell:</p><pre>{ \"$wrap_when\": \"<liquid cond>\",\n  \"$wrapper\": { \"type\": \"modal\", ..., \"children\": [\"$content\"] },\n  \"$content\": { ...the body, authored once... } }\n</pre><p>The server evaluates <code>$content</code> once and, when the condition holds, splices it into\nthe <code>\"$content\"</code> placeholder inside <code>$wrapper</code>; otherwise it renders the content\nbare. Wraps nest, so a popup design is <code>modal -&gt; padding-view -&gt; container -&gt; body</code>\naround a single body definition, and the stored tree holds one copy of the body\ninstead of one per branch. Output is byte-identical to the duplicated form. (See the\ndialect reference at the end of this doc.)</p><p><strong>Deferred &ndash; named fragments + <code>$ref</code> (general reuse).</strong> <code>$wrap_when</code> only dedupes\n<em>conditional wrapping</em>. Sharing an arbitrary subtree across unrelated places (true\nreusable &ldquo;components&rdquo;/&ldquo;symbols&rdquo;) would need a <code>fragments:</code> section keyed by name plus\na <code>{\"$ref\": \"name\"}</code> node that the interpreter expands (with cycle detection), the\nvalidator resolves, and the editor surfaces as a reusable symbol. Not built, by\nchoice: it changes the definition&rsquo;s shape, adds resolution machinery, and disconnects\nthe reading flow (you jump elsewhere to see what renders). Revisit when the editor\nneeds cross-node reuse beyond wrapping; until then, author the content inline and\ngate it with <code>$wrap_when</code>.</p>\n    <a href=\"#responsive-values-code-base-md-code\" aria-label=\"Navigate to header\">\n      <h2 id=\"responsive-values-code-base-md-code\">\n        Responsive values (<code>{ base, md }</code>)\n      </h2>\n    </a>\n    <p>Progressively enhanced, like scalar-then-array: an attribute value is whatever it\nnormally is until it needs to be responsive, then it expands into a small map keyed\nby breakpoint.</p><pre class=\"jsonc\"><span style=\"color: #ffb000;font-weight: bold\">\"attributes\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #4df4ff\">{</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #ffb000;font-weight: bold\">\"padding\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\">  </span><span style=\"color: #fff0a6;font-weight: bold\">\"tight\"</span><span style=\"color: #4df4ff\">,</span><span style=\"color: #BBBBBB\">                                    </span><span style=\"color: #6c8b9f;font-style: italic\">// non-responsive (common)</span><span style=\"color: #BBBBBB\">\n                </span><span style=\"color: #ffb000;font-weight: bold\">\"columns\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\">   </span><span style=\"color: #4df4ff\">{</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #ffb000;font-weight: bold\">\"base\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #4df4ff\">[</span><span style=\"color: #fff0a6;font-weight: bold\">\"fill\"</span><span style=\"color: #4df4ff\">],</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #ffb000;font-weight: bold\">\"md\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #4df4ff\">[</span><span style=\"color: #fff0a6;font-weight: bold\">\"75%\"</span><span style=\"color: #4df4ff\">,</span><span style=\"color: #fff0a6;font-weight: bold\">\"25%\"</span><span style=\"color: #4df4ff\">]</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #4df4ff\">},</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #6c8b9f;font-style: italic\">// responsive (opt-in)</span><span style=\"color: #BBBBBB\">\n                </span><span style=\"color: #ffb000;font-weight: bold\">\"direction\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #4df4ff\">{</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #ffb000;font-weight: bold\">\"base\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #fff0a6;font-weight: bold\">\"vertical\"</span><span style=\"color: #4df4ff\">,</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #ffb000;font-weight: bold\">\"md\"</span><span style=\"color: #4df4ff\">:</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #fff0a6;font-weight: bold\">\"horizontal\"</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #4df4ff\">}</span><span style=\"color: #BBBBBB\"> </span><span style=\"color: #4df4ff\">}</span><span style=\"color: #BBBBBB\">\n</span></pre><p><code>base</code> applies always (mobile-first); <code>md</code> overrides at &gt;=768px. The map is detected\nthe same way expressions are: a plain value is a scalar/array and an expression is\n<code>$</code>-keyed, so a <code>base</code>/<code>md</code>-keyed bag is unambiguously responsive. (An array can&rsquo;t\ndouble as the responsive form &ndash; arrays already mean per-side padding / column tracks.)</p><p>Two rules:</p>\n<ul>\n<li><strong>Layout-only.</strong> A responsive map is allowed only on the layout attributes\n(<code>display direction align columns width height size padding</code>) &ndash; you reflow across\nwidths, you don&rsquo;t recolor. A map anywhere else is a validation error. The set is one\nconstant (<code>Manifest::RESPONSIVE_OVERRIDABLE</code>) to widen later.\n</li><li><strong>Same shape end-to-end.</strong> The <code>{base, md}</code> map is the responsive form in both the\nauthored definition AND the compiled output (segment spec section 9) — the interpreter\nresolves each breakpoint&rsquo;s value but keeps the map; the renderer splits it into base +\n<code>md:</code> classes at render time. Each breakpoint is evaluated independently, so it can hold\nits own <code>$if</code> / Liquid (<code>\"md\": { \"$if\": \"image.show\", \"$then\": ... }</code>).\n</li></ul>\n<p>This mirrors Chakra UI&rsquo;s responsive props (<code>padding={{ base: 2, md: 4 }}</code>) and the\nsingle-attribute spirit of the newer Shopify app templates, kept on our existing\nviewport-breakpoint renderer rather than container queries.</p>\n    <a href=\"#why-the-other-goals-still-hold\" aria-label=\"Navigate to header\">\n      <h2 id=\"why-the-other-goals-still-hold\">\n        Why the other goals still hold\n      </h2>\n    </a>\n    \n<ul>\n<li><strong>Native / non-HTML</strong>: server resolves all Liquid + flow -&gt; ships a flat tree.\nClients never evaluate anything. Identical to the existing <code>to_data</code> boundary.\n</li><li><strong>DB storage</strong>: it is text (JSON tree + Liquid strings).\n</li><li><strong>Validation</strong>: bindings checked against the published context schema; Liquid\nparsed and filters checked against the allow-listed library; segment\ntypes/attributes against the Manifest.\n</li><li><strong>LLM generation</strong>: a closed vocabulary (types, attributes, tokens, filters,\nbindings) &ndash; generatable and correctable.\n</li><li><strong>Editor</strong>: palette (Manifest) + attribute inspector (tokens) + a binding picker\n(context schema) + a filter/formula helper over the value slots.\n</li></ul>\n\n    <a href=\"#dev-involvement-after-this\" aria-label=\"Navigate to header\">\n      <h2 id=\"dev-involvement-after-this\">\n        Dev involvement after this\n      </h2>\n    </a>\n    \n<ul>\n<li><strong>Designers</strong>: build and iterate freely &ndash; bindings + filters + structure. No backend.\n</li><li><strong>Devs</strong>: occasionally add a <strong>general</strong> filter to the shared library, or expose a\nnew offer data field (which then auto-binds). Both are general and shared &ndash;\n<strong>never per-design</strong>. (The Shopify/Liquid model.)\n</li></ul>\n\n    <a href=\"#what-the-dialect-can-express\" aria-label=\"Navigate to header\">\n      <h2 id=\"what-the-dialect-can-express\">\n        What the dialect can express\n      </h2>\n    </a>\n    <p>A complex order-confirmation design &ndash; money math, currency formatting, a\nconditional rebate panel, deterministic social proof &ndash; needs no design-specific\nbackend code; each piece reduces to general primitives:</p>\n<table><thead>\n<tr>\n<th>design logic</th>\n<th>expressed as</th>\n</tr>\n</thead><tbody>\n<tr>\n<td>rebate math (<code>cash_back + shipping_rebate</code>, fallbacks)</td>\n<td>math filters + <code>default</code> over <code>variables.*</code></td>\n</tr>\n<tr>\n<td><code>&quot;$5.00&quot;</code> -&gt; number</td>\n<td>`\\</td>\n</tr>\n<tr>\n<td>format currency</td>\n<td>`\\</td>\n</tr>\n<tr>\n<td><code>&quot;ORDER CONFIRMED #&quot; + order_name</code></td>\n<td>`\\</td>\n</tr>\n<tr>\n<td>&ldquo;are the rebate variables present?&rdquo;</td>\n<td><code>present</code> over <code>variables.cash_back</code> etc. (drives <code>$if</code>)</td>\n</tr>\n<tr>\n<td>fabricated avatars + &ldquo;23,481 shoppers&rdquo;</td>\n<td><code>seeded_pick: seed, letters</code> / `seeded_int: seed, 5000, 30000 \\</td>\n</tr>\n</tbody></table>\n<p>None are design-specific &ndash; the original failure was a too-thin library, not a\nceiling in the format.</p>\n    <a href=\"#honest-limits--open-questions\" aria-label=\"Navigate to header\">\n      <h2 id=\"honest-limits--open-questions\">\n        Honest limits / open questions\n      </h2>\n    </a>\n    \n<ol>\n<li><strong>Designer bar</strong> &ndash; this is Liquid-grade (light formula writing), the same bar the\nteam clears with HTML templates. How much no-code UI (pickers/builders) we layer\nover it is a separate editor-effort question.\n</li><li><strong>Library scope</strong> &ndash; generous but bounded; a genuinely novel need is a rare,\nshared addition. Where do we draw the initial line?\n</li><li><strong>Seeded / fabricated social proof</strong> &ndash; confirm deterministic fabricated counts\nare acceptable product-wise (they already ship in a live design, so presumably\nyes).\n</li><li><strong>Reference cycles / general reuse</strong> &ndash; deferred (see above); when fragments land,\ndecide cycle handling and how the editor presents a shared symbol.\n</li></ol>\n\n    <a href=\"#dialect-reference\" aria-label=\"Navigate to header\">\n      <h2 id=\"dialect-reference\">\n        Dialect reference\n      </h2>\n    </a>\n    <p>A stored definition is a segment tree in which any value may be an <strong>expression\nobject</strong> &ndash; a Hash carrying one or more <code>$</code>-prefixed operator keys. Segment nodes\nnever use <code>$</code> keys, so the interpreter (<code>OfferTemplates::Stored::Interpreter</code>) can\ntell expressions from data. It walks the tree, evaluates expressions against an\n<code>OfferViewModel</code>, and emits the resolved segment tree the rendering spec defines.</p><p>The structure operators (what Liquid can&rsquo;t express &ndash; they shape the <em>tree</em>):</p>\n<table><thead>\n<tr>\n<th>Operator</th>\n<th>Meaning</th>\n</tr>\n</thead><tbody>\n<tr>\n<td><code>{&quot;$bind&quot;: &quot;offer.id&quot;, &quot;$default&quot;: …}</code></td>\n<td>inject a typed value (array/hash/int) from the binding context</td>\n</tr>\n<tr>\n<td><code>{&quot;$if&quot;: &lt;cond&gt;, &quot;$then&quot;: &lt;node&gt;, &quot;$else&quot;: &lt;node&gt;}</code></td>\n<td>conditional node (<code>$else</code> optional → drops)</td>\n</tr>\n<tr>\n<td><code>{&quot;$wrap_when&quot;: &quot;&lt;cond&gt;&quot;, &quot;$wrapper&quot;: &lt;node w/ &quot;$content&quot; slot&gt;, &quot;$content&quot;: &lt;node&gt;}</code></td>\n<td>conditionally wrap a node authored once; nests</td>\n</tr>\n<tr>\n<td>`{&ldquo;$each&rdquo;: &ldquo;<path>&rdquo;, &ldquo;$as&rdquo;: &ldquo;x&rdquo;, &ldquo;$index&rdquo;: &ldquo;i&rdquo;, &ldquo;$do&rdquo;: &lt;node\\</td>\n<td>[nodes]&gt;}`</td>\n</tr>\n<tr>\n<td><code>{&quot;$range&quot;: &lt;count&gt;, &quot;$from&quot;: 2, &quot;$as&quot;: &quot;n&quot;, &quot;$index&quot;: &quot;i&quot;, &quot;$do&quot;: …}</code></td>\n<td>iterate a numeric range (0-based <code>$index</code>)</td>\n</tr>\n<tr>\n<td><code>{&quot;$fn&quot;: &quot;name&quot;, &quot;args&quot;: [&lt;expr&gt;…]}</code></td>\n<td>call a pure function from the fixed <code>Functions</code> registry</td>\n</tr>\n<tr>\n<td><code>{&quot;$rich_text&quot;: &lt;html&gt;, &quot;attributes&quot;: {…}, &quot;prefix&quot;: &quot;&quot;}</code></td>\n<td>parse a Liquid-rendered HTML field into text segments</td>\n</tr>\n<tr>\n<td><code>{&quot;$subtract&quot;: [&lt;a&gt;, &lt;b&gt;]}</code></td>\n<td>integer arithmetic (kept an op so the index stays numeric, not a Liquid string)</td>\n</tr>\n</tbody></table>\n<p><strong>Conditions and scalar values are Liquid, not <code>$</code>-ops.</strong> An <code>$if</code>/<code>$wrap_when</code>\ncondition is a Liquid boolean string (<code>\"image.show\"</code>, <code>\"offer.position == 1\"</code>);\na value is a Liquid template (<code>\"{{ offer.id }}\"</code>, <code>\"{{ variables.cash_back | money }}\"</code>).\nThe engine still understands legacy <code>$</code>-op predicates/arithmetic\n(<code>$eq</code>/<code>$present</code>/<code>$call</code>/<code>$and</code>/<code>$or</code>/<code>$not</code>/<code>$lt…$gte</code>/<code>$add</code>) for completeness,\nbut Liquid is the authoring style — see pillar 2.</p><p><strong>Array semantics.</strong> A <code>children</code> array mirrors the hardcoded templates&rsquo;\n<code>.compact_blank.flatten</code>: an element evaluating to an array (<code>$each</code>, <code>$range</code>,\n<code>$rich_text</code>, or a <code>$bind</code> to a segment array) is <strong>spliced</strong> in; nil/blank\nelements drop. Every other array (e.g. a <code>padding</code> value) is <strong>positional</strong> and\npreserved exactly — never compacted or flattened.</p><p><strong>Boundary.</strong> The dialect does only assembly + binding + the Liquid value layer +\na fixed library of pure functions. Anything impure (URL building, data fetching)\nstays in the <code>OfferViewModel</code>. <code>$bind</code>/<code>$call</code> reach only the allow-list in\n<code>BindingContext</code>; <code>$fn</code> reaches only <code>Functions::REGISTRY</code>. Versioning is tracked\nby <code>integration_templates.expression_dialect_version</code> (currently <code>\"1\"</code>).</p>","copyright":null,"doc_url":"/api/v1","api_url":"/v1","resources":{"events":{"doc_url":"/api/v1/events","id":"events","api_url":"/v1","name":"Events","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/events/create","name":"create","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/events","http_method":"POST","short_description":"Flow Event","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The flow ID</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"ev","full_name":"ev","description":"<p>Event</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>flow_initiated</code>, <code>missing_integration</code>, <code>missing_placement</code>, <code>missing_offers</code>, <code>holdout</code>, <code>offer_requested</code>, <code>offer_viewed</code>, <code>offer_accepted</code>, <code>offer_redirected</code>, <code>offer_rejected</code>, <code>purchase</code>, <code>flow_completed</code>, <code>flow_expired</code>.","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_type","full_name":"integration_type","description":"<p>The client integration type</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_version","full_name":"integration_version","description":"<p>The client integration version</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"bn","full_name":"bn","description":"<p>Browser</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"cd","full_name":"cd","description":"<p>Color Depth</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"de","full_name":"de","description":"<p>Encoding</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"dl","full_name":"dl","description":"<p>Location</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"dt","full_name":"dt","description":"<p>Title</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"md","full_name":"md","description":"<p>Mobile</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"rl","full_name":"rl","description":"<p>Referer</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"sr","full_name":"sr","description":"<p>Resolution</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"ts","full_name":"ts","description":"<p>Timestamp</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"ua","full_name":"ua","description":"<p>User Agent</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"uid","full_name":"uid","description":"<p>User ID</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"vp","full_name":"vp","description":"<p>Viewport</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Event created","is_array":false,"returns_object":[],"additional_properties":false,"headers":[]},{"code":422,"description":"When something is missing","is_array":false,"returns_object":[{"name":"error","full_name":"error","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"feedbacks":{"doc_url":"/api/v1/feedbacks","id":"feedbacks","api_url":"/v1","name":"Feedbacks","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/feedbacks/create","name":"create","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/feedbacks","http_method":"POST","short_description":"Offer Feedback","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The flow ID</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"offer_id","full_name":"offer_id","description":"<p>The public ID of the offer the feedback is about</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"event_id","full_name":"event_id","description":"<p>The parent event ID the feedback belongs to</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"reasons","full_name":"reasons","description":"<p>Feedback reason slugs; only slugs configured for the advertiser are considered. Single-select: only the first valid slug is recorded, though the stored format remains an array (length 0..1)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"source","full_name":"source","description":"<p>How the feedback screen was reached: &ldquo;decline&rdquo; (reject CTA) or &ldquo;pill&rdquo; (rate-this-offer). Only those two values are stored; any other value is accepted but ignored</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Feedback recorded","is_array":false,"returns_object":[],"additional_properties":false,"headers":[]},{"code":422,"description":"When a required parameter is missing or no valid reasons are supplied","is_array":false,"returns_object":[],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"flows":{"doc_url":"/api/v1/flows","id":"flows","api_url":"/v1","name":"Flows","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/flows/new","name":"new","apis":[{"api_url":"/v1/places/:integration_id/flows/new","http_method":"GET","short_description":"New Offer Flow","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"placement","description":"<p>The placement of the integration</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_type","full_name":"integration_type","description":"<p>The client integration type</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_version","full_name":"integration_version","description":"<p>The client integration version</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Flow created","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>The flow data</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>Always <code>flow</code></p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"personalization","full_name":"data[personalization]","description":"<p>The personalization of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"data[placement]","description":"<p>The placement of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>order\\_confirmation</code>, <code>order\\_status</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"delay_seconds","full_name":"data[delay_seconds]","description":"<p>The delay in seconds before the offer should be displayed</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The API URL to retrieve the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":404,"description":"When something is missing","is_array":false,"returns_object":[{"name":"error","full_name":"error","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/flows/show","name":"show","apis":[{"api_url":"/v1/places/:integration_id/flows/:id","http_method":"GET","short_description":"Show Offer Flow","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the integration flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":null,"description":"Flow shown","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>The flow data</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>Always <code>flow</code></p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"personalization","full_name":"data[personalization]","description":"<p>The personalization of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"data[placement]","description":"<p>The placement of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>order\\_confirmation</code>, <code>order\\_status</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"delay_seconds","full_name":"data[delay_seconds]","description":"<p>The delay in seconds before the offer should be displayed</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The API URL to retrieve the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"items":{"doc_url":"/api/v1/items","id":"items","api_url":"/v1","name":"Items","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/items/flow","name":"flow","apis":[{"api_url":"/v1/items/flow","http_method":"HEAD","short_description":"Flow","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>flow</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"personalization","full_name":"personalization","description":"<p>The personalization of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"deprecated":false},{"name":"placement","full_name":"placement","description":"<p>The placement of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>order\\_confirmation</code>, <code>order\\_status</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"delay_seconds","full_name":"delay_seconds","description":"<p>The delay in seconds before the offer should be displayed</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/items/event","name":"event","apis":[{"api_url":"/v1/items/event","http_method":"HEAD","short_description":"Event","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>event</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"kind","full_name":"kind","description":"<p>The kind of the event</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"offers":{"doc_url":"/api/v1/offers","id":"offers","api_url":"/v1","name":"Offers","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/offers/new","name":"new","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/offers/new","http_method":"GET","short_description":"Next Offer","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"placement","description":"<p>The placement context where the offer will be displayed (e.g., <code>order_confirmation</code>, <code>order_status</code>)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"integration_type","full_name":"integration_type","description":"<p>The client integration type</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_version","full_name":"integration_version","description":"<p>The client integration version</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"first_name","full_name":"first_name","description":"<p>The first name of the user for personalization</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Offer created","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>Details</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>The type of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes]","description":"<p>The attributes of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"offers","full_name":"data[attributes][offers]","description":"<p>Where you should show a count of offers</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"start","full_name":"data[attributes][offers][start]","description":"<p>What offer to start showing digits at</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"current","full_name":"data[attributes][offers][current]","description":"<p>What number of offer you are on</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][offers][size]","description":"<p>How many offers in the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"header","full_name":"data[attributes][header]","description":"<p>The header of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][header][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"image","full_name":"data[attributes][image]","description":"<p>The image of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"url","full_name":"data[attributes][image][url]","description":"<p>The URL of the image</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"personalization","full_name":"data[attributes][personalization]","description":"<p>The personalization of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][personalization][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"content","full_name":"data[attributes][content]","description":"<p>The content of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][content][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer","full_name":"data[attributes][disclaimer]","description":"<p>The disclaimer of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][disclaimer][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer_color","full_name":"data[attributes][disclaimer_color]","description":"<p>The color of the disclaimer for the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"sponsored","full_name":"data[attributes][sponsored]","description":"<p>The sponsor of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][sponsored][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"actions","full_name":"data[attributes][actions]","description":"<p>The actions of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][actions][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]}]}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"flow","full_name":"links[flow]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The URL of the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"offer_event","full_name":"links[offer_event]","description":"<p>The URL of the offer event</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":202,"description":"No offers found","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]},{"code":404,"description":"Unable to find the integration","is_array":false,"returns_object":[{"name":"errors","full_name":"errors","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"title","full_name":"errors[title]","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":403,"description":"The site is blocked","is_array":false,"returns_object":[{"name":"errors","full_name":"errors","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"title","full_name":"errors[title]","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":422,"description":"Unable to find the placement","is_array":false,"returns_object":[{"name":"errors","full_name":"errors","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"title","full_name":"errors[title]","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/offers/show","name":"show","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/offers/:id","http_method":"GET","short_description":"Show Offer","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":null,"description":"Offer viewed","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>Details</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>The type of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes]","description":"<p>The attributes of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"offers","full_name":"data[attributes][offers]","description":"<p>Where you should show a count of offers</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"start","full_name":"data[attributes][offers][start]","description":"<p>What offer to start showing digits at</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"current","full_name":"data[attributes][offers][current]","description":"<p>What number of offer you are on</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][offers][size]","description":"<p>How many offers in the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"header","full_name":"data[attributes][header]","description":"<p>The header of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][header][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"image","full_name":"data[attributes][image]","description":"<p>The image of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"url","full_name":"data[attributes][image][url]","description":"<p>The URL of the image</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"personalization","full_name":"data[attributes][personalization]","description":"<p>The personalization of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][personalization][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"content","full_name":"data[attributes][content]","description":"<p>The content of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][content][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer","full_name":"data[attributes][disclaimer]","description":"<p>The disclaimer of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][disclaimer][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer_color","full_name":"data[attributes][disclaimer_color]","description":"<p>The color of the disclaimer for the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"sponsored","full_name":"data[attributes][sponsored]","description":"<p>The sponsor of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][sponsored][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"actions","full_name":"data[attributes][actions]","description":"<p>The actions of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][actions][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]}]}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"flow","full_name":"links[flow]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The URL of the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"offer_event","full_name":"links[offer_event]","description":"<p>The URL of the offer event</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"segments":{"doc_url":"/api/v1/segments","id":"segments","api_url":"/v1","name":"Segments","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/segments/modal","name":"modal","apis":[{"api_url":"/v1/segments/modal","http_method":"HEAD","short_description":"Modal","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>modal</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Panel width: narrow (400px) or wide (1000px); defaults to 800px</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>narrow</code>, <code>wide</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the modal panel</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/view","name":"view","apis":[{"api_url":"/v1/segments/view","http_method":"HEAD","short_description":"View","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>view</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"direction","full_name":"attributes[direction]","description":"<p>Flex direction of children</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>horizontal</code>, <code>vertical</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"align","full_name":"attributes[align]","description":"<p>Main-axis alignment (also centres the cross-axis)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>, <code>space-between</code>, <code>end</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"columns","full_name":"attributes[columns]","description":"<p>Per-child sizing, one entry per child by index: auto, fill, none, 25%, 50%, 75%</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/block_layout","name":"block_layout","apis":[{"api_url":"/v1/segments/block_layout","http_method":"HEAD","short_description":"Block Layout","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>block_layout</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/inline_layout","name":"inline_layout","apis":[{"api_url":"/v1/segments/inline_layout","http_method":"HEAD","short_description":"Inline Layout","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>inline_layout</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"direction","full_name":"attributes[direction]","description":"<p>Flex direction of children</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>horizontal</code>, <code>vertical</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"align","full_name":"attributes[align]","description":"<p>Main-axis alignment (also centres the cross-axis)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>, <code>space-between</code>, <code>end</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"columns","full_name":"attributes[columns]","description":"<p>Per-child sizing, one entry per child by index: auto, fill, none, 25%, 50%, 75%</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/grid","name":"grid","apis":[{"api_url":"/v1/segments/grid","http_method":"HEAD","short_description":"Grid","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>grid</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"direction","full_name":"attributes[direction]","description":"<p>Flex direction of children</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>horizontal</code>, <code>vertical</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"align","full_name":"attributes[align]","description":"<p>Main-axis alignment (also centres the cross-axis)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>, <code>space-between</code>, <code>end</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"columns","full_name":"attributes[columns]","description":"<p>Per-child sizing, one entry per child by index: auto, fill, none, 25%, 50%, 75%</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/newline","name":"newline","apis":[{"api_url":"/v1/segments/newline","http_method":"HEAD","short_description":"Newline","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>newline</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"children","full_name":"children","description":"<p>Child segments rendered after the line break</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/text","name":"text","apis":[{"api_url":"/v1/segments/text","http_method":"HEAD","short_description":"Text","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The text content to render</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"attributes[emphasis]","description":"<p>Inline emphasis (selects the wrapping element)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"white_space","full_name":"attributes[white_space]","description":"<p>Prevent the text from wrapping</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>nowrap</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments (nested text runs)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/image","name":"image","apis":[{"api_url":"/v1/segments/image","http_method":"HEAD","short_description":"Image","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>image</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"source","full_name":"attributes[source]","description":"<p>The image URL (rendered as the img src)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/heading","name":"heading","apis":[{"api_url":"/v1/segments/heading","http_method":"HEAD","short_description":"Heading","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>heading</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"level","full_name":"attributes[level]","description":"<p>Heading level (renders h1–h6); defaults to 1</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>1</code>, <code>2</code>, <code>3</code>, <code>4</code>, <code>5</code>, <code>6</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments (the heading text, usually text runs)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/link","name":"link","apis":[{"api_url":"/v1/segments/link","http_method":"HEAD","short_description":"Link","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>link</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The link text; when omitted the children are rendered instead</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"url","full_name":"url","description":"<p>Fallback link target used when attributes.to is absent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"to","full_name":"attributes[to]","description":"<p>The link target (opens in a new tab)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/button","name":"button","apis":[{"api_url":"/v1/segments/button","http_method":"HEAD","short_description":"Button","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>button</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The button label; when omitted the children are rendered instead</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"url","full_name":"url","description":"<p>Fallback link target used when attributes.to is absent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"to","full_name":"attributes[to]","description":"<p>The link target (opens in a new tab)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"attributes[kind]","description":"<p>Semantic label for the button (e.g. primary/secondary), consumed by analytics</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the button</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/icon","name":"icon","apis":[{"api_url":"/v1/segments/icon","http_method":"HEAD","short_description":"Icon","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>icon</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"source","full_name":"attributes[source]","description":"<p>Which built-in icon to render</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>close</code>, <code>check</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/badge","name":"badge","apis":[{"api_url":"/v1/segments/badge","http_method":"HEAD","short_description":"Badge","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>badge</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The badge text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"tone","full_name":"attributes[tone]","description":"<p>Structural tone label for the badge</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/spacer","name":"spacer","apis":[{"api_url":"/v1/segments/spacer","http_method":"HEAD","short_description":"Spacer","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/pressable","name":"pressable","apis":[{"api_url":"/v1/segments/pressable","http_method":"HEAD","short_description":"Pressable","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>pressable</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"url","full_name":"url","description":"<p>Fallback link target used when attributes.to is absent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"to","full_name":"attributes[to]","description":"<p>The link target; when present the pressable renders as a link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"action","full_name":"attributes[action]","description":"<p>A client-side action hook surfaced to the SDK via data-*</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the pressable</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false}},"sidebar":{"events":{"doc_url":"/api/v1/events","id":"events","api_url":"/v1","name":"Events","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/events/create","name":"create","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/events","http_method":"POST","short_description":"Flow Event","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The flow ID</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"ev","full_name":"ev","description":"<p>Event</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>flow_initiated</code>, <code>missing_integration</code>, <code>missing_placement</code>, <code>missing_offers</code>, <code>holdout</code>, <code>offer_requested</code>, <code>offer_viewed</code>, <code>offer_accepted</code>, <code>offer_redirected</code>, <code>offer_rejected</code>, <code>purchase</code>, <code>flow_completed</code>, <code>flow_expired</code>.","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_type","full_name":"integration_type","description":"<p>The client integration type</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_version","full_name":"integration_version","description":"<p>The client integration version</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"bn","full_name":"bn","description":"<p>Browser</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"cd","full_name":"cd","description":"<p>Color Depth</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"de","full_name":"de","description":"<p>Encoding</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"dl","full_name":"dl","description":"<p>Location</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"dt","full_name":"dt","description":"<p>Title</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"md","full_name":"md","description":"<p>Mobile</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"rl","full_name":"rl","description":"<p>Referer</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"sr","full_name":"sr","description":"<p>Resolution</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"ts","full_name":"ts","description":"<p>Timestamp</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"ua","full_name":"ua","description":"<p>User Agent</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"uid","full_name":"uid","description":"<p>User ID</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"vp","full_name":"vp","description":"<p>Viewport</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Event created","is_array":false,"returns_object":[],"additional_properties":false,"headers":[]},{"code":422,"description":"When something is missing","is_array":false,"returns_object":[{"name":"error","full_name":"error","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"feedbacks":{"doc_url":"/api/v1/feedbacks","id":"feedbacks","api_url":"/v1","name":"Feedbacks","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/feedbacks/create","name":"create","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/feedbacks","http_method":"POST","short_description":"Offer Feedback","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The flow ID</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"offer_id","full_name":"offer_id","description":"<p>The public ID of the offer the feedback is about</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"event_id","full_name":"event_id","description":"<p>The parent event ID the feedback belongs to</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"reasons","full_name":"reasons","description":"<p>Feedback reason slugs; only slugs configured for the advertiser are considered. Single-select: only the first valid slug is recorded, though the stored format remains an array (length 0..1)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"source","full_name":"source","description":"<p>How the feedback screen was reached: &ldquo;decline&rdquo; (reject CTA) or &ldquo;pill&rdquo; (rate-this-offer). Only those two values are stored; any other value is accepted but ignored</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Feedback recorded","is_array":false,"returns_object":[],"additional_properties":false,"headers":[]},{"code":422,"description":"When a required parameter is missing or no valid reasons are supplied","is_array":false,"returns_object":[],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"flows":{"doc_url":"/api/v1/flows","id":"flows","api_url":"/v1","name":"Flows","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/flows/new","name":"new","apis":[{"api_url":"/v1/places/:integration_id/flows/new","http_method":"GET","short_description":"New Offer Flow","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"placement","description":"<p>The placement of the integration</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_type","full_name":"integration_type","description":"<p>The client integration type</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_version","full_name":"integration_version","description":"<p>The client integration version</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Flow created","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>The flow data</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>Always <code>flow</code></p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"personalization","full_name":"data[personalization]","description":"<p>The personalization of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"data[placement]","description":"<p>The placement of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>order\\_confirmation</code>, <code>order\\_status</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"delay_seconds","full_name":"data[delay_seconds]","description":"<p>The delay in seconds before the offer should be displayed</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The API URL to retrieve the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":404,"description":"When something is missing","is_array":false,"returns_object":[{"name":"error","full_name":"error","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/flows/show","name":"show","apis":[{"api_url":"/v1/places/:integration_id/flows/:id","http_method":"GET","short_description":"Show Offer Flow","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the integration flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":null,"description":"Flow shown","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>The flow data</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>Always <code>flow</code></p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"personalization","full_name":"data[personalization]","description":"<p>The personalization of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"data[placement]","description":"<p>The placement of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>order\\_confirmation</code>, <code>order\\_status</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"delay_seconds","full_name":"data[delay_seconds]","description":"<p>The delay in seconds before the offer should be displayed</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The API URL to retrieve the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"items":{"doc_url":"/api/v1/items","id":"items","api_url":"/v1","name":"Items","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/items/flow","name":"flow","apis":[{"api_url":"/v1/items/flow","http_method":"HEAD","short_description":"Flow","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>flow</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"personalization","full_name":"personalization","description":"<p>The personalization of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"deprecated":false},{"name":"placement","full_name":"placement","description":"<p>The placement of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>order\\_confirmation</code>, <code>order\\_status</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"delay_seconds","full_name":"delay_seconds","description":"<p>The delay in seconds before the offer should be displayed</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/items/event","name":"event","apis":[{"api_url":"/v1/items/event","http_method":"HEAD","short_description":"Event","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>event</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the item</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"kind","full_name":"kind","description":"<p>The kind of the event</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"offers":{"doc_url":"/api/v1/offers","id":"offers","api_url":"/v1","name":"Offers","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/offers/new","name":"new","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/offers/new","http_method":"GET","short_description":"Next Offer","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"placement","full_name":"placement","description":"<p>The placement context where the offer will be displayed (e.g., <code>order_confirmation</code>, <code>order_status</code>)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"integration_type","full_name":"integration_type","description":"<p>The client integration type</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"integration_version","full_name":"integration_version","description":"<p>The client integration version</p>","required":false,"allow_nil":true,"allow_blank":true,"validator":"Must be a String","expected_type":"string","metadata":{"type":"query"},"show":true,"validations":[],"deprecated":false},{"name":"first_name","full_name":"first_name","description":"<p>The first name of the user for personalization</p>","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}],"returns":[{"code":201,"description":"Offer created","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>Details</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>The type of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes]","description":"<p>The attributes of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"offers","full_name":"data[attributes][offers]","description":"<p>Where you should show a count of offers</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"start","full_name":"data[attributes][offers][start]","description":"<p>What offer to start showing digits at</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"current","full_name":"data[attributes][offers][current]","description":"<p>What number of offer you are on</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][offers][size]","description":"<p>How many offers in the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"header","full_name":"data[attributes][header]","description":"<p>The header of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][header][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"image","full_name":"data[attributes][image]","description":"<p>The image of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"url","full_name":"data[attributes][image][url]","description":"<p>The URL of the image</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"personalization","full_name":"data[attributes][personalization]","description":"<p>The personalization of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][personalization][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"content","full_name":"data[attributes][content]","description":"<p>The content of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][content][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer","full_name":"data[attributes][disclaimer]","description":"<p>The disclaimer of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][disclaimer][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer_color","full_name":"data[attributes][disclaimer_color]","description":"<p>The color of the disclaimer for the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"sponsored","full_name":"data[attributes][sponsored]","description":"<p>The sponsor of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][sponsored][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"actions","full_name":"data[attributes][actions]","description":"<p>The actions of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][actions][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]}]}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"flow","full_name":"links[flow]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The URL of the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"offer_event","full_name":"links[offer_event]","description":"<p>The URL of the offer event</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":202,"description":"No offers found","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]},{"code":404,"description":"Unable to find the integration","is_array":false,"returns_object":[{"name":"errors","full_name":"errors","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"title","full_name":"errors[title]","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":403,"description":"The site is blocked","is_array":false,"returns_object":[{"name":"errors","full_name":"errors","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"title","full_name":"errors[title]","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]},{"code":422,"description":"Unable to find the placement","is_array":false,"returns_object":[{"name":"errors","full_name":"errors","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"title","full_name":"errors[title]","description":"<p>The error message</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/offers/show","name":"show","apis":[{"api_url":"/v1/places/:integration_id/flows/:flow_id/offers/:id","http_method":"GET","short_description":"Show Offer","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[{"name":"integration_id","full_name":"integration_id","description":"<p>The ID of the integration</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"flow_id","full_name":"flow_id","description":"<p>The ID of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false},{"name":"id","full_name":"id","description":"<p>The ID of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":{"type":"path"},"show":true,"validations":[],"deprecated":false}],"returns":[{"code":null,"description":"Offer viewed","is_array":false,"returns_object":[{"name":"data","full_name":"data","description":"<p>Details</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"id","full_name":"data[id]","description":"<p>The ID of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"type","full_name":"data[type]","description":"<p>The type of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes]","description":"<p>The attributes of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"offers","full_name":"data[attributes][offers]","description":"<p>Where you should show a count of offers</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"start","full_name":"data[attributes][offers][start]","description":"<p>What offer to start showing digits at</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"current","full_name":"data[attributes][offers][current]","description":"<p>What number of offer you are on</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][offers][size]","description":"<p>How many offers in the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"header","full_name":"data[attributes][header]","description":"<p>The header of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][header][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][header][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][header][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][header][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][header][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][header][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][header][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][header][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][header][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][header][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"image","full_name":"data[attributes][image]","description":"<p>The image of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"url","full_name":"data[attributes][image][url]","description":"<p>The URL of the image</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"personalization","full_name":"data[attributes][personalization]","description":"<p>The personalization of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][personalization][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][personalization][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][personalization][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][personalization][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][personalization][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][personalization][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][personalization][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][personalization][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][personalization][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][personalization][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"content","full_name":"data[attributes][content]","description":"<p>The content of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][content][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][content][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][content][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][content][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][content][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][content][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][content][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][content][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][content][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][content][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer","full_name":"data[attributes][disclaimer]","description":"<p>The disclaimer of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][disclaimer][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][disclaimer][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][disclaimer][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][disclaimer][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][disclaimer][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][disclaimer][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][disclaimer][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][disclaimer][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][disclaimer][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][disclaimer][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"disclaimer_color","full_name":"data[attributes][disclaimer_color]","description":"<p>The color of the disclaimer for the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"sponsored","full_name":"data[attributes][sponsored]","description":"<p>The sponsor of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][sponsored][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][sponsored][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][sponsored][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][sponsored][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][sponsored][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][sponsored][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][sponsored][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][sponsored][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][sponsored][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][sponsored][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]},{"name":"actions","full_name":"data[attributes][actions]","description":"<p>The actions of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"data[attributes][actions][children]","description":"<p>The children of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"type","full_name":"data[attributes][actions][children][type]","description":"<p>What type of segment this is</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>, <code>newline</code>, <code>button</code>, <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text","full_name":"data[attributes][actions][children][text]","description":"<p>The text of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"attributes","full_name":"data[attributes][actions][children][attributes]","description":"<p>The attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"deprecated":false,"params":[{"name":"margin_top","full_name":"data[attributes][actions][children][attributes][margin_top]","description":"<p>Margin above the segment (a spacing token, e.g. tight/normal/loose)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"data[attributes][actions][children][attributes][kind]","description":"<p>Semantic label for a button (e.g. primary/secondary)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"data[attributes][actions][children][attributes][size]","description":"<p>The font size of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"data[attributes][actions][children][attributes][appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"data[attributes][actions][children][attributes][emphasis]","description":"<p>The emphasis of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"to","full_name":"data[attributes][actions][children][attributes][to]","description":"<p>The URL to use for the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}]}]}]}]},{"name":"links","full_name":"links","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an Array of nested elements","expected_type":"array","metadata":null,"show":true,"deprecated":false,"params":[{"name":"self","full_name":"links[self]","description":"<p>The URL of the offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"flow","full_name":"links[flow]","description":"<p>The URL of the flow</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"next_offer","full_name":"links[next_offer]","description":"<p>The URL of the next offer</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"offer_event","full_name":"links[offer_event]","description":"<p>The URL of the offer event</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"segments":{"doc_url":"/api/v1/segments","id":"segments","api_url":"/v1","name":"Segments","short_description":null,"full_description":"","version":"v1","formats":["application/json"],"metadata":null,"methods":[{"doc_url":"/api/v1/segments/modal","name":"modal","apis":[{"api_url":"/v1/segments/modal","http_method":"HEAD","short_description":"Modal","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>modal</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Panel width: narrow (400px) or wide (1000px); defaults to 800px</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>narrow</code>, <code>wide</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the modal panel</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/view","name":"view","apis":[{"api_url":"/v1/segments/view","http_method":"HEAD","short_description":"View","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>view</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"direction","full_name":"attributes[direction]","description":"<p>Flex direction of children</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>horizontal</code>, <code>vertical</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"align","full_name":"attributes[align]","description":"<p>Main-axis alignment (also centres the cross-axis)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>, <code>space-between</code>, <code>end</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"columns","full_name":"attributes[columns]","description":"<p>Per-child sizing, one entry per child by index: auto, fill, none, 25%, 50%, 75%</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/block_layout","name":"block_layout","apis":[{"api_url":"/v1/segments/block_layout","http_method":"HEAD","short_description":"Block Layout","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>block_layout</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/inline_layout","name":"inline_layout","apis":[{"api_url":"/v1/segments/inline_layout","http_method":"HEAD","short_description":"Inline Layout","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>inline_layout</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"direction","full_name":"attributes[direction]","description":"<p>Flex direction of children</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>horizontal</code>, <code>vertical</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"align","full_name":"attributes[align]","description":"<p>Main-axis alignment (also centres the cross-axis)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>, <code>space-between</code>, <code>end</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"columns","full_name":"attributes[columns]","description":"<p>Per-child sizing, one entry per child by index: auto, fill, none, 25%, 50%, 75%</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/grid","name":"grid","apis":[{"api_url":"/v1/segments/grid","http_method":"HEAD","short_description":"Grid","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>grid</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"direction","full_name":"attributes[direction]","description":"<p>Flex direction of children</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>horizontal</code>, <code>vertical</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"align","full_name":"attributes[align]","description":"<p>Main-axis alignment (also centres the cross-axis)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>, <code>space-between</code>, <code>end</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"columns","full_name":"attributes[columns]","description":"<p>Per-child sizing, one entry per child by index: auto, fill, none, 25%, 50%, 75%</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/newline","name":"newline","apis":[{"api_url":"/v1/segments/newline","http_method":"HEAD","short_description":"Newline","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>newline</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"children","full_name":"children","description":"<p>Child segments rendered after the line break</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/text","name":"text","apis":[{"api_url":"/v1/segments/text","http_method":"HEAD","short_description":"Text","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>text</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The text content to render</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"emphasis","full_name":"attributes[emphasis]","description":"<p>Inline emphasis (selects the wrapping element)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>bold</code>, <code>italic</code>, <code>del</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"white_space","full_name":"attributes[white_space]","description":"<p>Prevent the text from wrapping</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>nowrap</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments (nested text runs)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/image","name":"image","apis":[{"api_url":"/v1/segments/image","http_method":"HEAD","short_description":"Image","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>image</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"source","full_name":"attributes[source]","description":"<p>The image URL (rendered as the img src)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/heading","name":"heading","apis":[{"api_url":"/v1/segments/heading","http_method":"HEAD","short_description":"Heading","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>heading</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"level","full_name":"attributes[level]","description":"<p>Heading level (renders h1–h6); defaults to 1</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>1</code>, <code>2</code>, <code>3</code>, <code>4</code>, <code>5</code>, <code>6</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments (the heading text, usually text runs)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/link","name":"link","apis":[{"api_url":"/v1/segments/link","http_method":"HEAD","short_description":"Link","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>link</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The link text; when omitted the children are rendered instead</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"url","full_name":"url","description":"<p>Fallback link target used when attributes.to is absent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"to","full_name":"attributes[to]","description":"<p>The link target (opens in a new tab)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/button","name":"button","apis":[{"api_url":"/v1/segments/button","http_method":"HEAD","short_description":"Button","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>button</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The button label; when omitted the children are rendered instead</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"url","full_name":"url","description":"<p>Fallback link target used when attributes.to is absent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"to","full_name":"attributes[to]","description":"<p>The link target (opens in a new tab)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"kind","full_name":"attributes[kind]","description":"<p>Semantic label for the button (e.g. primary/secondary), consumed by analytics</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the button</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/icon","name":"icon","apis":[{"api_url":"/v1/segments/icon","http_method":"HEAD","short_description":"Icon","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>icon</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"source","full_name":"attributes[source]","description":"<p>Which built-in icon to render</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>close</code>, <code>check</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/badge","name":"badge","apis":[{"api_url":"/v1/segments/badge","http_method":"HEAD","short_description":"Badge","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>badge</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"text","full_name":"text","description":"<p>The badge text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"tone","full_name":"attributes[tone]","description":"<p>Structural tone label for the badge</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/spacer","name":"spacer","apis":[{"api_url":"/v1/segments/spacer","http_method":"HEAD","short_description":"Spacer","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>spacer</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"/api/v1/segments/pressable","name":"pressable","apis":[{"api_url":"/v1/segments/pressable","http_method":"HEAD","short_description":"Pressable","deprecated":null}],"formats":["application/json"],"full_description":"","errors":[],"params":[],"returns":[{"code":204,"description":"No Content","is_array":false,"returns_object":[{"name":"type","full_name":"type","description":"<p>The type of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>pressable</code>.","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"url","full_name":"url","description":"<p>Fallback link target used when attributes.to is absent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"data","full_name":"data","description":"<p>Arbitrary data echoed onto the rendered element as data-* attributes</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false},{"name":"name","full_name":"name","description":"<p>The name of the segment (rendered as data-ppx-name)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"deprecated":false},{"name":"attributes","full_name":"attributes","description":"<p>Style attributes of the segment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"deprecated":false,"params":[{"name":"to","full_name":"attributes[to]","description":"<p>The link target; when present the pressable renders as a link</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"action","full_name":"attributes[action]","description":"<p>A client-side action hook surfaced to the SDK via data-*</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"display","full_name":"attributes[display]","description":"<p>Display mode (auto renders as flex)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>auto</code>, <code>block</code>, <code>inline_block</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"color","full_name":"attributes[color]","description":"<p>Text color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"size","full_name":"attributes[size]","description":"<p>Font size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>, <code>3x-large</code>, <code>4x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"text_align","full_name":"attributes[text_align]","description":"<p>Horizontal text alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>left</code>, <code>center</code>, <code>right</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"underline","full_name":"attributes[underline]","description":"<p>Underline the text</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true</code>, <code>false</code>, <code>1</code>, <code>0</code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"appearance","full_name":"attributes[appearance]","description":"<p>Muted text treatment for secondary copy</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>subdued</code>, <code>monochrome</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"padding","full_name":"attributes[padding]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, or an array [all] / [vertical, horizontal] / [top, right, bottom, left]; &ldquo;none&rdquo; for no padding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_top","full_name":"attributes[margin_top]","description":"<p>A spacing token: x-tight, tight, normal, loose, x-loose, 2x-loose, 3x-loose, optionally negated with a leading - (e.g. -tight)</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_right","full_name":"attributes[margin_right]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_bottom","full_name":"attributes[margin_bottom]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"margin_left","full_name":"attributes[margin_left]","description":"<p>See margin_top</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"background","full_name":"attributes[background]","description":"<p>Background color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border","full_name":"attributes[border]","description":"<p>Border line style</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none</code>, <code>solid</code>, <code>dashed</code>, <code>dotted</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_width","full_name":"attributes[border_width]","description":"<p>none, small (1px), medium (2px), large (4px), or a per-side array</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_color","full_name":"attributes[border_color]","description":"<p>Border color — named token (white, lightergray, lightgray, gray, darkgray, black) or any hex / rgb value</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"border_radius","full_name":"attributes[border_radius]","description":"<p>Corner rounding</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>rounded</code>, <code>full</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"order","full_name":"attributes[order]","description":"<p>Flex order within the parent</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Integer","expected_type":"numeric","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"vertical_align","full_name":"attributes[vertical_align]","description":"<p>Cross-axis self-alignment</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>start</code>, <code>center</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"width","full_name":"attributes[width]","description":"<p>Width: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"height","full_name":"attributes[height]","description":"<p>Height: auto, full, or a box-size token</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>auto</code>, <code>full</code>, <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>, <code>x-large</code>, <code>2x-large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_width","full_name":"attributes[max_width]","description":"<p>Maximum width</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false},{"name":"max_height","full_name":"attributes[max_height]","description":"<p>Maximum height</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>2x-small</code>, <code>x-small</code>, <code>small</code>, <code>medium</code>, <code>large</code>.","expected_type":"string","metadata":null,"show":true,"validations":[],"deprecated":false}]},{"name":"children","full_name":"children","description":"<p>Child segments rendered inside the pressable</p>","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"deprecated":false}],"additional_properties":false,"headers":[]}],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false}}}}