New validations and improved error responses for neighborhood data source changes
set_neighborhood_data_source
Values are validated against the listing’s own live options before anything is saved. A bedroom count, dashboard or compset that does not exist for that listing is rejected, and the error names the valid alternatives.
Bedroom counts are required when switching to Nearby Listings.
Sending a compset’s label is not accepted. get_md_report_compsets returns a value and a label for each compset; only the value is accepted. The label is display text, not an identifier. Both tools document this explicitly, and the error names the valid values if a label is sent.
What was applied comes back in the response — bedroom counts deduplicated and sorted, compset in its canonical spelling — so you can confirm the change landed.