ComplexType with ComplexContent Restriction

The following XML schema construct:

<complexType name="shoppingBasket">
 <sequence>
  <element name="productId" type="positiveInteger"   maxOccurs="unbounded"/>
 </sequence>
</complexType>
<complexType name="basketCapped">
 <complexContent>
 <restriction base="tns:shoppingBasket">
 <sequence>
  <element name="productId" type="positiveInteger" maxOccurs="5" />
 </sequence>
 </restriction>
 </complexContent>
</complexType>

Maps to:

Note that the multiplicity of productId in the basketCapped class is represented by a 1..n, that is, more restrictive that the shoppingBasket class productId that has unbounded multiplicity.