# fyi.contributions.foreignCountry

> Foreign principals in one country (as their Foreign Agents Registration Act registration lists it) and the US firms and people registered to represent them, from the Justice Department's FARA bulk data. Registrations in effect any time since the start of the dataset's first cycle are included. The record key is a slug of the country's name (e.g. 'japan').

- 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.foreignCountry)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ej5cllsvxdrzdsweyfgr2nge/fyi.contributions.foreignCountry/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ej5cllsvxdrzdsweyfgr2nge/fyi.contributions.foreignCountry/analytics)

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

Type: record · key any

### Properties

- `active` (integer, required): Principals with a registration in effect now.
- `ended` (integer, required): Principals whose registration ended in the period covered.
- `id` (string, required): Also the record key.
- `name` (string, required)
- `principals` (array, required)
  - `items` (ref)
    - Reference: `lex:fyi.contributions.foreignCountry#principal`
- `registrants` (integer, required): Registrants representing an active principal.

## #principal (`fyi.contributions.foreignCountry#principal`)

Type: object

### Properties

- `name` (string, required)
- `organization` (string): fyi.contributions.organization record key, when the principal's name matches one.
- `organizationUri` (string · at-uri)
- `registered` (string, required): When the principal was added to the registration, YYYY-MM-DD.
- `registrant` (string, required): FARA registration number of the registered agent.
- `registrantName` (string, required)
- `registrantOrganization` (string): fyi.contributions.organization record key, when the registrant's name matches one.
- `registrantOrganizationUri` (string · at-uri)
- `terminated` (string): When it ended, YYYY-MM-DD; absent if in effect.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Foreign principals in one country (as their Foreign Agents Registration Act registration lists it) and the US firms and people registered to represent them, from the Justice Department's FARA bulk data. Registrations in effect any time since the start of the dataset's first cycle are included. The record key is a slug of the country's name (e.g. 'japan').",
      "key": "any",
      "record": {
        "properties": {
          "active": {
            "description": "Principals with a registration in effect now.",
            "type": "integer"
          },
          "ended": {
            "description": "Principals whose registration ended in the period covered.",
            "type": "integer"
          },
          "id": {
            "description": "Also the record key.",
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "principals": {
            "items": {
              "ref": "lex:fyi.contributions.foreignCountry#principal",
              "type": "ref"
            },
            "type": "array"
          },
          "registrants": {
            "description": "Registrants representing an active principal.",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "name",
          "active",
          "ended",
          "registrants",
          "principals"
        ],
        "type": "object"
      },
      "type": "record"
    },
    "principal": {
      "properties": {
        "name": {
          "type": "string"
        },
        "organization": {
          "description": "fyi.contributions.organization record key, when the principal's name matches one.",
          "type": "string"
        },
        "organizationUri": {
          "format": "at-uri",
          "type": "string"
        },
        "registered": {
          "description": "When the principal was added to the registration, YYYY-MM-DD.",
          "type": "string"
        },
        "registrant": {
          "description": "FARA registration number of the registered agent.",
          "type": "string"
        },
        "registrantName": {
          "type": "string"
        },
        "registrantOrganization": {
          "description": "fyi.contributions.organization record key, when the registrant's name matches one.",
          "type": "string"
        },
        "registrantOrganizationUri": {
          "format": "at-uri",
          "type": "string"
        },
        "terminated": {
          "description": "When it ended, YYYY-MM-DD; absent if in effect.",
          "type": "string"
        }
      },
      "required": [
        "name",
        "registrant",
        "registrantName",
        "registered"
      ],
      "type": "object"
    }
  },
  "id": "fyi.contributions.foreignCountry",
  "lexicon": 1
}
```
