addedInput schema / examples
Added value: +[
+ {
+ "jurisdiction": "CA",
+ "query": "healthcare"
+ },
+ {
+ "classification": "bill",
+ "jurisdiction": "NY",
+ "per_page": 10,
+ "query": "education funding",
+ "session": "20232024",
+ "sort": "updated_desc",
+ "sponsor": "Smith"
+ }
+]
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "bills": {
+ "items": {
+ "properties": {
+ "chamber": {
+ "description": "Chamber (upper/lower) or organization",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "classification": {
+ "description": "Bill type classifications",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "identifier": {
+ "description": "Bill identifier (e.g., AB-123)",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "jurisdiction": {
+ "description": "State or jurisdiction name",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "latest_action": {
+ "description": "Description of latest action",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "latest_action_date": {
+ "description": "Date of latest action",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "openstates_id": {
+ "description": "OpenStates bill ID",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "openstates_url": {
+ "description": "Link to OpenStates page",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "session": {
+ "description": "Legislative session",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "subject": {
+ "description": "Subject tags",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "title": {
+ "description": "Bill title",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "page": {
+ "description": "Current page number",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "returned": {
+ "description": "Number of bills in this response",
+ "type": "number"
+ },
+ "total": {
+ "description": "Total matching bills across all pages",
+ "type": "number"
+ },
+ "total_pages": {
+ "description": "Total number of pages",
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "total",
+ "page",
+ "total_pages",
+ "returned",
+ "bills"
+ ],
+ "type": "object"
+}