2 targetNamespace="http://com.exmaple/charactermanaj"
\r
3 xmlns="http://com.exmaple/charactermanaj"
\r
4 xmlns:xs="http://www.w3.org/2001/XMLSchema"
\r
5 xmlns:xml="http://www.w3.org/XML/1998/namespace"
\r
6 attributeFormDefault="qualified"
\r
7 elementFormDefault="qualified">
\r
8 <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
\r
10 <xs:simpleType name="tokenNotEmpty">
\r
12 <xs:documentation xml:lang="ja">空文字を許可しないトークンの定義</xs:documentation>
\r
14 <xs:restriction base="xs:token">
\r
15 <xs:minLength value="1"/>
\r
19 <xs:simpleType name="floatMax1">
\r
20 <xs:restriction base="xs:float">
\r
21 <xs:minInclusive value="0"/>
\r
22 <xs:maxInclusive value="1"/>
\r
26 <xs:simpleType name="floatMax1Round">
\r
27 <xs:restriction base="xs:float">
\r
28 <xs:minInclusive value="-1"/>
\r
29 <xs:maxInclusive value="1"/>
\r
33 <xs:complexType name="rgbvalue">
\r
35 <xs:documentation xml:lang="ja">RGB変換パラメータ</xs:documentation>
\r
37 <xs:attribute name="offset" form="unqualified" type="xs:integer" use="required">
\r
39 <xs:documentation xml:lang="ja">オフセット</xs:documentation>
\r
42 <xs:attribute name="factor" form="unqualified" type="xs:float" use="required">
\r
44 <xs:documentation xml:lang="ja">倍率</xs:documentation>
\r
47 <xs:attribute name="gamma" form="unqualified" type="xs:float" use="required">
\r
49 <xs:documentation xml:lang="ja">ガンマ</xs:documentation>
\r
54 <xs:complexType name="hsbvalue">
\r
56 <xs:documentation xml:lang="ja">HSB変換パラメータ</xs:documentation>
\r
58 <xs:attribute name="hue" form="unqualified" type="floatMax1Round" use="required"/>
\r
59 <xs:attribute name="saturation" form="unqualified" type="floatMax1Round" use="required"/>
\r
60 <xs:attribute name="brightness" form="unqualified" type="floatMax1Round" use="required"/>
\r
63 <xs:simpleType name="rgbreplacetype">
\r
65 <xs:documentation xml:lang="ja">RGB置換タイプ</xs:documentation>
\r
67 <xs:restriction base="xs:string">
\r
68 <xs:enumeration value="NONE"/>
\r
69 <xs:enumeration value="BLUE"/>
\r
70 <xs:enumeration value="VIOLET"/>
\r
71 <xs:enumeration value="RED"/>
\r
72 <xs:enumeration value="YELLOW"/>
\r
73 <xs:enumeration value="GREEN"/>
\r
74 <xs:enumeration value="CYAN"/>
\r
75 <xs:enumeration value="BLACK"/>
\r
76 <xs:enumeration value="WHITE"/>
\r
80 <xs:complexType name="rgbreplacevalue">
\r
81 <xs:attribute name="replace-type" form="unqualified" use="required" type="rgbreplacetype">
\r
83 <xs:documentation xml:lang="ja">RGB置換タイプ</xs:documentation>
\r
86 <xs:attribute name="gray" form="unqualified" type="floatMax1" use="required">
\r
88 <xs:documentation xml:lang="ja">淡色化(0でグレー化、1で淡色化なし)</xs:documentation>
\r
93 <xs:complexType name="presetsType">
\r
95 <xs:documentation xml:lang="ja">定義済みパーツ組み合わせ例(プリセット)の定義リスト、定義順に表示される。</xs:documentation>
\r
98 <xs:element name="preset" minOccurs="0" maxOccurs="unbounded">
\r
100 <xs:documentation xml:lang="ja">定義済みパーツ組み合わせ例(プリセット)の定義</xs:documentation>
\r
104 <xs:element name="display-name" nillable="false" minOccurs="1" maxOccurs="unbounded">
\r
106 <xs:documentation xml:lang="ja">表示名、該当するlangがない場合は最初をデフォルトとする。</xs:documentation>
\r
110 <xs:extension base="tokenNotEmpty">
\r
111 <xs:attribute ref="xml:lang" use="required"/>
\r
113 </xs:simpleContent>
\r
116 <xs:element name="background-color" minOccurs="0" maxOccurs="1">
\r
118 <xs:documentation xml:lang="ja">背景色</xs:documentation>
\r
121 <xs:attribute name="color" form="unqualified" use="required" type="xs:string"/>
\r
124 <xs:element name="affine-transform-parameter" minOccurs="0" maxOccurs="1">
\r
126 <xs:documentation xml:lang="ja">アフィン変換用パラメータ、4または6つの要素からなるマトリックス</xs:documentation>
\r
129 <xs:list itemType="xs:double"/>
\r
132 <xs:element name="category" nillable="false" minOccurs="1" maxOccurs="unbounded">
\r
134 <xs:documentation xml:lang="ja">カテゴリごとのパーツ定義、パーツが空の場合は該当カテゴリは選択なし</xs:documentation>
\r
138 <xs:element name="parts" nillable="false" minOccurs="0" maxOccurs="unbounded">
\r
140 <xs:documentation xml:lang="ja">パーツ</xs:documentation>
\r
144 <xs:element name="color" nillable="false" minOccurs="0" maxOccurs="1">
\r
146 <xs:documentation xml:lang="ja">色定義(オプション)</xs:documentation>
\r
150 <xs:element name="layer" nillable="false" minOccurs="1" maxOccurs="unbounded">
\r
153 <xs:element name="color-group" minOccurs="0" maxOccurs="1">
\r
155 <xs:attribute name="group" use="required" form="unqualified" type="tokenNotEmpty">
\r
157 <xs:documentation xml:lang="ja">カラーグループ</xs:documentation>
\r
160 <xs:attribute name="synchronized" use="required" form="unqualified">
\r
162 <xs:documentation xml:lang="ja">カラーグループの同期を行う</xs:documentation>
\r
165 <xs:restriction base="xs:boolean">
\r
166 <xs:pattern value="true"/>
\r
167 <xs:pattern value="false"/>
\r
173 <xs:element name="rgb" nillable="false" minOccurs="0" maxOccurs="1">
\r
175 <xs:documentation xml:lang="ja">RGB変換</xs:documentation>
\r
179 <xs:element name="red" type="rgbvalue"/>
\r
180 <xs:element name="green" type="rgbvalue"/>
\r
181 <xs:element name="blue" type="rgbvalue"/>
\r
182 <xs:element name="alpha" type="rgbvalue"/>
\r
186 <xs:element name="hsb" nillable="false" type="hsbvalue" minOccurs="0" maxOccurs="1">
\r
188 <xs:documentation xml:lang="ja">HSB変換</xs:documentation>
\r
191 <xs:element name="rgb-replace" nillable="false" type="rgbreplacevalue" minOccurs="0" maxOccurs="1">
\r
193 <xs:documentation xml:lang="ja">RGB置換</xs:documentation>
\r
197 <xs:attribute name="refid" use="required" form="unqualified" type="tokenNotEmpty">
\r
199 <xs:documentation xml:lang="ja">レイヤー識別子</xs:documentation>
\r
208 <xs:attribute name="name" use="required" form="unqualified" type="tokenNotEmpty">
\r
210 <xs:documentation xml:lang="ja">パーツ名</xs:documentation>
\r
216 <xs:attribute name="refid" use="required" form="unqualified" type="tokenNotEmpty">
\r
218 <xs:documentation xml:lang="ja">カテゴリの識別子</xs:documentation>
\r
224 <xs:attribute name="id" form="unqualified" type="tokenNotEmpty" use="required">
\r
226 <xs:documentation xml:lang="ja">定義済みパーツ組み合わせ例(プリセット)の識別子</xs:documentation>
\r
232 <xs:attribute name="default-preset" form="unqualified" type="tokenNotEmpty" use="optional">
\r
234 <xs:documentation xml:lang="ja">デフォルトのプリセットを示す識別子</xs:documentation>
\r