Skip to content

Commit

Permalink
add parent entity reference property to RealEstate (#1337)
Browse files Browse the repository at this point in the history
RealEstate objects can often have children, such as a building has
individual apartments. It often happens that modeling this relationship
is important for investigations. This commit and future pull request
addess the ability for a RealEstate entity to have a parent so
journalists can see subunits of a building, or which apartments/subunits
are associated with a single parent unit.
  • Loading branch information
brrttwrks authored Jan 4, 2024
1 parent 6e69233 commit 6c0b1dd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions followthemoney/schema/RealEstate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ RealEstate:
createDate:
label: Record date
type: date
parent:
label: "Parent unit"
description: "If this entity is a subunit, another entity (real estate) is its parent"
reverse:
label: "Subunits"
name: subunits
type: entity
range: RealEstate

0 comments on commit 6c0b1dd

Please sign in to comment.