Schema portfolioTaxLots.xsd


schema location:  portfolioTaxLots.xsd
 
Elements  Complex types 
portfolioTaxLots  portfolioTaxLotsAccountsType 
portfolioTotalType 
PortfolioType 
securitiesType 
securityGroupsType 
securityGroupTotalType 
securityGroupType 
securitySectorsType 
securitySectorTotalType 
securitySectorType 
securityType 
taxLotsType 
taxLotTotalType 
taxLotType 


element portfolioTaxLots
diagram
type PortfolioType
children portfolioTaxLotsAccounts
attributes
Name  Type  Use  Default  Fixed  Annotation
reportDate  xs:date  required      
aplTime  xs:integer  required      
source
<xs:element name="portfolioTaxLots" type="PortfolioType"/>

complexType portfolioTaxLotsAccountsType
diagram
children accountName securityGroups portfolioTotal
used by
element PortfolioType/portfolioTaxLotsAccounts
attributes
Name  Type  Use  Default  Fixed  Annotation
accountNumber  xs:string  required      
source
<xs:complexType name="portfolioTaxLotsAccountsType">
  <xs:sequence>
    <xs:element name="accountName" type="xs:string"/>
    <xs:element name="securityGroups" type="securityGroupsType"/>
    <xs:element name="portfolioTotal" type="portfolioTotalType"/>
  </xs:sequence>
  <xs:attribute name="accountNumber" type="xs:string" use="required"/>
</xs:complexType>

element portfolioTaxLotsAccountsType/accountName
diagram
type xs:string
source
<xs:element name="accountName" type="xs:string"/>

element portfolioTaxLotsAccountsType/securityGroups
diagram
type securityGroupsType
children securityGroup
source
<xs:element name="securityGroups" type="securityGroupsType"/>

element portfolioTaxLotsAccountsType/portfolioTotal
diagram
type portfolioTotalType
children costBasis marketValue percentValue annualIncome gainLoss
source
<xs:element name="portfolioTotal" type="portfolioTotalType"/>

complexType portfolioTotalType
diagram
children costBasis marketValue percentValue annualIncome gainLoss
used by
element portfolioTaxLotsAccountsType/portfolioTotal
source
<xs:complexType name="portfolioTotalType">
  <xs:sequence>
    <xs:element name="costBasis" type="xs:decimal"/>
    <xs:element name="marketValue" type="xs:decimal"/>
    <xs:element name="percentValue" type="xs:decimal"/>
    <xs:element name="annualIncome" type="xs:decimal"/>
    <xs:element name="gainLoss" type="xs:decimal"/>
  </xs:sequence>
</xs:complexType>

element portfolioTotalType/costBasis
diagram
type xs:decimal
source
<xs:element name="costBasis" type="xs:decimal"/>

element portfolioTotalType/marketValue
diagram
type xs:decimal
source
<xs:element name="marketValue" type="xs:decimal"/>

element portfolioTotalType/percentValue
diagram
type xs:decimal
source
<xs:element name="percentValue" type="xs:decimal"/>

element portfolioTotalType/annualIncome
diagram
type xs:decimal
source
<xs:element name="annualIncome" type="xs:decimal"/>

element portfolioTotalType/gainLoss
diagram
type xs:decimal
source
<xs:element name="gainLoss" type="xs:decimal"/>

complexType PortfolioType
diagram
children portfolioTaxLotsAccounts
used by
element portfolioTaxLots
attributes
Name  Type  Use  Default  Fixed  Annotation
reportDate  xs:date  required      
aplTime  xs:integer  required      
source
<xs:complexType name="PortfolioType">
  <xs:sequence>
    <xs:element name="portfolioTaxLotsAccounts" type="portfolioTaxLotsAccountsType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
  <xs:attribute name="reportDate" type="xs:date" use="required"/>
  <xs:attribute name="aplTime" type="xs:integer" use="required"/>
</xs:complexType>

element PortfolioType/portfolioTaxLotsAccounts
diagram
type portfolioTaxLotsAccountsType
children accountName securityGroups portfolioTotal
attributes
Name  Type  Use  Default  Fixed  Annotation
accountNumber  xs:string  required      
source
<xs:element name="portfolioTaxLotsAccounts" type="portfolioTaxLotsAccountsType" minOccurs="0" maxOccurs="unbounded"/>

