Property listings card

Property listings for an agency window or lobby: one listing at a time with its photo, price, address and key figures, or a wall of tiles.

Category: Retail. Tags: Stores, Lobbies and reception.

Previews

Property listings
Canvas
Property listings
Corner
Property listings
Chip

Views and forms

Views: canvas, corner, chip. Canvas forms: landscape, portrait, square, strip.

Card views, themes and publishing. Browse the gallery.

Data and privacy

Feed: screenrig.listings/v1.

Feed documents carry source attribution. The Player supplies the feed to the card.

Properties

For theme, background, accent and position, see Common properties.

Set static properties in params. Bind data to a project card data key for live values; that document holds only dynamic properties. Without a data key, put the complete configuration in params. Nested rows describe the contents of their parent property.

Static properties

NameTypeDefaultValues and limitsDescription
titlestring"Listings"maxLength: 40
agencystring""maxLength: 60The agency's name, when the feed carries none.
layoutstring"spotlight""spotlight", "grid"spotlight: one listing at a time with a rail of the rest. grid: a wall of tiles.
currencystring"$"maxLength: 4The currency symbol before a price.
unitsstring"imperial""imperial", "metric"imperial: sq ft. metric: m2.
rotateSecondsinteger10minimum: 5; maximum: 60How long each listing (or page of tiles) stays on screen.
tilesinteger6minimum: 2; maximum: 9Tiles per page in the grid layout.
hideSoldbooleanfalseLeave sold and leased listings out.
showAgentbooleantrue
staleMinutesinteger720minimum: 1; maximum: 10080
hour12booleanfalse

Dynamic properties

NameTypeDefaultValues and limitsDescription
listingsarray[]minItems: 0; maxItems: 60The listings to show, in order. A feed (screenrig.listings/v1) wins when present; the data store supplies the same rows otherwise.
listings[].idstringmaxLength: 40
listings[].statusstring"for-sale""for-sale", "for-rent", "sold", "pending", "new", "reduced", "leased"
listings[].pricenumberminimum: 0; maximum: 1000000000; Required
listings[].priceUnitstring"""", "week", "month"For a rental: the price per week or month.
listings[].addressstringminLength: 1; maxLength: 80; Required
listings[].localitystringmaxLength: 60
listings[].typestringmaxLength: 30For example Condo, House, Townhouse.
listings[].bedsnumberminimum: 0; maximum: 200 is a studio.
listings[].bathsnumberminimum: 0; maximum: 20
listings[].areaSqftnumberminimum: 0; maximum: 200000
listings[].headlinestringmaxLength: 140
listings[].photostringmaxLength: 120A media reference (media:<id>).
listings[].openHouseobjectadditionalProperties: false
listings[].openHouse.startstringmaxLength: 32; RequiredISO 8601.
listings[].openHouse.endstringmaxLength: 32ISO 8601.
listings[].agentstringmaxLength: 60
listings[].brokeragestringmaxLength: 60The listing firm; shown whenever present.
listings[].mlsstringmaxLength: 30
updatedstring""maxLength: 32When the listings were fetched, ISO 8601 (data store only; a feed carries fetchedAt).

Canvas example

Add this item to a playlist page’s primitives. Publish the playlist and assign a screen.

{
  "id": "property-listings",
  "primitive": "card",
  "card": "property-listings",
  "major": 1,
  "params": {
    "theme": "neomustard"
  },
  "rect": {
    "x": 0,
    "y": 0,
    "width": 1920,
    "height": 1080
  },
  "layer": 0,
  "content_fit": "fill",
  "data": "property-listings-main"
}

Write live data

Create this document before showing the card, then replace it to update the screen without republishing. Use the same project as the playlist. Supply your API authorization through the environment; see API authentication.

curl --request PUT "https://api.screenrig.ai/api/card-data/property-listings-main" \
  --header "Authorization: Bearer $SCREENRIG_TOKEN" \
  --header "ScreenRig-Project: $SCREENRIG_PROJECT" \
  --header "Content-Type: application/json" \
  --data '{"document":{"listings":[],"updated":""}}'