Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different types of Posts in a legislature. #129

Open
fgregg opened this issue Nov 5, 2019 · 3 comments
Open

Different types of Posts in a legislature. #129

fgregg opened this issue Nov 5, 2019 · 3 comments
Labels
core Relating to the core app

Comments

@fgregg
Copy link
Contributor

fgregg commented Nov 5, 2019

I'm running into a bit of a modeling problem, which might call for an extension of the Post object.

It's fairly common for there to be two kinds of posts in a legislature.

The first type is the type of post that confers membership to the legislature. In the US context, this would be an "seat"

The second type is an office in the leadership of the legislature, such as Speaker of the House or President pro Tempore. This type of office does not confer membership in the organization. Instead membership in the legislature is a prerequisite to being eligible for these second types of posts.

It seems like we might want to

  1. distinguish between these types of posts
  2. associate the second type of posts to the primary membership of the person to the organization.

Thoughts @jpmckinney @jamesturk ?

@jpmckinney
Copy link
Member

I think we never solved this in popolo-project/popolo-spec#125, but we had some proposals there.

@fgregg
Copy link
Contributor Author

fgregg commented Nov 7, 2019

hilarious. thank you for your memory, James.

@jpmckinney
Copy link
Member

Following discussion in that issue, I think we can work up a PR here for a Term class (alternative terminology is welcome) that relates a person to a post (and optionally to a membership, to inform how the person is eligible for the post) and that has a start date and end date.

@jpmckinney jpmckinney added the core Relating to the core app label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Relating to the core app
Development

No branches or pull requests

2 participants