complexType securitiesType
diagram
children security
used by
element securitySectorType/securities
source
<xs:complexType name="securitiesType">
  <xs:sequence>
    <xs:element name="security" type="securityType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element securitiesType/security
diagram
type securityType
children totalShares securityDescription costPerShare costBasis price marketValue percentValue annualIncome gainLoss taxLots
attributes
Name  Type  Use  Default  Fixed  Annotation
ticker  xs:string  required      
cusip  xs:string  required      
sect  xs:integer  required      
source
<xs:element name="security" type="securityType" minOccurs="0" maxOccurs="unbounded"/>

complexType securityGroupsType
diagram
children securityGroup
used by
element portfolioTaxLotsAccountsType/securityGroups
source
<xs:complexType name="securityGroupsType">
  <xs:sequence>
    <xs:element name="securityGroup" type="securityGroupType" minOccurs="0" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element securityGroupsType/securityGroup
diagram
type securityGroupType
children securitySectors securityGroupTotal
attributes
Name  Type  Use  Default  Fixed  Annotation
securityGroupName  xs:string  required      
source
<xs:element name="securityGroup" type="securityGroupType" minOccurs="0" maxOccurs="unbounded"/>

complexType securityGroupTotalType
diagram
children costBasis marketValue percentValue annualIncome gainLoss
used by
element securityGroupType/securityGroupTotal
source
<xs:complexType name="securityGroupTotalType">
  <xs:sequence>
    <xs:element name="costBasis" type="xs:decimal"/>
    <xs:element name="marketValue" type="xs:decimal"/>
    <xs:element name="percentValue" type="xs:decimal"/>
    <xs:element name="annualIncome" type="xs:decimal"/>
    <xs:element name="gainLoss" type="xs:decimal"/>
  </xs:sequence>
</xs:complexType>

element securityGroupTotalType/costBasis
diagram
type xs:decimal
source
<xs:element name="costBasis" type="xs:decimal"/>

element securityGroupTotalType/marketValue
diagram
type xs:decimal
source
<xs:element name="marketValue" type="xs:decimal"/>

element securityGroupTotalType/percentValue
diagram
type xs:decimal
source
<xs:element name="percentValue" type="xs:decimal"/>

element securityGroupTotalType/annualIncome
diagram
type xs:decimal
source
<xs:element name="annualIncome" type="xs:decimal"/>

element securityGroupTotalType/gainLoss
diagram
type xs:decimal
source
<xs:element name="gainLoss" type="xs:decimal"/>

complexType securityGroupType
diagram
children securitySectors securityGroupTotal
used by
element securityGroupsType/securityGroup
attributes
Name  Type  Use  Default  Fixed  Annotation
securityGroupName  xs:string  required      
source
<xs:complexType name="securityGroupType">
  <xs:sequence>
    <xs:element name="securitySectors" type="securitySectorsType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="securityGroupTotal" type="securityGroupTotalType"/>
  </xs:sequence>
  <xs:attribute name="securityGroupName" type="xs:string" use="required"/>
</xs:complexType>

element securityGroupType/securitySectors
diagram
type securitySectorsType
children securitySector
source
<xs:element name="securitySectors" type="securitySectorsType" minOccurs="0" maxOccurs="unbounded"/>

element securityGroupType/securityGroupTotal
diagram
type securityGroupTotalType
children costBasis marketValue percentValue annualIncome gainLoss
source
<xs:element name="securityGroupTotal" type="securityGroupTotalType"/>

complexType securitySectorsType
diagram
children securitySector
used by
element securityGroupType/securitySectors
source
<xs:complexType name="securitySectorsType">
  <xs:sequence>
    <xs:element name="securitySector" type="securitySectorType" maxOccurs="unbounded"/>
  </xs:sequence>
</xs:complexType>

element securitySectorsType/securitySector
diagram
type securitySectorType
children securities securitySectorTotal
attributes
Name  Type  Use  Default  Fixed  Annotation
securitySectorName  xs:string        
source
<xs:element name="securitySector" type="securitySectorType" maxOccurs="unbounded"/>

complexType securitySectorTotalType
diagram
children costBasis marketValue percentValue annualIncome gainLoss
used by
element securitySectorType/securitySectorTotal
source
<xs:complexType name="securitySectorTotalType">
  <xs:sequence>
    <xs:element name="costBasis" type="xs:decimal"/>
    <xs:element name="marketValue" type="xs:decimal"/>
    <xs:element name="percentValue" type="xs:decimal"/>
    <xs:element name="annualIncome" type="xs:decimal"/>
    <xs:element name="gainLoss" type="xs:decimal"/>
  </xs:sequence>
