Relocate and redefine usb_mode enum
[platform/core/appfw/vconf-internal-keys.git] / check.xsd
index 65f776e..fcc2d2c 100644 (file)
--- a/check.xsd
+++ b/check.xsd
@@ -9,30 +9,53 @@
                </xs:complexType>
        </xs:element>
 
+       <xs:attribute name="type">
+               <xs:simpleType>
+                       <xs:restriction base="xs:string">
+                               <xs:enumeration value="string"/>
+                               <xs:enumeration value="int32"/>
+                               <xs:enumeration value="uint32"/>
+                               <xs:enumeration value="int64"/>
+                               <xs:enumeration value="uint64"/>
+                               <xs:enumeration value="double"/>
+                               <xs:enumeration value="bool"/>
+                       </xs:restriction>
+               </xs:simpleType>
+       </xs:attribute>
+
+
+       <xs:attribute name="profile">
+               <xs:simpleType>
+                       <xs:restriction base="xs:string">
+                               <xs:enumeration value="all"/>
+                               <xs:enumeration value="common"/>
+                               <xs:enumeration value="mobile"/>
+                               <xs:enumeration value="wearable"/>
+                               <xs:enumeration value="tv"/>
+                       </xs:restriction>
+               </xs:simpleType>
+       </xs:attribute>
+
        <xs:element name="vconfkey">
                <xs:complexType>
                        <xs:sequence>
                                <xs:element ref="header" minOccurs='1' maxOccurs='1'/>
+                               <xs:element name="initscript" type="Value" minOccurs='0' maxOccurs='unbounded'/>
+                               <xs:element name="val" type="Value" minOccurs='1' maxOccurs='unbounded'/>
                                <xs:element ref="creator" minOccurs='0' maxOccurs='1'/>
                                <xs:element ref="email" minOccurs='0' maxOccurs='1'/>
                                <xs:element ref="comment" minOccurs='0' maxOccurs='1'/>
+                               <xs:element name="script" type="Value" minOccurs='0' maxOccurs='unbounded'/>
                                <xs:element ref="enumlist" minOccurs='0' maxOccurs='unbounded'/>
                        </xs:sequence>
                        <xs:attribute name="name" type='xs:string'/>
-                       <xs:attribute name="type" type='xs:string'/>
-                       <xs:attribute name="value" type='xs:string'/>
+                       <xs:attribute ref="type"/>
+                       <xs:attribute ref="profile"/>
 
                        <xs:attribute name="headeronly" type='xs:string'/>
 
-                       <xs:attribute name="gid" type='xs:string'/>
-                       <xs:attribute name="uid" type='xs:string'/>
-                       <xs:attribute name="layer" type='xs:string'/>
                        <xs:attribute name="readPriv" type='xs:string'/>
                        <xs:attribute name="writePriv" type='xs:string'/>
-                       <xs:attribute name="private_spec" type='xs:string'/>
-                       <xs:attribute name="model" type='xs:string'/>
-
-                       <xs:attribute name="label" type='xs:string'/>
                </xs:complexType>
        </xs:element>
 
@@ -49,7 +72,7 @@
                <xs:complexType>
                        <xs:simpleContent>
                                <xs:extension base="xs:string">
-                                       <xs:attribute name="val" type="xs:string"/>
+                                       <xs:attribute name="value" type="xs:string"/>
                                </xs:extension>
                        </xs:simpleContent>
                </xs:complexType>
        </xs:element>
 
        <xs:element name="header" type='xs:string'/>
+
+       <xs:element name="val">
+               <xs:complexType>
+                       <xs:attribute name="model" type='xs:string'/>
+               </xs:complexType>
+       </xs:element>
+
        <xs:element name="creator" type='xs:string'/>
        <xs:element name="email" type='xs:string'/>
        <xs:element name="comment" type='xs:string'/>
+       <xs:element name="script">
+               <xs:complexType>
+                       <xs:attribute name="model" type='xs:string'/>
+               </xs:complexType>
+       </xs:element>
+
+
+       <xs:complexType name="Value">
+               <xs:simpleContent>
+                       <xs:extension base="xs:string">
+                               <xs:attribute name="model" type="xs:string"/>
+                       </xs:extension>
+               </xs:simpleContent>
+       </xs:complexType>
+
 </xs:schema>