Congress.gov API · Schema

BillDetail

GovernmentLegislativeCongressBillsAmendmentsMembersTreatiesNominationsCongressional RecordUS Federal

Properties

Name Type Description
actions object
committees object
congress integer
introducedDate string
latestAction object
legislationUrl string
number string
originChamber string
originChamberCode string
policyArea object
relatedBills string
sponsors array
View JSON Schema on GitHub

JSON Schema

congress-gov-billdetail-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.congress.gov/schemas/BillDetail",
  "title": "BillDetail",
  "type": "object",
  "properties": {
    "actions": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "example": 1
        },
        "url": {
          "type": "string",
          "example": "https://api.congress.gov/v3/bill/117/s/1234/actions?format=json"
        }
      }
    },
    "committees": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer",
          "example": 1
        },
        "url": {
          "type": "string",
          "example": "https://api.congress.gov/v3/bill/117/s/1234/committees?format=json"
        }
      }
    },
    "congress": {
      "type": "integer",
      "example": 117
    },
    "introducedDate": {
      "type": "string",
      "format": "date",
      "example": "2019-01-01"
    },
    "latestAction": {
      "type": "object",
      "properties": {
        "actionDate": {
          "type": "string",
          "format": "date",
          "example": "2019-01-01"
        },
        "text": {
          "type": "string"
        }
      }
    },
    "legislationUrl": {
      "type": "string",
      "format": "url",
      "example": "https://www.congress.gov/bill/117th-congress/senate-bill/1234"
    },
    "number": {
      "type": "string",
      "example": 1234
    },
    "originChamber": {
      "type": "string",
      "example": "Senate"
    },
    "originChamberCode": {
      "type": "string",
      "example": "S"
    },
    "policyArea": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "example": "Health"
        }
      }
    },
    "relatedBills": {
      "type": "string",
      "format": "url",
      "example": "https://api.congress.gov/v3/bill/117/s/1234/relatedbills?format=json"
    },
    "sponsors": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Sponsor"
      }
    }
  }
}