<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>
<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>
<icon src="icon.png" />
<!-- tizen application element -->
- <tizen:application id="GfeI4eyhBG.Test" package="GfeI4eyhBG" required_version="2.1"/>
+ <tizen:application id="GfeI4eyhBG.1" package="GfeI4eyhBG" required_version="2.1"/>
<!-- tizen setting element -->
<tizen:setting screen-orientation="landscape" context-menu="disable" background-support="enable" encryption="enable" install-location="internal-only"/>
<!-- tizen allow-navigation element -->
<tizen:allow-navigation>test.com</tizen:allow-navigation>
+
+ <!-- tizen metadata -->
+ <tizen:metadata key="key_1" value="value_1"/>
</widget>
<xs:element ref="tizen:allow-navigation" minOccurs="0" maxOccurs="1" xmlns:tizen="http://tizen.org/ns/widgets"/>\r
<xs:element ref="tizen:app-widget" minOccurs="0" maxOccurs="unbounded" xmlns:tizen="http://tizen.org/ns/widgets"/>\r
<xs:element ref="tizen:account" minOccurs="0" maxOccurs="unbounded" xmlns:tizen="http://tizen.org/ns/widgets"/>\r
+ <xs:element ref="tizen:metadata" minOccurs="0" maxOccurs="unbounded" xmlns:tizen="http://tizen.org/ns/widgets"/>\r
</xs:choice>\r
<xs:attribute ref="xml:lang"/>\r
<xs:attribute name="id" type="xs:anyURI"/>\r