pushing some changes

This commit is contained in:
2020-09-03 20:11:31 -04:00
parent 1f9a4ed88d
commit 9d24eceefc
5 changed files with 45 additions and 32 deletions

View File

@@ -0,0 +1,27 @@
<?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"/>
<xs:include schemaLocation="../lib/types/unix.xsd"/>
<xs:element name="gomodh">
<xs:complexType>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="mod">
<xs:complexType>
<xs:attribute name="name" type="t_unix_portablePosixFilename" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="pkg">
</xs:element>
</xs:choice>
<xs:attribute name="baseURL" type="t_net_http_basic_uri" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>

View File

@@ -33,8 +33,8 @@
</xs:element>
<xs:element name="build">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="3">
<xs:choice minOccurs="1" maxOccurs="3">
<xs:sequence minOccurs="1" maxOccurs="4">
<xs:choice minOccurs="1" maxOccurs="4">
<xs:element name="dest" minOccurs="1" maxOccurs="1" type="t_unix_dirpath"/>
<xs:element name="scripts" minOccurs="1" maxOccurs="1" type="e_ipxe_scripts"/>
<xs:element name="roms" minOccurs="1" maxOccurs="1" type="t_ipxe_roms"/>