<!-- Widget Configuration Document Extensions XSD For TIZEN -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tizen="http://tizen.org/ns/widgets" targetNamespace="http://tizen.org/ns/widgets">
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="xml.xsd"/>
-
<xs:simpleType name="data.boolean">
<xs:restriction base="xs:string">
<xs:enumeration value="true"/>
<xs:restriction base="xs:token">
<xs:enumeration value="portrait"/>
<xs:enumeration value="landscape"/>
+ <xs:enumeration value="auto-rotation"/>
</xs:restriction>
</xs:simpleType>
</xs:complexType>
</xs:element>
+ <xs:element name="privilege">
+ <xs:complexType>
+ <xs:attribute name="name" use="required" type="xs:anyURI"/>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:element name="content-security-policy" type="xs:string"/>
+ <xs:element name="content-security-policy-report-only" type="xs:string"/>
+ <xs:element name="allow-navigation" type="xs:string"/>
+
<xs:element name="app-widget">
<xs:complexType mixed="true">
<xs:all>
<xs:attribute name="primary" type="tizen:data.boolean" use="required"/>
<xs:attribute name="auto-launch" type="tizen:data.boolean" use="optional"/>
<xs:attribute name="update-period" type="tizen:updatePeriodType" use="optional"/>
- </xs:complexType>
- </xs:element>
-
- <xs:element name="privilege">
- <xs:complexType>
- <xs:attribute name="name" use="required" type="xs:anyURI"/>
+ <xs:attribute name="type" type="xs:string" use="optional"/>
</xs:complexType>
</xs:element>
<xs:element ref="tizen:pd" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
<xs:attribute name="src" use="required" type="xs:anyURI"/>
- <xs:attribute name="mouse-event" use="optional" type="xs:anyURI"/>
- <xs:attribute name="touch-effect" use="optional" type="xs:anyURI"/>
+ <xs:attribute name="mouse-event" use="optional" type="tizen:data.boolean"/>
+ <xs:attribute name="touch-effect" use="optional" type="tizen:data.boolean"/>
</xs:complexType>
</xs:element>
<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:attribute name="fast-open" use="optional" type="tizen:data.boolean"/>
</xs:complexType>
</xs:element>
<xs:attribute ref="xml:lang"/>
</xs:complexType>
</xs:element>
-
-<xs:element name="account">
- <xs:complexType mixed="true">
- <xs:sequence>
- <xs:choice maxOccurs="unbounded">
- <xs:element ref="tizen:icon" />
- <xs:element ref="tizen:display-name" />
- <xs:element name="capability" type="xs:string"/>
- </xs:choice>
- </xs:sequence>
- <xs:attribute name="multiple-account-support" use="required" type="widgets:data.boolean"/>
- </xs:complexType>
-</xs:element>
-
-<xs:element name="icon">
- <xs:complexType>
- <xs:attribute name="section" use="required" type="xs:string"/>
- </xs:complexType>
-</xs:element>
-
-<xs:element name="display-name">
- <xs:complexType mixed="true">
- <xs:attribute ref="xml:lang"/>
- </xs:complexType>
-</xs:element>
-
</xs:schema>