Listing Data Display Rules

Listing data displayed by your application, must abide by MLS defined compliance rules. These rules are provided by the System Info service and the Listings service.

  1. Listing Views Explained
  2. General MLS Rules
  3. Listing Specific Rules

Listing Views Explained

How you access listing data defines the View of the listing. When in doubt, the DisplayCompliance.View attribute of every listing retrieved through the API specifies which view of the listing data you have retrieved.

Summary

Summary listing data is intended as a brief view of the listing data, the best example being the view of listing data you may see on a search results grid. Specifically, you are viewing Summary data any time you access a listing through the listing search service.

Detail

Detail listing data is intended for listing reports. You are viewing Detail data any time you access a listing through the listing search service with a _limit of 1 or when you access an individual listing directly.

General MLS Rules

The System Info service contains a DisplayCompliance attribute which dictates which StandardFields attributes must be displayed to the end user on listing Summary and Detail views.
{
    "D": {
        "Success": true,
        "Results": [
            {
                "DisplayCompliance":{
                   "20000426143505724628000000":{
                      "View":{
                         "Summary":{
                            "DisplayCompliance":[
                               "ListOfficeName",
                               "ListingUpdateTimestamp"
                            ]
                         },
                         "Detail":{
                            "DisplayCompliance":[
                               "ListOfficeName",
                               "ListOfficePhone",
                               "ListOfficeEmail",
                               "ListingUpdateTimestamp"
                            ]
                         }
                      },
                      "DisclaimerText":"Information is deemed to be reliable, but is not guaranteed.",
                      "DisclaimerTextOnly":"Information is deemed to be reliable, but is not guaranteed."
                   }
                }
            }
        ]
    }
}
Attribute Description Returned for Which User Type(s) Returned for Which API Key Role(s)
View.Summary A list of StandardField attributes to be displayed in a summary view of a listing. All All
View.Detail A list of StandardField attributes to be displayed in a detailed view of a listing. All All
DisclaimerText Text to be displayed with the listings in either a summary or detail view. All All
DisclaimerTextOnly Disclaimer text stripped of all html tags which can be displayed instead of the DisclaimerText attribute in environments which don't support html with the listings in either a summary or detail view. All All

Listing Specific Rules

A few listing display rules depend on the invidivual listing being accessed. Because of this, the final set of compliance rules is bundled in with the listing data itself. Currently, these rules only apply to listings retrieved under the IDX role.
{
    "D": {
        "Success": true,
        "Results": [
            {
                "ResourceUri": "/vX/listings/20060412165917817933000000",
                "Id": "20060412165917817933000000",
                "StandardFields": {
                   ...
                }
                "DisplayCompliance":{
                    "IDXLogoSmall":{
                       "LogoUri":"http://somesite.com/logo/small.jpg",
                       "Type":"Uri"
                    },
                    "View":"Detail",
                    "IDXLogo":{
                       "LogoUri":"Acme Realty",
                       "Type":"Text"
                    },
                }   
            }   
        ]
    }
}
Attribute Description Returned for Which User Type(s) Returned for Which API Key Role(s)
IDXLogoSmall.LogoUri A small version of the idx logo to be displayed with the listing. All IDX
IDXLogoSmall.Type Will be one of two options, Uri or Text. If Uri, the value from IDXLogoSmall.LogoUri is to be treated as an image. If text, it is text to be displayed. All IDX
IDXLogo.LogoUri The full sized IDX logo. All IDX
IDXLogo.Type Will be one of two options, Uri or Text. If Uri, the value from IDXLogo.LogoUri is to be treated as an image. If Text, it is text to be displayed. All IDX
View Will be one of two options, Summary or Detail. If Summary, the fields from System Info View.Summary are required to be displayed. If Detail, the fields from System Info View.Detail are required to be displayed. All All