]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/XMLSchema/NamingConvention.xsd
updated several elements and re-organized the layout (moving Attributes to their...
[mirror_edk2.git] / Tools / XMLSchema / NamingConvention.xsd
index 3faf1b923def8d57f6cc611c0ca2bcc83576a970..b44a37e539c63c0115d3f566972b1fbd09327666 100644 (file)
             <xs:pattern value="(([a-zA-Z][a-zA-Z0-9]*)(_)*(.)*)+"/>\r
         </xs:restriction>\r
     </xs:simpleType>\r
+    <xs:simpleType name="Polarity">\r
+        <xs:annotation>\r
+            <xs:documentation xml:lang="en">Limit Polarity vaild values to -1, 0 and 1</xs:documentation>\r
+        </xs:annotation>\r
+        <xs:restriction base="xs:int">\r
+            <xs:pattern value="-1|0|1"/>\r
+        </xs:restriction>\r
+    </xs:simpleType>\r
     <xs:simpleType name="Sentence">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en"> This data type requires two or more words </xs:documentation>\r
             <xs:pattern value="0"/>\r
         </xs:restriction>\r
     </xs:simpleType>\r
-    <xs:simpleType name="ZeroOrOne">\r
-        <xs:annotation>\r
-            <xs:documentation xml:lang="en">Define Zero as a vaild value</xs:documentation>\r
-        </xs:annotation>\r
-        <xs:restriction base="xs:int">\r
-            <xs:pattern value="0|1"/>\r
-        </xs:restriction>\r
-    </xs:simpleType>\r
     <xs:simpleType name="OldVersionDataType">\r
         <xs:annotation>\r
             <xs:documentation xml:lang="en"> Definition of a Version Number, which can be any combination of a number followed by zero or more alphanumeric-dot-alphanumeric characters </xs:documentation>\r