> [!NOTE]
> **Note:** This entity is the same for all feed types.

Use the `PartyLeadership` entity to define information about a various
[types](https://developers.google.com/civics-data/reference/party-leadership-type) of leadership for a
[`Party`](https://developers.google.com/civics-data/reference/party).

> [!IMPORTANT]
> **Important:** Some of this information was formerly specified in [`ExternalIdentifiers`](https://developers.google.com/civics-data/reference/external-identifier) attached to `Party` entities. `PartyLeadership` is the new way to do this and should be preferred whenever possible.

## Attributes

The following table describes the attributes for the `PartyLeadership` element:

| Attribute | Required? | Type | Description |
|---|---|---|---|
| `objectId` | Required | `ID` | Unique internal identifier that's used by other elements to reference this element. |

## Elements

The following table describes the elements for `PartyLeadership`:

| Element | Multiplicity | Type | Description |
|---|---|---|---|
| `EndDate` | 0 or 1 | `PartialDate` | End date of the person's time in the party leadership role. Should be left unspecified if the leadership tenure is ongoing. |
| `ExternalIdentifiers` | 1 | [`ExternalIdentifiers`](https://developers.google.com/civics-data/reference/external-identifier) | Associates an ID with the party leadership. A [stable identifier](https://developers.google.com/civics-data/guides/stable-identifiers) is required. |
| `PartyLeaderId` | 1 | `IDREF` | Unique identifier for the [`Person`](https://developers.google.com/civics-data/reference/person) who holds the party leadership role. |
| `StartDate` | 0 or 1 | `PartialDate` | Start date of the person's time in the party leadership role. Should be left unspecified if the date is unknown. |
| `Type` | 1 | [`PartyLeadershipType`](https://developers.google.com/civics-data/reference/party-leadership-type) | The type of party leadership this element represents. |

## Examples

### XML

```xml
    <PartyLeadership objectId="pl-123">
      <EndDate>2024-02-01</EndDate>
      <ExternalIdentifiers>
        <ExternalIdentifier>
          <Type>other</Type>
          <OtherType>stable</OtherType>
          <Value>pl-123</Value>
        </ExternalIdentifier>
      </ExternalIdentifiers>
      <PartyLeaderId>per-123</PartyLeaderId>
      <StartDate>2024-01-01</StartDate>
      <Type>party-leader</Type>
    </PartyLeadership>
```