# XML Schema Documentation

### Complex Type: LegalEntity

#### [Table of contents]

Super-types: | None
Sub-types: | None

Name | LegalEntity
Abstract | no
Documentation | A type defining a legal entity.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
Start Choice [1]
<entityName> EntityName </entityName> [1]

'The name of the reference entity. A free format string. FpML does not define usage rules for this element.'

<entityId> EntityId </entityId> [0..*]

'A legal entity identifier (e.g. RED entity code).'

<entityId> EntityId </entityId> [1..*]

'A legal entity identifier (e.g. RED entity code)..'

End Choice
</...>
Diagram
Schema Component Representation
<xsd:complexType name="LegalEntity">
<xsd:choice>
<xsd:sequence>
<xsd:element name="entityName" type=" EntityName "/>
<xsd:element name="entityId" type=" EntityId " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:element name="entityId" type=" EntityId " maxOccurs="unbounded"/>
</xsd:choice>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>