Rendering the JSON yourself
Build your own cards and listing pages from the JSON while meeting every board's display rules, using the compliance objects the API returns and the SDK's checks.
You can design every card and page yourself instead of using the recipe components. The API tells you exactly what each board requires and where, so your design can meet the rules without guessing.
The two compliance objects
meta.mls, on every answer: one block per board in the answer.
| Field | What to do with it |
|---|---|
mlsName |
The board's name, for your disclaimer heading |
disclaimer.text, disclaimer.html |
The exact disclaimer. Print the HTML when it is set, else the text. |
logo |
url, width, height and alt of the board's logo, when it has one |
attributionTemplate |
How the board words attribution; the API has already filled it into each listing's attribution.line |
required |
Each element the board requires and where it goes: { element, placement } |
notices |
Copyright, source and DMCA notices to print with the disclaimer |
compliance, on a listing's detail answer: the same rules for that one listing, filled in:
attributionLine, courtesyLine, required, suppressedFields (fields the board hides) and asOf.
Elements and where they go
required names elements and placements:
| Element | What it is |
|---|---|
listing_office, listing_agent |
The listing office's or agent's name, from attribution |
agent_contact |
The agent's or office's email or phone, in attribution.contact, only on boards that require it. Show it; never use it to route leads. |
courtesy_line |
attribution.courtesy, such as "Listing courtesy of …" |
mls_logo |
The board's logo |
disclaimer |
The board's disclaimer |
as_of |
The date the data was last updated: meta.freshness.asOf, or the listing's compliance.asOf |
dmca_notice, source_line |
The notices in notices |
| Placement | Means |
|---|---|
card |
On every listing card, near the address |
detail |
On the listing page |
page |
Once on every page that shows the board's listings, usually at the bottom |
map |
Inside the map frame, whenever the map shows the board's listings |
Checks the SDK runs for you
renderAttribution(listing, r.meta.mls)returns the exact attribution text for a card.assertDisplayable(listing, r.meta.mls, "card")(or"detail") throws aDisplayRuleErrorthat names what your card is missing, so a test can catch it before launch.
Rules for your own design
- Print each card's
attribution.linewhen it is not null, near the address. - Print every board's disclaimer, logo and notices on every page that shows its listings, and inside the map frame on map views, with the date the data was last updated.
- Use
address.displayfor the address. Whenaddress.hiddenis true, never show a street, a unit or a map pin, and use the id-only slug. - Use
statusLabelfor the status. Turnbadges[].kindinto short labels of your own, such as "New" or "Price change". - Show open houses in the listing's own time zone (
openHouses[].timeZone). - Never show a field the API didn't return, and never fill a missing field from another source.
- Never store listings beyond a cache, and drop a listing the moment the API stops returning it.

<!--
The disclaimers of every board in the answer, and the Data last updated line.
From the React component MlsDisclaimers. Generated by npm run idx:recipes-static from @ruuster/idx-recipes. Do not edit it by hand.
Fill each value from:
.rw-disclaimer (one per board): each entry of meta.mls, once per mlsId; data-mls-id is meta.mls[].mlsId
.rw-disclaimer .rw-board-logo: meta.mls[].logo (url, width, height, alt); leave the image out when logo is null
.rw-disclaimer__text p: meta.mls[].disclaimer.text, then each meta.mls[].notices[].text, one paragraph per line of text; the board's mlsName when there is no text. Print the text versions, never the html ones
.rw-asof time[datetime]: meta.freshness.asOf
.rw-asof time text: meta.freshness.asOf as "November 4, 2026 at 3:00 PM UTC"
Every data-rw-* attribute is a hook for ruuster-idx.js; see ../HOOKS.md.
-->
<aside class="rw-recipes rw-disclaimers rw-disclaimers--page" aria-label="Listing data notices">
<div class="rw-disclaimer" data-mls-id="nwmls">
<img class="rw-board-logo" src="https://photos.ruuster.com/mls/nwmls.png" alt="Northwest MLS logo" width="80" height="32" loading="lazy" decoding="async"/>
<div class="rw-disclaimer__text">
<p>Listing information is provided by Northwest MLS and is deemed reliable but not guaranteed.</p>
<p>To report a copyright concern, contact Northwest MLS.</p>
</div>
</div>
<div class="rw-disclaimer" data-mls-id="fmls">
<div class="rw-disclaimer__text">
<p>Information is deemed reliable but not guaranteed. First MLS.</p>
</div>
</div>
<p class="rw-asof">Data last updated <time dateTime="2026-11-04T15:00:00Z">November 4, 2026 at 3:00 PM UTC</time>.</p>
</aside>import { MlsDisclaimers } from "@ruuster/idx-recipes";
<MlsDisclaimers mls={mls} asOf={asOf} />Before you launch
Run Prompt: compliance and launch audit against your pages, and work through Compliance: MUST and NEVER. Prompt: your own UI from the JSON builds a custom design that meets these rules.