Skip to content

Instantly share code, notes, and snippets.

@petercossey
Created June 2, 2012 12:29
Show Gist options
  • Save petercossey/2858154 to your computer and use it in GitHub Desktop.
Save petercossey/2858154 to your computer and use it in GitHub Desktop.
Govhack mock JSON
{
"response" : {
"responseNum" : 3,
"timeRange" : {
"begin" : "2012-01-10",
"end" : "2012-03-15"
},
"importanceTotal" : 1600, // the sum of all the words of all the bills in all the topics
"totalSpeakers" : 28,
"topics" : {
"0" : {
"topicName" : "Carbon tax",
"billSummary" : {
"totalBills" : 5,
"passedBills" : 4,
"votedBills" : 5, // the number of bills that have had a division
"importance" : 900, // Importance is total word count for all speeches given during a bill debate
"importanceSpeakers" : 14,
"sentimentTotal" : {
"fear" : 0.12,
"happy" : 0.79
},
"billData" : {
"0" : {
"billName" : "Carbon Reduction Scheme 2012",
"billSponsor" : "Minister for Climate Change, Greg Combet",
"billSummary" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
"billImportance" : 260, // sum of all the speech word counts
"totalSpeeches" : 30,
"speakers" : {
"0" : {
"speakerName" : "Athony Albanese",
"speakerParty" : "Labor",
"speakerElectorate" : "Grandlyer",
"speakerVotingRecord" : { // This is the speakers voting record on the bill
"0" : {
"divisionDate" : "2012-02-28",
"vote" : "aye" // the possible values are aye|no|NULL - null means they weren't present or there wasn't a record of their vote
},
"1" : {
"divisionDate" : "2012-02-20",
"vote" : "NULL" // response.topics.0.billData.speeches.speechData
}
},
"totalSpeeches" : 2,
"speechData" : {
"0" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
},
"1" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
}
},
"1" : {
"speakerName" : "Greg Combet",
"speakerParty" : "Labor",
"speakerElectorate" : "Chartlon",
"speakerVotingRecord" : { // This is the speakers voting record on the bill
"0" : {
"divisionDate" : "2012-02-28",
"vote" : "no" // the possible values are aye|no|NULL - null means they weren't present or there wasn't a record of their vote
},
"1" : {
"divisionDate" : "2012-02-20",
"vote" : "aye" // response.topics.0.billData.speeches.speechData
}
},
"totalSpeeches" : 2,
"speechData" : {
"0" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
},
"1" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
}
}
}
},
"1" : {
"billName" : "Fair Work Australia Act 2010",
"billSponsor" : "Minister for Employment and Workplace Relations, Julia ",
"billSummary" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.",
"billImportance" : 260, // sum of all the speech word counts
"totalSpeeches" : 4,
"speakers" : {
"0" : {
"speakerName" : "Tanya Plibersek",
"speakerParty" : "Labor",
"speakerElectorate" : "Sydney",
"speakerVotingRecord" : { // This is the speakers voting record on the bill
"0" : {
"divisionDate" : "2012-02-28",
"vote" : "aye" // the possible values are aye|no|NULL - null means they weren't present or there wasn't a record of their vote
},
"1" : {
"divisionDate" : "2012-02-20",
"vote" : "NULL" // response.topics.0.billData.speeches.speechData
}
},
"totalSpeeches" : 2,
"speechData" : {
"0" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
},
"1" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
}
},
"1" : {
"speakerName" : "Joe Hockey",
"speakerParty" : "Liberal",
"speakerElectorate" : "North Sydney",
"speakerVotingRecord" : { // This is the speakers voting record on the bill
"0" : {
"divisionDate" : "2012-02-28",
"vote" : "NULL" // the possible values are aye|no|NULL - null means they weren't present or there wasn't a record of their vote
},
"1" : {
"divisionDate" : "2012-02-20",
"vote" : "NULL" // response.topics.0.billData.speeches.speechData
}
},
"totalSpeeches" : 2,
"speechData" : {
"0" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
},
"1" : {
"speechDate" : "2012-03-01",
"speechImportance" : 300, //straight word count
"speechSentiment" : {
"fear" : 0.05,
"happy" : 0.83
},
"speakerSpeech" : "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
}
}
}
}
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment