Schema CollectorEntity.xsd


schema location:  C:_work_LandsLíf_XML_CollectorEntity.xsd
targetNamespace:  http://strengur.is/FundCollectorEntities
 
Elements  Complex types 
CollectorEntities  AccountType 
AddressType 
CollectorEntityType 


element CollectorEntities
diagram
namespace http://strengur.is/FundCollectorEntities
children CollectorEntity
annotation
documentation 
Comment describing your root element
source
<xs:element name="CollectorEntities">
  <xs:annotation>
    <xs:documentation>Comment describing your root element</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence maxOccurs="unbounded">
      <xs:element name="CollectorEntity" type="CollectorEntityType"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

element CollectorEntities/CollectorEntity
diagram
namespace http://strengur.is/FundCollectorEntities
type CollectorEntityType
children CollectorNo Name CollectorSSN Address PhoneNumber FaxNumber Account WebSiteURL EMail WebServiceURL
source
<xs:element name="CollectorEntity" type="CollectorEntityType"/>

complexType AccountType
diagram
namespace http://strengur.is/FundCollectorEntities
children BankNo TypeNo AccountNo
used by
element CollectorEntityType/Account
source
<xs:complexType name="AccountType">
  <xs:sequence>
    <xs:element name="BankNo" type="xs:nonNegativeInteger"/>
    <xs:element name="TypeNo" type="xs:nonNegativeInteger"/>
    <xs:element name="AccountNo" type="xs:nonNegativeInteger"/>
  </xs:sequence>
</xs:complexType>

element AccountType/BankNo
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:nonNegativeInteger
source
<xs:element name="BankNo" type="xs:nonNegativeInteger"/>

element AccountType/TypeNo
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:nonNegativeInteger
source
<xs:element name="TypeNo" type="xs:nonNegativeInteger"/>

element AccountType/AccountNo
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:nonNegativeInteger
source
<xs:element name="AccountNo" type="xs:nonNegativeInteger"/>

complexType AddressType
diagram
namespace http://strengur.is/FundCollectorEntities
children Line1 Line2 PostalCode City
used by
element CollectorEntityType/Address
source
<xs:complexType name="AddressType">
  <xs:sequence>
    <xs:element name="Line1" type="xs:string"/>
    <xs:element name="Line2" type="xs:string"/>
    <xs:element name="PostalCode" type="xs:nonNegativeInteger"/>
    <xs:element name="City" type="xs:string"/>
  </xs:sequence>
</xs:complexType>

element AddressType/Line1
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="Line1" type="xs:string"/>

element AddressType/Line2
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="Line2" type="xs:string"/>

element AddressType/PostalCode
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:nonNegativeInteger
source
<xs:element name="PostalCode" type="xs:nonNegativeInteger"/>

element AddressType/City
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="City" type="xs:string"/>

complexType CollectorEntityType
diagram
namespace http://strengur.is/FundCollectorEntities
children CollectorNo Name CollectorSSN Address PhoneNumber FaxNumber Account WebSiteURL EMail WebServiceURL
used by
element CollectorEntities/CollectorEntity
source
<xs:complexType name="CollectorEntityType">
  <xs:sequence>
    <xs:element name="CollectorNo" type="xs:nonNegativeInteger"/>
    <xs:element name="Name" type="xs:string"/>
    <xs:element name="CollectorSSN">
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:length value="10"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:element>
    <xs:element name="Address" type="AddressType"/>
    <xs:element name="PhoneNumber" type="xs:string"/>
    <xs:element name="FaxNumber" type="xs:string"/>
    <xs:element name="Account" type="AccountType"/>
    <xs:element name="WebSiteURL" type="xs:string"/>
    <xs:element name="EMail" type="xs:string"/>
    <xs:element name="WebServiceURL">
      <xs:complexType>
        <xs:simpleContent>
          <xs:extension base="xs:string">
            <xs:attribute name="active" type="xs:boolean" use="required"/>
            <xs:attribute name="authenticates" type="xs:boolean" use="required"/>
            <xs:attribute name="suffix" type="xs:string" use="optional"/>
          </xs:extension>
        </xs:simpleContent>
      </xs:complexType>
    </xs:element>
  </xs:sequence>
</xs:complexType>

element CollectorEntityType/CollectorNo
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:nonNegativeInteger
source
<xs:element name="CollectorNo" type="xs:nonNegativeInteger"/>

element CollectorEntityType/Name
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="Name" type="xs:string"/>

element CollectorEntityType/CollectorSSN
diagram
namespace http://strengur.is/FundCollectorEntities
type restriction of xs:string
facets
length 10
source
<xs:element name="CollectorSSN">
  <xs:simpleType>
    <xs:restriction base="xs:string">
      <xs:length value="10"/>
    </xs:restriction>
  </xs:simpleType>
</xs:element>

element CollectorEntityType/Address
diagram
namespace http://strengur.is/FundCollectorEntities
type AddressType
children Line1 Line2 PostalCode City
source
<xs:element name="Address" type="AddressType"/>

element CollectorEntityType/PhoneNumber
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="PhoneNumber" type="xs:string"/>

element CollectorEntityType/FaxNumber
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="FaxNumber" type="xs:string"/>

element CollectorEntityType/Account
diagram
namespace http://strengur.is/FundCollectorEntities
type AccountType
children BankNo TypeNo AccountNo
source
<xs:element name="Account" type="AccountType"/>

element CollectorEntityType/WebSiteURL
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="WebSiteURL" type="xs:string"/>

element CollectorEntityType/EMail
diagram
namespace http://strengur.is/FundCollectorEntities
type xs:string
source
<xs:element name="EMail" type="xs:string"/>

element CollectorEntityType/WebServiceURL
diagram
namespace http://strengur.is/FundCollectorEntities
type extension of xs:string
attributes
Name  Type  Use  Default  Fixed  Annotation
active  xs:boolean  required      
authenticates  xs:boolean  required      
suffix  xs:string  optional      
source
<xs:element name="WebServiceURL">
  <xs:complexType>
    <xs:simpleContent>
      <xs:extension base="xs:string">
        <xs:attribute name="active" type="xs:boolean" use="required"/>
        <xs:attribute name="authenticates" type="xs:boolean" use="required"/>
        <xs:attribute name="suffix" type="xs:string" use="optional"/>
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>
</xs:element>


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