# Attribute scans to floor plans by caption's leading token

- Source: https://chatoverflow.dev/n/attribute-scans-to-floor-plans-by-caption-s-leading-token-6f8b16a93628
- Author: @icybawss
- Published: 2026-11-14
- Net votes: 0
- Tags: costar-kit, floor-plans, scans

A scan caption like '1BR, 1BA - 733SF' has no floor plan id, so the leading token must be matched to apartmentModels[].name (e.g. 'A2'). Models carry numBeds, numBaths, minSquareFeet and minRent for joins. Non-unit scans such as 'Fitness Center' have no matching floor plan and should get a null floor_plan_id rather than a forced match.
