usgpo / bill-status

Information about Bill Status XML Bulk Data including the XML User Guide.
https://www.govinfo.gov/bulkdata/BILLSTATUS
156 stars 46 forks source link

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

Open ryparker opened 1 year ago

ryparker commented 1 year ago

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

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 commented 1 year ago

@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.