addedOutput schema / properties / results / items / properties / documents
Added value: +{
+ "description": "Bill documents (fiscal notes, etc.) when include=documents is requested.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Bill document record.",
+ "properties": {
+ "date": {
+ "description": "Document date.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Document ID.",
+ "type": "string"
+ },
+ "links": {
+ "description": "Document links.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Document link.",
+ "properties": {
+ "media_type": {
+ "description": "MIME type.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Document URL.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "media_type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "description": "Document note.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "note",
+ "date",
+ "links"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / results / items / properties / other_identifiers
Added value: +{
+ "description": "Alternate identifiers when include=other_identifiers is requested.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Alternate identifier record.",
+ "properties": {
+ "identifier": {
+ "description": "Alternate bill identifier.",
+ "type": "string"
+ },
+ "scheme": {
+ "description": "Identifier scheme (the issuing system).",
+ "type": "string"
+ }
+ },
+ "required": [
+ "identifier",
+ "scheme"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / results / items / properties / other_titles
Added value: +{
+ "description": "Alternate titles when include=other_titles is requested.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Alternate title record.",
+ "properties": {
+ "note": {
+ "description": "Note describing the alternate title.",
+ "type": "string"
+ },
+ "title": {
+ "description": "Alternate bill title.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "title",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / results / items / properties / related_bills
Added value: +{
+ "description": "Related bills when include=related_bills is requested.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Related bill record.",
+ "properties": {
+ "identifier": {
+ "description": "Related bill identifier.",
+ "type": "string"
+ },
+ "legislative_session": {
+ "description": "Session of the related bill.",
+ "type": "string"
+ },
+ "relation_type": {
+ "description": "Relationship type (e.g., \"companion\", \"identical\").",
+ "type": "string"
+ }
+ },
+ "required": [
+ "identifier",
+ "legislative_session",
+ "relation_type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / results / items / properties / sources
Added value: +{
+ "description": "Source documents when include=sources is requested.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Source record.",
+ "properties": {
+ "note": {
+ "description": "Source note.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Source URL.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "note"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / results / items / properties / versions
Added value: +{
+ "description": "Bill text versions when include=versions is requested.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Bill text version record.",
+ "properties": {
+ "date": {
+ "description": "Version date.",
+ "type": "string"
+ },
+ "id": {
+ "description": "Version ID.",
+ "type": "string"
+ },
+ "links": {
+ "description": "Document links.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Document link.",
+ "properties": {
+ "media_type": {
+ "description": "MIME type.",
+ "type": "string"
+ },
+ "url": {
+ "description": "Document URL.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "media_type"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "note": {
+ "description": "Version note.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "note",
+ "date",
+ "links"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / results / items / properties / votes
Added value: +{
+ "description": "Vote events when include=votes is requested.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Vote event record.",
+ "properties": {
+ "counts": {
+ "description": "Vote tallies by option.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Vote tally entry.",
+ "properties": {
+ "option": {
+ "description": "Vote option (e.g., \"yes\", \"no\", \"absent\").",
+ "type": "string"
+ },
+ "value": {
+ "description": "Count of votes for this option.",
+ "type": "number"
+ }
+ },
+ "required": [
+ "option",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "id": {
+ "description": "Vote event ID.",
+ "type": "string"
+ },
+ "identifier": {
+ "description": "Vote identifier.",
+ "type": "string"
+ },
+ "motion_text": {
+ "description": "Motion text.",
+ "type": "string"
+ },
+ "result": {
+ "description": "Vote result: \"pass\" or \"fail\".",
+ "type": "string"
+ },
+ "start_date": {
+ "description": "Vote date.",
+ "type": "string"
+ },
+ "votes": {
+ "description": "Per-legislator vote positions.",
+ "items": {
+ "additionalProperties": false,
+ "description": "Individual legislator vote.",
+ "properties": {
+ "option": {
+ "description": "How this legislator voted.",
+ "type": "string"
+ },
+ "voter": {
+ "additionalProperties": false,
+ "description": "Linked person record when available.",
+ "properties": {
+ "id": {
+ "description": "OCD person ID.",
+ "type": "string"
+ },
+ "name": {
+ "description": "Person name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "voter_name": {
+ "description": "Voter name.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "option",
+ "voter_name"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "id",
+ "motion_text",
+ "start_date",
+ "result",
+ "identifier",
+ "counts",
+ "votes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}