# XML Schema Documentation

### Complex Type: PositiveMoney

#### [Table of contents]

Super-types: | MoneyBase < PositiveMoney (by extension)
Sub-types: | None

Name | PositiveMoney
Used by (from the same schema document) | Complex Type PositivePayment
Abstract | no
Documentation | A type defining a positive money amount

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<currency> Currency </currency> [1]

'The currency in which an amount is denominated.'

<amount> PositiveDecimal </amount> [1]

'The positive monetary quantity in currency units.'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="PositiveMoney">
<xsd:complexContent>
<xsd:extension base=" MoneyBase ">
<xsd:sequence>
<xsd:element name="amount" type=" PositiveDecimal "/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>