Revision history [back]
This is where the RETS metadata comes in. It is used to describe the data being returned.
Using L_Keyword1 as an example we see that it contains Water Frontage information:
L_Keyword1 Water Frontage WtrFrntg Wtr Frntg Lookup Keyword_1_1 ...
We also see that it has a lookup Keyword_1_1 attached to it. In the lookup we see values like this:
City Street CS 996 017508F1D765FF070002 County Road CNR 997 ...
When searching, data can be returned in different formats: Format=COMPACT - Returns data indicated by "Value" in the lookup. Format=COMPACT-DECODED - Returns the decoded lookup value which is the "LongValue" for the field as shown in the lookup data.
In the field data Interpretation can also be set to LookupMulti, which means the field can have multiple values assigned. If there are multiple values assigned to a field, a comma separated set of values would be returned of either "Value" or "LongValue" depending on the format specified.