# fyi.contributions.account

> Who funds this Bluesky account: a member of Congress's account, with a summary of their campaign money. The record key is the account's DID, so getRecord with any DID answers the question, or returns RecordNotFound if it isn't a member's account.

- Kind: record
- Record key: any
- Authority: contributions.fyi
- Lexicon: 1
- Published by [data.contributions.fyi](https://lexicon.garden/identity/did:plc:ej5cllsvxdrzdsweyfgr2nge), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ej5cllsvxdrzdsweyfgr2nge/fyi.contributions.account)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ej5cllsvxdrzdsweyfgr2nge/fyi.contributions.account/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ej5cllsvxdrzdsweyfgr2nge/fyi.contributions.account/analytics)

## Record (`fyi.contributions.account`)

Type: record · key any

### Properties

- `bioguide` (string, required)
- `chamber` (string, required)
  - Constraints: knownValues: house | senate
- `cycles` (array, required): Election cycles the totals cover.
  - `items` (integer)
- `did` (string · did, required): Also the record key.
- `district` (integer)
- `handle` (string · handle, required): As of when the data was built.
- `member` (string · at-uri, required): The full fyi.contributions.member record.
- `name` (string, required)
- `party` (string, required)
- `state` (string, required)
- `topContributors` (array, required): Top 5 contributors (an organization's PAC money, donations from people who list it as their employer, and donations earmarked through its PAC), leaving out party committees.
  - `items` (ref)
    - Reference: `lex:fyi.contributions.member#contributor`
- `topSectors` (array, required): Top 5 sectors (id is the sector) from PAC and individual money combined, leaving out Unknown, Retired, Not employed and party committees. The same ranking the labeler's sector labels use.
  - `items` (ref)
    - Reference: `lex:fyi.contributions.defs#amount`
- `totals` (ref, required)
  - Reference: `lex:fyi.contributions.account#totals`
- `url` (string · uri, required): The member's page on contributions.fyi.

## #totals (`fyi.contributions.account#totals`)

Type: object

Summed over the cycles, in US dollars.

### Properties

- `individual` (integer, required): From individuals.
- `outsideOppose` (integer, required): Independent expenditures opposing them.
- `outsideSupport` (integer, required): Independent expenditures supporting them.
- `pac` (integer, required): From PACs and other non-party committees.
- `receipts` (integer, required): Everything the campaign raised.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Who funds this Bluesky account: a member of Congress's account, with a summary of their campaign money. The record key is the account's DID, so getRecord with any DID answers the question, or returns RecordNotFound if it isn't a member's account.",
      "key": "any",
      "record": {
        "properties": {
          "bioguide": {
            "type": "string"
          },
          "chamber": {
            "knownValues": [
              "house",
              "senate"
            ],
            "type": "string"
          },
          "cycles": {
            "description": "Election cycles the totals cover.",
            "items": {
              "type": "integer"
            },
            "type": "array"
          },
          "did": {
            "description": "Also the record key.",
            "format": "did",
            "type": "string"
          },
          "district": {
            "type": "integer"
          },
          "handle": {
            "description": "As of when the data was built.",
            "format": "handle",
            "type": "string"
          },
          "member": {
            "description": "The full fyi.contributions.member record.",
            "format": "at-uri",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "party": {
            "type": "string"
          },
          "state": {
            "type": "string"
          },
          "topContributors": {
            "description": "Top 5 contributors (an organization's PAC money, donations from people who list it as their employer, and donations earmarked through its PAC), leaving out party committees.",
            "items": {
              "ref": "lex:fyi.contributions.member#contributor",
              "type": "ref"
            },
            "type": "array"
          },
          "topSectors": {
            "description": "Top 5 sectors (id is the sector) from PAC and individual money combined, leaving out Unknown, Retired, Not employed and party committees. The same ranking the labeler's sector labels use.",
            "items": {
              "ref": "lex:fyi.contributions.defs#amount",
              "type": "ref"
            },
            "type": "array"
          },
          "totals": {
            "ref": "lex:fyi.contributions.account#totals",
            "type": "ref"
          },
          "url": {
            "description": "The member's page on contributions.fyi.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "did",
          "handle",
          "member",
          "bioguide",
          "name",
          "chamber",
          "state",
          "party",
          "cycles",
          "totals",
          "topSectors",
          "topContributors",
          "url"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "totals": {
      "description": "Summed over the cycles, in US dollars.",
      "properties": {
        "individual": {
          "description": "From individuals.",
          "type": "integer"
        },
        "outsideOppose": {
          "description": "Independent expenditures opposing them.",
          "type": "integer"
        },
        "outsideSupport": {
          "description": "Independent expenditures supporting them.",
          "type": "integer"
        },
        "pac": {
          "description": "From PACs and other non-party committees.",
          "type": "integer"
        },
        "receipts": {
          "description": "Everything the campaign raised.",
          "type": "integer"
        }
      },
      "required": [
        "receipts",
        "individual",
        "pac",
        "outsideSupport",
        "outsideOppose"
      ],
      "type": "object"
    }
  },
  "id": "fyi.contributions.account",
  "lexicon": 1
}
```
