</xs:restriction>
</xs:simpleType>
+<xs:simpleType name="liveboxIdType">
+ <xs:restriction base="xs:string">
+ <xs:pattern value="[0-9a-zA-Z]{10}.[0-9a-zA-Z]{1,}"/>
+ </xs:restriction>
+</xs:simpleType>
+
+<xs:simpleType name="updatePeriodType">
+ <xs:restriction base="xs:float">
+ <xs:minInclusive value="60"/>
+ </xs:restriction>
+</xs:simpleType>
+
<xs:element name="content">
<xs:complexType>
<xs:attribute name="src" use="required" type="xs:anyURI"/>
<xs:attribute name="context-menu" type="tizen:activationType" use="optional"/> <!-- default: enable -->
<xs:attribute name="background-support" type="tizen:activationType" use="optional"/> <!-- default: enable -->
<xs:attribute name="encryption" type="tizen:activationType" use="optional"/> <!-- default: disable -->
- <xs:attribute name="nodisplay" type="widgets:data.boolean" use="optional"/> <!-- default: false -->
+ <xs:attribute name="install-location" type="tizen:InstallLocationType" use="optional"/>
</xs:complexType>
</xs:element>
<xs:complexType>
<xs:sequence>
<xs:choice maxOccurs="unbounded">
- <xs:element ref="packages:src"/>
- <xs:element ref="packages:operation"/>
- <xs:element ref="packages:scheme"/>
- <xs:element ref="packages:mime"/>
+ <xs:element ref="tizen:src"/>
+ <xs:element ref="tizen:operation"/>
+ <xs:element ref="tizen:uri"/>
+ <xs:element ref="tizen:mime"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="src">
- <xs:complexType>
- <xs:attribute name="name" type="xs:NCName" use="required"/>
- </xs:complexType>
+ <xs:complexType>
+ <xs:attribute name="name" use="required"/>
+ </xs:complexType>
</xs:element>
<xs:element name="operation">
- <xs:complexType>
- <xs:attribute name="name" type="tizen:appserviceOperationType" use="required"/>
- </xs:complexType>
+ <xs:complexType>
+ <xs:attribute name="name" use="required"/>
+ </xs:complexType>
</xs:element>
-<xs:element name="scheme">
- <xs:complexType>
- <xs:attribute name="name" type="xs:string" use="optional"/>
- </xs:complexType>
+<xs:element name="uri">
+ <xs:complexType>
+ <xs:attribute name="name" use="required"/>
+ </xs:complexType>
</xs:element>
<xs:element name="mime">
<xs:complexType>
- <xs:attribute name="name" type="xs:string" use="optional"/>
+ <xs:attribute name="name" use="required"/>
</xs:complexType>
</xs:element>
+<xs:element name="livebox">
+ <xs:complexType mixed="true">
+ <xs:all>
+ <xs:element ref="tizen:box-label"/>
+ <xs:element ref="tizen:box-icon"/>
+ <xs:element ref="tizen:box-content"/>
+ </xs:all>
+ <xs:attribute name="id" type="tizen:liveboxIdType" use="required"/>
+ <xs:attribute name="primary" type="widgets:data.boolean" use="required"/>
+ <xs:attribute name="auto-launch" type="widgets:data.boolean" use="optional"/>
+ <xs:attribute name="update-period" type="tizen:updatePeriodType" use="optional"/>
+ </xs:complexType>
+</xs:element>
+
+<xs:element name="privilege">
+ <xs:complexType mixed="true">
+ <xs:choice minOccurs="0" maxOccurs="unbounded">
+ <xs:element ref="widgets:param"/>
+ </xs:choice>
+ <xs:attribute name="name" use="required" type="xs:anyURI"/>
+ <xs:attributeGroup ref="widgets:extension"/>
+ </xs:complexType>
+</xs:element>
+
+<xs:element name="box-label">
+ <xs:complexType mixed="true">
+ </xs:complexType>
+</xs:element>
+
+<xs:element name="box-icon">
+ <xs:complexType>
+ <xs:attribute name="src" use="required" type="xs:anyURI"/>
+ </xs:complexType>
+</xs:element>
+
+<xs:element name="box-content">
+ <xs:complexType mixed="true">
+ <xs:sequence>
+ <xs:element ref="tizen:box-size" minOccurs="1" maxOccurs="5"/>
+ <xs:element ref="tizen:pd"/>
+ </xs:sequence>
+ <xs:attribute name="src" use="required" type="xs:anyURI"/>
+ </xs:complexType>
+</xs:element>
+
+<xs:element name="pd">
+ <xs:complexType>
+ <xs:attribute name="src" use="required" type="xs:anyURI"/>
+ <xs:attribute name="width" use="required" type="xs:int"/>
+ <xs:attribute name="height" use="required" type="xs:int"/>
+ </xs:complexType>
+</xs:element>
+
+<xs:element name="box-size">
+ <xs:complexType mixed="true">
+ <xs:attribute name="preview" use="optional" type="xs:anyURI"/>
+ </xs:complexType>
+</xs:element>
+
+<xs:simpleType name="InstallLocationType">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="auto"/>
+ <xs:enumeration value="internal-only"/>
+ <xs:enumeration value="prefer-external"/>
+ </xs:restriction>
+</xs:simpleType>
+
</xs:schema>