Check listing text
check_listingRun real-estate listing text through a fair-housing and advertising compliance rule engine to get every fired rule, governing statute, and missing required elements for the state and channel.
Instructions
Run listing text through the compliance rule engine.
Returns every rule that fired, the statute behind it, and the required elements the text is missing for that state and channel. Supplying brokerage, licensee and license_id lets the engine verify disclosure elements instead of deferring them to manual review.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The listing copy exactly as it will be published | |
| state | No | Two-letter state: TX, CA, FL, AZ, NY or NC. | TX |
| channel | No | Where it will run: website, social, email, print or mls. | website |
| licensee | No | Licensed agent's name, if known | |
| brokerage | No | Sponsoring brokerage's legal name, if known | |
| license_id | No | License number, if known |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| low | Yes | ||
| high | Yes | ||
| state | Yes | ||
| medium | Yes | ||
| backend | Yes | local = evaluated in process, remote = called a gate | |
| channel | Yes | ||
| summary | Yes | ||
| advisory | Yes | Informational findings; never blocking on their own | |
| blocking | Yes | True if any high-severity finding or any missing required element. This is the field to branch on. It is a judgement, not a clearance. | |
| distinct | Yes | Distinct rules triggered | |
| findings | Yes | ||
| occurrences | Yes | Total findings including repeats | |
| receipt_url | No | Set when the gate stored a receipt | |
| text_sha256 | Yes | SHA-256 of the exact text checked | |
| rules_version | Yes | ||
| elements_manual | Yes | Elements the engine cannot verify mechanically. Not failures -- they need a human to confirm. | |
| elements_missing | Yes |