Update XSD to check application id boundary
[platform/framework/web/wrt-installer.git] / configuration / config.tizen.xsd
index 72addb1..3d0c175 100644 (file)
@@ -21,7 +21,7 @@
 
     <xs:simpleType name="applicationIdType">
         <xs:restriction base="xs:string">
-            <xs:pattern value="[0-9a-zA-Z]{10}[.][0-9a-zA-Z]{1,}"/>
+            <xs:pattern value="[0-9a-zA-Z]{10}[.][0-9a-zA-Z]{1,52}"/>
         </xs:restriction>
     </xs:simpleType>
 
@@ -42,7 +42,7 @@
 
     <xs:simpleType name="appWidgetIdType">
         <xs:restriction base="xs:string">
-            <xs:pattern value="[0-9a-zA-Z]{10}.[0-9a-zA-Z]{1,}.[0-9a-zA-Z]{1,}"/>
+            <xs:pattern value="[0-9a-zA-Z]{10}.[0-9a-zA-Z]{1,52}.[0-9a-zA-Z]{1,}"/>
         </xs:restriction>
     </xs:simpleType>
 
         <xs:attribute ref="xml:lang"/>
       </xs:complexType>
     </xs:element>
+
+    <xs:element name="metadata">
+        <xs:complexType>
+            <xs:attribute name="key" type="xs:string" use="required"/>
+            <xs:attribute name="value" type="xs:string" use="required"/>
+        </xs:complexType>
+    </xs:element>
 </xs:schema>