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

(BillStatus XML v3): some list items not using <item> #205

Open
ryparker opened this issue Dec 29, 2022 · 1 comment
Open

(BillStatus XML v3): some list items not using <item> #205

ryparker opened this issue Dec 29, 2022 · 1 comment

Comments

@ryparker
Copy link

ryparker commented Dec 29, 2022

Is there any reason why the following shouldn't be replaced with <item>?

  • <amendment>
  • <summary>
  • <recordedVote>
  • <link>
  • <committeeReport>

e.g. Current implementation:

<summaries>
	<summary>
		…
	</summary>
</summaries>
<amendments>
	<amendment>
		…
		<links>
			<link>
				…
			</link>
		</links>
		<latestAction>
			<links>
				<link>
					…
				</link>
			</links>
		</latestAction>
	</amendment>
</amendments>
<actions>
	<item>
		…
		<recordedVotes>
			<recordedVote>
				…
			</recordedVote>
		</recordedVotes>
	</item>
</actions>
<committeeReports>
	<committeeReport>
		…
	</committeeReport>
</committeeReports>

e.g. Proposed implementation:

<summaries>
	<item>
		…
	</item>
</summaries>
<amendments>
	<item>
		…
		<links>
			<item>
				…
			</item>
		</links>
		<latestAction>
			<links>
				<item>
					…
				</item>
			</links>
		</latestAction>
	</item>
</amendments>
<actions>
	<item>
		…
		<recordedVotes>
			<item>
				…
			</item>
		</recordedVotes>
	</item>
</actions>
<committeeReports>
	<item>
		…
	</item>
</committeeReports>
@jonquandt
Copy link
Member

@ryparker - this would require changes on the upstream Congress.gov API. While this is something that could be done, it would likely be a breaking change that would require additional discussion and notification from them.

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

No branches or pull requests

2 participants