Created
June 3, 2015 19:25
-
-
Save jpmckinney/6e7d905c518d24a0b6ab to your computer and use it in GitHub Desktop.
Popolo `start_event` and `end_event` example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Old member | |
{ | |
"organization_id": "house-of-commons", | |
"person_id": "john-doe", | |
"end_event": "john-doe-resigns" | |
} | |
// Resignation | |
{ | |
"id": "john-doe-resigns", | |
"description": "John Doe resigned to spend more time with family." | |
} | |
// New member | |
{ | |
"organization_id": "house-of-commons", | |
"person_id": "jane-doe", | |
"start_event": "jane-doe-substituted" | |
} | |
// Substitution | |
{ | |
"id": "jane-doe-substituted", | |
"description": "Jane Doe is substituted for John Doe" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment