# Convert Real Estate Listings to JSON

**Use case:** 

Turn a property listing sentence into JSON with beds, baths, price and location so agents load data into portals faster.

## Input

```json
{
  "texts": [
    "Charming 3 bed 2 bath home in Denver CO, 1800 sqft, listed at $625,000"
  ],
  "schema": {
    "bedrooms": "",
    "bathrooms": "",
    "location": "",
    "size": "",
    "price": ""
  }
}
```

## Output

```json
{
  "_sourceIndex": {
    "label": "Source index",
    "format": "number"
  },
  "name": {
    "label": "Name",
    "format": "text"
  },
  "price": {
    "label": "Price",
    "format": "text"
  },
  "date": {
    "label": "Date",
    "format": "text"
  },
  "truncated": {
    "label": "Truncated",
    "format": "boolean"
  },
  "observedAt": {
    "label": "Converted at",
    "format": "text"
  },
  "error": {
    "label": "Error",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Tool: Any Text to Structured JSON](https://apify.com/scrapers_lat/text-to-json-tool) with a specific input configuration. Visit the [Actor detail page](https://apify.com/scrapers_lat/text-to-json-tool) to learn more, explore other use cases, and run it yourself.