Skip to content

v0.2.0: required jurisdiction schema, bill/federal disclosure fixes

Choose a tag to compare

@cyanheads cyanheads released this 31 Jul 09:21
v0.2.0
665cab1

required jurisdiction schema, bill/federal disclosure fixes

  • jurisdiction is now a required input schema field (not just handler-enforced) on openstates_search_people, openstates_search_committees, and openstates_search_events — a breaking change. A call omitting jurisdiction now fails schema validation instead of receiving a typed jurisdiction_required error; that error contract is removed as unreachable. (#35)
  • openstates_get_legislators_by_location discloses the federal delegation (jurisdiction.classification, stateCount/federalCount) it already returned alongside state legislators, and adds given_name/family_name to match openstates_search_people (#36)
  • openstates_search_bills names every filter behind a zero-result answer, including an unrecognized jurisdiction (#32)
  • openstates_get_bill and openstates_search_bills no longer fail output validation on include=other_identifiers — Open States omits scheme on bill records (#31)

CHANGELOG v0.2.0