xml/schema/projects/gomodh.xsd

27 lines
903 B
XML
Raw Permalink Normal View History

2020-09-03 20:11:31 -04:00
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="https://go.r00t2.io/"
xmlns="https://go.r00t2.io/"
xmlns:gomodh="https://go.r00t2.io/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="../lib/types/net.xsd"/>
2020-09-04 02:08:57 -04:00
<xs:include schemaLocation="../lib/types/gomodh.xsd"/>
2020-09-03 20:11:31 -04:00
<xs:element name="gomodh">
<xs:complexType>
<xs:choice minOccurs="1" maxOccurs="unbounded">
2020-09-04 02:08:57 -04:00
<xs:element name="mod" type="t_gomodh_mod"/>
<xs:element name="pkg" type="t_gomodh_pkg"/>
2020-09-03 20:11:31 -04:00
</xs:choice>
<xs:attribute name="baseURL" type="t_net_http_basic_uri" use="required"/>
</xs:complexType>
2020-09-05 11:23:40 -04:00
<xs:key name="key_name">
<xs:selector xpath="./*"/>
<xs:field xpath="@name"/>
</xs:key>
2020-09-03 20:11:31 -04:00
</xs:element>
2020-09-04 02:08:57 -04:00
2020-09-03 20:11:31 -04:00
</xs:schema>