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

Attending event on somebody else's behalf #119

Open
wfdd opened this issue Feb 8, 2016 · 12 comments
Open

Attending event on somebody else's behalf #119

wfdd opened this issue Feb 8, 2016 · 12 comments
Labels

Comments

@wfdd
Copy link

wfdd commented Feb 8, 2016

While parsing the Cypriot parliament's committee reports, I'd often find that non-members would attend committee meetings on a committee member's behalf, the latter - presumably - being away on official business. (The exact wording they use is "X, representing Y".) Seeing as attendees is a list of Persons, I don't suppose there's currently a way to express this relationship in Popolo. In general, it'd be useful to note when somebody attends an event in their capacity as a member of the organising organisation; as representing another member; or as a non-member.

@jpmckinney
Copy link
Member

Yes, this happens in some US states as well. One option is to have an intermediate Attendance object between the Event and the Person - like how Membership is an intermediate object between Organization and Person. However, the case of people attending as themselves is so overwhelmingly common that I wouldn't want to make that common case more complicated.

Another option is to instead add a note on the event (instead of adding a note on an intermediate Attendance object) along the lines of "X is representing Y". This model is more complicated for the less common case where people attend on another's behalf.

What do you think?

@wfdd
Copy link
Author

wfdd commented Feb 9, 2016

A free-form note? That sounds unideal; I'd rather be able to explicitly tie a Person to their attendance 'mode'. I mean - we'll have packaged the information, but we'll have failed to encode it.

@jpmckinney
Copy link
Member

The note can be more structured. I don't mean using the note property that some classes have.

@wfdd
Copy link
Author

wfdd commented Feb 9, 2016

Okay, so we'd basically be listing some people in two different places. That works I suppose.

@jpmckinney
Copy link
Member

Yes, it would be a compromise between having a little more duplication in rare cases and having a lot more complexity in common cases.

@wfdd
Copy link
Author

wfdd commented Feb 9, 2016

Something like this then?

attendance_details:
  - attendee_id: politician/a
    on_behalf_of_id: politician/b

... where items would be defined as:

properties:
  attendee_id:
    type: [string, 'null']
  attendee:
    $ref: http://www.popoloproject.com/schemas/person.json#
  on_behalf_of_id:
    type: [string, 'null']
  on_behalf_of:
    $ref: http://www.popoloproject.com/schemas/person.json#
  note:
    type: [string, 'null']

Thoughts?

@jpmckinney
Copy link
Member

That looks good, though I'll try to think of a better term than attendance_details.

@jpmckinney
Copy link
Member

jpmckinney commented Dec 7, 2016

ROLL UP

These are commonly referred to as substitutions in legislative contexts.

While the re-use of on_behalf_of is nice, the substitute doesn't necessarily have any obligation to the regular member. So, I prefer using a more neutral term.

Options are:

  • attendee and absentee
  • substitute and substitutee, but it's easy to make typos

I think I would go with attendee and absentee, but would like some feedback on the terms. If we expect to re-use substitutions elsewhere, perhaps attendance terms are too specific.

Should add to documentation that the attendee list should have only attendees, not absentees.

@jpmckinney jpmckinney added ➡️. Can implement and removed ⬇️. Low priority labels Dec 7, 2016
@wfdd
Copy link
Author

wfdd commented Dec 7, 2016

Could you provide an example of this?

@jpmckinney
Copy link
Member

@wfdd

{
  "substitutions": [
    {
      "attendee_id": "person-that-is-attending",
      "absentee_id": "regular-member-who-cant-attend"
    }
  ]
}

@wfdd
Copy link
Author

wfdd commented Dec 8, 2016

Thanks. Any suggestions on how to deal with non-members in attendance, where Membership information is otherwise unavailable?

@jpmckinney
Copy link
Member

jpmckinney commented Dec 8, 2016

Can't such people simply be listed in an Event's attendees?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants