Commits

Anonymous committed 7b72852

moved test code scaffolding into temp_project.py
Moved psmodulecheck.py out and back in.

Comments (0)

Files changed (1)

psmodulecheck/module-metadata.xsd

-<xs:schema targetNamespace="http://pluralsight.com/sapphire/module/2007/11"
-           xmlns="http://pluralsight.com/sapphire/module/2007/11"
-           xmlns:mstns="http://pluralsight.com/sapphire/module/2007/11" xmlns:xs="http://www.w3.org/2001/XMLSchema"
-           elementFormDefault="qualified">
-    <xs:complexType name="ModuleType">
-        <xs:sequence>
-            <xs:element name="author" type="mstns:authorName"/>
-            <xs:element name="title" type="mstns:nonBlankString"/>
-            <xs:element name="description" type="mstns:nonBlankString"/>
-            <xs:element name="sampleZipFile" type="mstns:SampleZipFileType" minOccurs="0"/>
-            <xs:element name="clips" type="mstns:ClipsType"/>
-        </xs:sequence>
-        <xs:anyAttribute processContents="lax" namespace="##other"/>
-    </xs:complexType>
-    <xs:complexType name="SampleZipFileType">
-        <xs:attribute name="href" use="required" type="xs:anyURI"/>
-        <xs:anyAttribute processContents="lax" namespace="##other"/>
-    </xs:complexType>
-    <xs:complexType name="ClipsType">
-        <xs:sequence>
-            <xs:element name="clip" type="mstns:ClipType" maxOccurs="unbounded"/>
-        </xs:sequence>
-    </xs:complexType>
-    <xs:complexType name="ClipType">
-        <xs:attribute name="href" use="required" type="xs:anyURI"/>
-        <xs:attribute name="title" use="required" type="mstns:nonBlankString"/>
-        <xs:anyAttribute processContents="lax" namespace="##other"/>
-    </xs:complexType>
-    <xs:element name="module" type="mstns:ModuleType"/>
-    <xs:simpleType name="nonBlankString">
-        <xs:restriction base="xs:string">
-            <xs:pattern value=".*\w.*"/>
-        </xs:restriction>
-    </xs:simpleType>
-    <xs:simpleType name="authorName">
-        <xs:restriction base="xs:string">
-            <xs:pattern value="\w+-\w+"/>
-        </xs:restriction>
-    </xs:simpleType>
-</xs:schema>