Skip to content
Snippets Groups Projects
Commit 531f7ebb authored by Cyril Vazquez's avatar Cyril Vazquez
Browse files

No commit message

No commit message
parent d9023f89
No related branches found
No related tags found
No related merge requests found
...@@ -4,81 +4,124 @@ ...@@ -4,81 +4,124 @@
xmlns:das="maarch:DataAccessService" xmlns:das="maarch:DataAccessService"
elementFormDefault="qualified" elementFormDefault="qualified"
> >
<!-- Character varying(10) -->
<xsd:simpleType name="bigint">
<xsd:restriction base="xsd:unsignedLong">
<xsd:minInclusive value="0"/>
</xsd:restriction>
</xsd:simpleType>
<!-- Character varying(10) --> <!-- Character varying(10) -->
<xsd:simpleType name="varchar10"> <xsd:simpleType name="varchar10" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(10)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:maxLength value="10"/> <xsd:maxLength value="10"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- Character varying(32) --> <!-- Character varying(32) -->
<xsd:simpleType name="varchar32"> <xsd:simpleType name="varchar32" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(32)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:maxLength value="32"/> <xsd:maxLength value="32"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- Character varying(50) --> <!-- Character varying(50) -->
<xsd:simpleType name="varchar50"> <xsd:simpleType name="varchar50" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(50)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:maxLength value="50"/> <xsd:maxLength value="50"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- Character varying(64) --> <!-- Character varying(64) -->
<xsd:simpleType name="varchar64"> <xsd:simpleType name="varchar64" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(64)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:maxLength value="64"/> <xsd:maxLength value="64"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- Character varying(100) --> <!-- Character varying(100) -->
<xsd:simpleType name="varchar100"> <xsd:simpleType name="varchar100" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(100)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:maxLength value="100"/> <xsd:maxLength value="100"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- Character varying(128) --> <!-- Character varying(128) -->
<xsd:simpleType name="varchar128"> <xsd:simpleType name="varchar128" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(128)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:maxLength value="128"/> <xsd:maxLength value="128"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- Character varying(255) --> <!-- Character varying(255) -->
<xsd:simpleType name="varchar255"> <xsd:simpleType name="varchar255" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(255)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:maxLength value="255"/> <xsd:maxLength value="255"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- Boolean --> <!-- Boolean -->
<xsd:simpleType name="boolean"> <xsd:simpleType name="boolean" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>character varying(1)</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:string"> <xsd:restriction base="xsd:string">
<xsd:enumeration value="Y"/> <xsd:enumeration value="Y"/>
<xsd:enumeration value="N"/> <xsd:enumeration value="N"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType> </xsd:simpleType>
<!-- microsecond -->
<!--<xsd:simpleType name="microsecond"> <xsd:simpleType name="bigint" enclosed='false'>
<xsd:restriction base="xsd:string"> <xsd:annotation>
<xsd:pattern value="[0-9]{1,6}"/> <xsd:appinfo>
<das:sqltype driver='pgsql'>bigint</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:restriction base="xsd:unsignedLong">
<xsd:minInclusive value="0"/>
</xsd:restriction> </xsd:restriction>
</xsd:simpleType>--> </xsd:simpleType>
<!-- Datetime --> <!-- Datetime -->
<xsd:simpleType name="datetime"> <xsd:simpleType name="datetime" enclosed='true'>
<xsd:annotation>
<xsd:appinfo>
<das:sqltype driver='pgsql'>timestamp</das:sqltype>
</xsd:appinfo>
</xsd:annotation>
<xsd:union memberTypes="xsd:date xsd:time xsd:string" das:baseType="xsd:string"/> <xsd:union memberTypes="xsd:date xsd:time xsd:string" das:baseType="xsd:string"/>
</xsd:simpleType> </xsd:simpleType>
</xsd:schema> </xsd:schema>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment