---
# System prepended metadata

title: Untitled

---


## Agent Data: 
HOW TO GET: using redux selectors in `./src/modules/AgentData/selectors` in `getAgents()`
```javascript=
{
  "agent_mls_id_1": {
        dataId: "data id of the listing-editor",
        fullName:  "agent full name",
        isKwAgent: true/false,
        kwUid: isKwAgent ? 'kwuid' : null,
        mlsId: list_agent_mls_id,
        phone: list_agent_prefered_phone,
        email: list_agent_email,
        officeName: list_office_name,
        brokerage: brokerage _name,
        listings: ["listingId1", "listingId2"],
        neighborhoods: ["neighborhoodId1", "neighborhoodId2"],
   },
   "agent_mls_id_2": {// ...same data}
}
```

## Listing Data
HOW TO GET: using redux selectors in `./src/modules/ListingData/selectors` in `getListings()`
```javascript=
{
    "listing_id_1": {
      coordinate: {}, // data from coordinates_gp in listing
      agentId: list_agent_mls_id,
      neighborhoodId: listingNeighborhoodId,
      listingId,
      dataId: data._id, // eslint-disable-line
    }
    "listing_id_2": {
    // same data
    }
}
```

## NeihborhoodData

HOW TO GET: using redux selectors in `./src/modules/NeighborhoodData/selectors` in `getNeighborhoods()`

```javascript=
{
    "neighborhood_id_1": {
            coordinates: [[]], // this is polygon data
      radius: get(neighborhoodData, 'attributes.area_meter_square'),
      center: get(neighborhoodData, 'attributes.centroid_gp'), // this is neighborhood_center
      id: neighborhoodData.id, // neighborhood id
      locationType: get(
        neighborhoodData,
        'attributes.location.type',
        ''
      ).toLowerCase(), // polygon type. single or multi
      neighborhoodName: getNeighborhoodName(neighborhoodData), // neighborhood name
    }
}
```