amount

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
currency optional
limit restriction of xs:NMTOKEN maximum optional
type restriction of xs:NMTOKEN total optional

Used By

Element finance

Source

<xs:element name="amount">
  <xs:complexType mixed="true">
    <xs:attribute name="type" default="total">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="total"/>
          <xs:enumeration value="monthly"/>
          <xs:enumeration value="downpayment"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="limit" default="maximum">
      <xs:simpleType>
        <xs:restriction base="xs:NMTOKEN">
          <xs:enumeration value="exact"/>
          <xs:enumeration value="maximum"/>
          <xs:enumeration value="minimum"/>
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="currency"/>
  </xs:complexType>
</xs:element>

Sample