title: JSONIX: Get restrictions and default value for properties
body: <p>I am using JSONIX for marshalling and unmarshalling XML files. So far it works pretty well. What I am missing is the possibility to get default values and restrictions like minOccours and maxOccours-Values. Is this somehow possible with JSONIX?</p>
  
  <p>These properties:</p>
  
  <pre><code>    &lt;xsd:sequence&gt;
        &lt;xsd:element name="inflowMin" type="framework:flowType" minOccurs="0" maxOccurs="1"/&gt;
        &lt;xsd:element name="inflowMax" type="framework:flowType" minOccurs="0" maxOccurs="1"/&gt;
        &lt;xsd:element name="unitOfFlowControl" type="framework:flowUnit" minOccurs="0" maxOccurs="1"/&gt;
      &lt;/xsd:sequence&gt;
      &lt;xsd:attribute name="waterCosts" type="xsd:double" default="0.0"/&gt;
      &lt;xsd:attribute name="controllable" type="xsd:boolean" default="0"/&gt;
      &lt;xsd:attribute name="scalingOfControl" type="xsd:double" default="1.0" /&gt;
  </code></pre>
  
  <p>Get:</p>
  
  <pre><code>    propertyInfos: [{
          type: 'element',
          name: 'inflowMin',
          elementName: 'inflowMin',
          typeInfo: ...
      }, {
          type: 'element',
          name: 'inflowMax',
          elementName: 'inflowMax',
          typeInfo: ...
      }, {
          type: 'element',
          name: 'unitOfFlowControl',
          elementName: 'unitOfFlowControl',
          typeInfo: 'String'
      }, {
          name: 'waterCosts',
          typeInfo: 'Double',
          attributeName: 'waterCosts',
          type: 'attribute'
      }, {
          name: 'controllable',
          typeInfo: 'Boolean',
          attributeName: 'controllable',
          type: 'attribute'
      }, {
          name: 'scalingOfControl',
          typeInfo: 'Double',
          attributeName: 'scalingOfControl',
          type: 'attribute'
      }]
  }
  </code></pre>
  
  <p>Thanks!</p>