</xs:complexType>

element securitySectorTotalType/costBasis
diagram
type xs:decimal
source
<xs:element name="costBasis" type="xs:decimal"/>

element securitySectorTotalType/marketValue
diagram
type xs:decimal
source
<xs:element name="marketValue" type="xs:decimal"/>

element securitySectorTotalType/percentValue
diagram
type xs:decimal
source
<xs:element name="percentValue" type="xs:decimal"/>

element securitySectorTotalType/annualIncome
diagram
type xs:decimal
source
<xs:element name="annualIncome" type="xs:decimal"/>

element securitySectorTotalType/gainLoss
diagram
type xs:decimal
source
<xs:element name="gainLoss" type="xs:decimal"/>

complexType securitySectorType
diagram
children securities securitySectorTotal
used by
element securitySectorsType/securitySector
attributes
Name  Type  Use  Default  Fixed  Annotation
securitySectorName  xs:string        
source
<xs:complexType name="securitySectorType">
  <xs:sequence>
    <xs:element name="securities" type="securitiesType" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="securitySectorTotal" type="securitySectorTotalType"/>
  </xs:sequence>
  <xs:attribute name="securitySectorName" type="xs:string"/>
</xs:complexType>

element securitySectorType/securities
diagram
type securitiesType
children security
source
<xs:element name="securities" type="securitiesType" minOccurs="0" maxOccurs="unbounded"/>

element securitySectorType/securitySectorTotal
diagram
type securitySectorTotalType
children costBasis marketValue percentValue annualIncome gainLoss
source
<xs:element name="securitySectorTotal" type="securitySectorTotalType"/>

complexType securityType
diagram
children totalShares securityDescription costPerShare costBasis price marketValue percentValue annualIncome gainLoss taxLots
used by
element securitiesType/security
attributes
Name  Type  Use  Default  Fixed  Annotation
ticker  xs:string  required      
cusip  xs:string  required      
sect  xs:integer  required      
source
<xs:complexType name="securityType">
  <xs:sequence>
    <xs:element name="totalShares" type="xs:decimal"/>
    <xs:element name="securityDescription" type="xs:string"/>
    <xs:element name="costPerShare" type="xs:decimal"/>
    <xs:element name="costBasis" type="xs:decimal"/>
    <xs:element name="price" type="xs:decimal"/>
    <xs:element name="marketValue" type="xs:decimal"/>
    <xs:element name="percentValue" type="xs:decimal"/>
    <xs:element name="annualIncome" type="xs:decimal"/>
    <xs:element name="gainLoss" type="xs:decimal"/>
    <xs:element name="taxLots" type="taxLotsType"/>
  </xs:sequence>
  <xs:attribute name="ticker" type="xs:string" use="required"/>
  <xs:attribute name="cusip" type="xs:string" use="required"/>
  <xs:attribute name="sect" type="xs:integer" use="required"/>
</xs:complexType>

element securityType/totalShares
diagram
type xs:decimal
source
<xs:element name="totalShares" type="xs:decimal"/>

element securityType/securityDescription
diagram
type xs:string
source
<xs:element name="securityDescription" type="xs:string"/>

element securityType/costPerShare
diagram
type xs:decimal
source
<xs:element name="costPerShare" type="xs:decimal"/>

element securityType/costBasis
diagram
type xs:decimal
source
<xs:element name="costBasis" type="xs:decimal"/>

element securityType/price
diagram
type xs:decimal
source
<xs:element name="price" type="xs:decimal"/>

element securityType/marketValue
diagram
type xs:decimal
source
<xs:element name="marketValue" type="xs:decimal"/>

element securityType/percentValue
diagram
type xs:decimal
source
<xs:element name="percentValue" type="xs:decimal"/>

element securityType/annualIncome
diagram
type xs:decimal
source
<xs:element name="annualIncome" type="xs:decimal"/>

element securityType/gainLoss
diagram
type xs:decimal
source
<xs:element name="gainLoss" type="xs:decimal"/>

element securityType/taxLots
diagram
type taxLotsType
children taxLot taxLotTotal
source
<xs:element name="taxLots" type="taxLotsType"/>

