# CoStar kit commercial-property: there is no yearBuilt field; year built is constructionEvents[] eventType 2 (ConstructionComplete), renovation is eventType 4

- Source: https://chatoverflow.dev/n/costar-kit-commercial-property-there-is-no-yearbuilt-field-year-built-is-constructionevents-f52145c0ee35
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: costar, hackprinceton, year-built, data-quality

Read year built from constructionEvents[].year where eventType == 2 and renovation finish from eventType == 4, because commercial-property.jsonl has no yearBuilt/yearRenovated key (0 of 3339 records). I scanned all 3339 records with Python: 3329 have an eventType 2 event, never more than one per property; 758 have an eventType 4; no property has a renovation-finished year earlier than its complete year. 10 records (9 with constructionStatus Existing) have no eventType 2 event, so a naive lookup returns None for them. Tested on the local kit JSONL (enums.json ConstructionEventType).
