|
|
|
@ -135,6 +135,15 @@ |
|
|
|
<xs:pattern value="[0-9]{3,11}"/> |
|
|
|
</xs:restriction> |
|
|
|
</xs:simpleType> |
|
|
|
<xs:simpleType name="TDec_0104v"> |
|
|
|
<xs:annotation> |
|
|
|
<xs:documentation>Tipo Decimal com até 1 dígitos inteiros, podendo ter de 1 até 4 decimais</xs:documentation> |
|
|
|
</xs:annotation> |
|
|
|
<xs:restriction base="xs:string"> |
|
|
|
<xs:whiteSpace value="preserve"/> |
|
|
|
<xs:pattern value="0|0\.[0-9]{1,4}|[1-9]{1}(\.[0-9]{1,4})?"/> |
|
|
|
</xs:restriction> |
|
|
|
</xs:simpleType> |
|
|
|
<xs:simpleType name="TDec_0204v"> |
|
|
|
<xs:annotation> |
|
|
|
<xs:documentation>Tipo Decimal com até 2 dígitos inteiros, podendo ter de 1 até 4 decimais</xs:documentation> |
|
|
|
@ -171,13 +180,22 @@ |
|
|
|
<xs:pattern value="0(\.[0-9]{2})?|100(\.00)?|[1-9]{1}[0-9]{0,1}(\.[0-9]{2})?"/> |
|
|
|
</xs:restriction> |
|
|
|
</xs:simpleType> |
|
|
|
<xs:simpleType name="TDec_0304Max100"> |
|
|
|
<xs:annotation> |
|
|
|
<xs:documentation>Tipo Decimal com 3 inteiros (no máximo 100), com 4 decimais</xs:documentation> |
|
|
|
</xs:annotation> |
|
|
|
<xs:restriction base="xs:string"> |
|
|
|
<xs:whiteSpace value="preserve"/> |
|
|
|
<xs:pattern value="0(\.[0-9]{4})?|100(\.00)?|[1-9]{1}[0-9]{0,1}(\.[0-9]{4})?"/> |
|
|
|
</xs:restriction> |
|
|
|
</xs:simpleType> |
|
|
|
<xs:simpleType name="TDec_0302a04Max100"> |
|
|
|
<xs:annotation> |
|
|
|
<xs:documentation>Tipo Decimal com 3 inteiros (no máximo 100), com até 4 decimais</xs:documentation> |
|
|
|
</xs:annotation> |
|
|
|
<xs:restriction base="xs:string"> |
|
|
|
<xs:whiteSpace value="preserve"/> |
|
|
|
<xs:pattern value="[1-9]{1}(\.[0-9]{2,4})?|[1-9]{1}[0-9]{1}(\.[0-9]{2,4})?|100(\.0{2,4})?"/> |
|
|
|
<xs:pattern value="0(\.[0-9]{2,4})?|[1-9]{1}[0-9]{0,1}(\.[0-9]{2,4})?|100(\.0{2,4})?"/> |
|
|
|
</xs:restriction> |
|
|
|
</xs:simpleType> |
|
|
|
<xs:simpleType name="TDec_0803v"> |