Created
October 15, 2014 18:14
-
-
Save ansonl/c10a412e16eda175f8d6 to your computer and use it in GitHub Desktop.
Lobbyist Lookup Senate structs
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
type SenateRegistrant struct { | |
RegistrantName string `xml:",attr"` | |
RegistrantID string `xml:",attr"` | |
RegistrantCountry string `xml:",attr"` | |
} | |
type SenateClient struct { | |
ClientName string `xml:",attr"` | |
ClientID string `xml:",attr"` | |
ContactFullname string `xml:",attr"` | |
IsStateOrLocalGov bool `xml:",attr"` | |
ClientCountry string `xml:",attr"` | |
} | |
type SenateLobbyist struct { | |
LobbyistName string `xml:",attr"` | |
FirstName string | |
LastName string | |
} | |
type SenateFiling struct { | |
ID string `xml:",attr"` | |
Year string `xml:",attr"` | |
Type string `xml:",attr"` | |
Period string `xml:",attr"` | |
Client SenateClient `xml:Client"` | |
Registrant SenateRegistrant `xml:"Registrant"` | |
Lobbyists []SenateLobbyist `xml:"Lobbyists>Lobbyist"` | |
} | |
type SenateFile struct { | |
Filings []SenateFiling `xml:"Filing"` | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment