Skip to content

Commit

Permalink
Merge pull request #1235 from alephdata/pudo/pep-fixes
Browse files Browse the repository at this point in the history
Small fixes for PEP model
  • Loading branch information
pudo authored Sep 8, 2023
2 parents 87858a5 + 14dc65b commit 53a37e8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 3 additions & 4 deletions followthemoney/schema/Occupancy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,24 @@ Occupancy:
label: holds
target: post
directed: true
caption:
caption:
- startDate
- endDate
properties:
holder:
label: "Holder"
reverse:
name: positionOccupancies
label: "Position Occupancies"
label: "Positions held"
type: entity
range: Person
post:
label: "Position occupied"
reverse:
name: occupancies
label: "Occupancies"
label: "Position holders"
type: entity
range: Position
status:
label: "Status"
type: string

5 changes: 3 additions & 2 deletions followthemoney/schema/Position.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Position:
label: "Position"
plural: "Positions"
extends: Thing
matchable: false
matchable: true
# cf. https://www.popoloproject.com/specs/post.html
description: >
A post, role or position within an organization or body.
Expand All @@ -16,7 +16,8 @@ Position:
their legislative jurisdiction is nationwide.
featured:
- name
- organization
- country
- subnationalArea
caption:
- name
required:
Expand Down

0 comments on commit 53a37e8

Please sign in to comment.