Check the potential fair housing compliance of a property listing, or a section of a property listing.
The text content of the listing, or section of the listing, to check for compliance.
The name of the city where the listing is located.
The state where the listing is located. Can be either the abbreviated (CA) or full name (California).
The unique identifier for the listing. If not provided, the result will not be stored or affect any metrics on the dashboard. This can be useful for testing purposes.
The unique identifier for the host of the listing.
The type of section from the listing that is being checked for compliance. It is recommended to use a predefined set of values (e.g. an enum) for this field to ensure consistency across your codebase. For example, 'title', 'description', 'rules', etc.
Successful Response
Whether the input text is potentiallycompliant with fair housing laws.
A summary of the potential violations found in the input text, if any.
The categories of potential violations found in the input text, if any.
Suggestions for potentially making the input text compliant, if applicable.
The severity level of the potential violations found, if any. This is a number between 1 and 10.