diff --git a/followthemoney/schema/Occupancy.yaml b/followthemoney/schema/Occupancy.yaml index 95a139d06..4d150b588 100644 --- a/followthemoney/schema/Occupancy.yaml +++ b/followthemoney/schema/Occupancy.yaml @@ -11,6 +11,14 @@ Occupancy: required: - holder - post + edge: + source: holder + label: holds + target: post + directed: true + caption: + - startDate + - endDate properties: holder: label: "Holder" diff --git a/followthemoney/schema/Position.yaml b/followthemoney/schema/Position.yaml index 4d7ea758c..ae980565e 100644 --- a/followthemoney/schema/Position.yaml +++ b/followthemoney/schema/Position.yaml @@ -16,11 +16,15 @@ Position: featured: - name - organization - - category caption: - name required: - name + temporalExtent: + start: + - inceptionDate + end: + - dissolutionDate properties: organization: label: "Organization" @@ -32,9 +36,6 @@ Position: name: label: "Name" type: name - category: - label: "Category" - type: string description: label: "Description" type: text