Vepler logo
v2.136.0 Breaking change

Listing tenure is now a canonical enum, with the original string preserved

Advanced listing search now returns a canonical tenure.type enum normalised from the raw feed, plus a new tenure.typeRaw field holding the original source string.

Added

  • Added tenure.typeRaw to the advanced listing document, holding the original tenure string exactly as supplied by the source feed (which may embed lease-term detail such as years remaining).

Changed

  • On POST /v1/listings/query/advanced, tenure.type is now a canonical lowercase enum normalised from the provider's free-text value, rather than a verbatim string. Values: freehold, leasehold, share_of_freehold, commonhold, feudal, or null when the source value is missing or non-committal.
  • Because tenure.type is normalised, you can filter on a single stable value (e.g. tenure.type = leasehold) via the request field parameter without enumerating raw source variants.