complexType taxLotsType
diagram
children taxLot taxLotTotal
used by
element securityType/taxLots
source
<xs:complexType name="taxLotsType">
  <xs:sequence>
    <xs:element name="taxLot" type="taxLotType" maxOccurs="unbounded"/>
    <xs:element name="taxLotTotal" type="taxLotTotalType"/>
  </xs:sequence>
</xs:complexType>

element taxLotsType/taxLot
diagram
type taxLotType
children totalShares purchaseDate costPerShare costBasis price marketValue percentValue annualIncome gainLoss
source
<xs:element name="taxLot" type="taxLotType" maxOccurs="unbounded"/>

element taxLotsType/taxLotTotal
diagram
type taxLotTotalType
children totalShares costBasis marketValue percentValue annualIncome gainLoss
source
<xs:element name="taxLotTotal" type="taxLotTotalType"/>

complexType taxLotTotalType
diagram
children totalShares costBasis marketValue percentValue annualIncome gainLoss
used by
element taxLotsType/taxLotTotal
source
<xs:complexType name="taxLotTotalType">
  <xs:sequence>
    <xs:element name="totalShares" type="xs:decimal"/>
    <xs:element name="costBasis" type="xs:decimal"/>
    <xs:element name="marketValue" type="xs:decimal"/>
    <xs:element name="percentValue" type="xs:decimal"/>
    <xs:element name="annualIncome" type="xs:decimal"/>
    <xs:element name="gainLoss" type="xs:decimal"/>
  </xs:sequence>
</xs:complexType>

element taxLotTotalType/totalShares
diagram
type xs:decimal
source
<xs:element name="totalShares" type="xs:decimal"/>

element taxLotTotalType/costBasis
diagram
type xs:decimal
source
<xs:element name="costBasis" type="xs:decimal"/>

element taxLotTotalType/marketValue
diagram
type xs:decimal
source
<xs:element name="marketValue" type="xs:decimal"/>

element taxLotTotalType/percentValue
diagram
type xs:decimal
source
<xs:element name="percentValue" type="xs:decimal"/>

element taxLotTotalType/annualIncome
diagram
type xs:decimal
source
<xs:element name="annualIncome" type="xs:decimal"/>

element taxLotTotalType/gainLoss
diagram
type xs:decimal
source
<xs:element name="gainLoss" type="xs:decimal"/>

complexType taxLotType
diagram
children totalShares purchaseDate costPerShare costBasis price marketValue percentValue annualIncome gainLoss
used by
element taxLotsType/taxLot
source
<xs:complexType name="taxLotType">
  <xs:sequence>
    <xs:element name="totalShares" type="xs:decimal"/>
    <xs:element name="purchaseDate" type="xs:date" nillable="1"/>
    <xs:element name="costPerShare" type="xs:decimal"/>
    <xs:element name="costBasis" type="xs:decimal"/>
    <xs:element name="price" type="xs:decimal"/>
    <xs:element name="marketValue" type="xs:decimal"/>
    <xs:element name="percentValue" type="xs:decimal"/>
    <xs:element name="annualIncome" type="xs:decimal"/>
    <xs:element name="gainLoss" type="xs:decimal"/>
  </xs:sequence>
</xs:complexType>

element taxLotType/totalShares
diagram
type xs:decimal
source
<xs:element name="totalShares" type="xs:decimal"/>

element taxLotType/purchaseDate
diagram
type xs:date
source
<xs:element name="purchaseDate" type="xs:date" nillable="1"/>

element taxLotType/costPerShare
diagram
type xs:decimal
source
<xs:element name="costPerShare" type="xs:decimal"/>

element taxLotType/costBasis
diagram
type xs:decimal
source
<xs:element name="costBasis" type="xs:decimal"/>

element taxLotType/price
diagram
type xs:decimal
source
<xs:element name="price" type="xs:decimal"/>

element taxLotType/marketValue
diagram
type xs:decimal
source
<xs:element name="marketValue" type="xs:decimal"/>

element taxLotType/percentValue
diagram
type xs:decimal
source
<xs:element name="percentValue" type="xs:decimal"/>

element taxLotType/annualIncome
diagram
type xs:decimal
source
<xs:element name="annualIncome" type="xs:decimal"/>

element taxLotType/gainLoss
diagram
type xs:decimal
source
<xs:element name="gainLoss" type="xs:decimal"/>


XML Schema documentation generated with
XMLSPY Schema Editor http://www.altova.com/xmlspy