XmlSchemeリポジトリは、CGIゲーム「人狼BBS」の各種情報をXMLで交換する際の基本的なデータ構造を、XML Scheme で定義したものです。
Revision | b65c84d4289d8085c73cf4600e76a881f304030c (tree) |
---|---|
Time | 2011-04-19 04:21:30 |
Author | Olyutorskii <olyutorskii@user...> |
Commiter | Olyutorskii |
XML名前空間の分離
@@ -1,12 +1,13 @@ | ||
1 | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | 2 | |
3 | 3 | <xsd:schema |
4 | - xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
4 | + xmlns:xsd ="http://www.w3.org/2001/XMLSchema" | |
5 | + xmlns:core ="http://jindolf.sourceforge.jp/xml/ns/401" | |
5 | 6 | xmlns:tns ="http://jindolf.sourceforge.jp/xml/ns/501" |
6 | 7 | targetNamespace="http://jindolf.sourceforge.jp/xml/ns/501" |
7 | 8 | elementFormDefault="qualified" |
8 | 9 | xml:lang="ja-JP" |
9 | - version="221" | |
10 | + version="223" | |
10 | 11 | > |
11 | 12 | |
12 | 13 | <xsd:annotation> |
@@ -31,8 +32,8 @@ Copyright(c) 2009 olyutorskii | ||
31 | 32 | schemaLocation="http://www.w3.org/2001/xml.xsd" |
32 | 33 | /> |
33 | 34 | |
34 | - | |
35 | - <xsd:include | |
35 | + <xsd:import | |
36 | + namespace="http://jindolf.sourceforge.jp/xml/ns/401" | |
36 | 37 | schemaLocation="http://jindolf.sourceforge.jp/xml/xsd/coreType-090929.xsd" |
37 | 38 | /> |
38 | 39 |
@@ -121,7 +122,7 @@ hexBin : 元データの16進データ文字列。2文字か4文字。例)「874 | ||
121 | 122 | <xsd:extension base="tns:Onechar"> |
122 | 123 | <xsd:attribute |
123 | 124 | name="encoding" |
124 | - type="tns:EncodingDecl" | |
125 | + type="core:EncodingDecl" | |
125 | 126 | use="required" |
126 | 127 | /> |
127 | 128 | <xsd:attribute |
@@ -149,7 +150,7 @@ eventFamily属性値は"announce"固定。 | ||
149 | 150 | <xsd:extension base="tns:TextLines"> |
150 | 151 | <xsd:attribute |
151 | 152 | name="eventFamily" |
152 | - type="tns:EventFamily" | |
153 | + type="core:EventFamily" | |
153 | 154 | fixed="announce" |
154 | 155 | /> |
155 | 156 | </xsd:extension> |
@@ -171,7 +172,7 @@ eventFamily属性値は"order"固定。 | ||
171 | 172 | <xsd:extension base="tns:TextLines"> |
172 | 173 | <xsd:attribute |
173 | 174 | name="eventFamily" |
174 | - type="tns:EventFamily" | |
175 | + type="core:EventFamily" | |
175 | 176 | fixed="order" |
176 | 177 | /> |
177 | 178 | </xsd:extension> |
@@ -193,7 +194,7 @@ eventFamily属性値は"extra"固定。 | ||
193 | 194 | <xsd:extension base="tns:TextLines"> |
194 | 195 | <xsd:attribute |
195 | 196 | name="eventFamily" |
196 | - type="tns:EventFamily" | |
197 | + type="core:EventFamily" | |
197 | 198 | fixed="extra" |
198 | 199 | /> |
199 | 200 | </xsd:extension> |
@@ -356,12 +357,12 @@ generator => XMLを吐き出したアプリ、サブシステム、ライブラ | ||
356 | 357 | /> |
357 | 358 | <xsd:attribute |
358 | 359 | name="state" |
359 | - type="tns:VillageState" | |
360 | + type="core:VillageState" | |
360 | 361 | use="required" |
361 | 362 | /> |
362 | 363 | <xsd:attribute |
363 | 364 | name="disclosure" |
364 | - type="tns:DisclosureType" | |
365 | + type="core:DisclosureType" | |
365 | 366 | use="optional" |
366 | 367 | default="complete" |
367 | 368 | /> |
@@ -383,7 +384,7 @@ generator => XMLを吐き出したアプリ、サブシステム、ライブラ | ||
383 | 384 | /> |
384 | 385 | <xsd:attribute |
385 | 386 | name="landId" |
386 | - type="tns:LandIdentifier" | |
387 | + type="core:LandIdentifier" | |
387 | 388 | use="required" |
388 | 389 | /> |
389 | 390 | <xsd:attribute |
@@ -399,13 +400,13 @@ generator => XMLを吐き出したアプリ、サブシステム、ライブラ | ||
399 | 400 | /> |
400 | 401 | <xsd:attribute |
401 | 402 | name="origencoding" |
402 | - type="tns:EncodingDecl" | |
403 | + type="core:EncodingDecl" | |
403 | 404 | use="optional" |
404 | 405 | default="Shift_JIS" |
405 | 406 | /> |
406 | 407 | <xsd:attribute |
407 | 408 | name="timezone" |
408 | - type="tns:Timezone" | |
409 | + type="core:Timezone" | |
409 | 410 | use="optional" |
410 | 411 | default="GMT+09:00" |
411 | 412 | /> |
@@ -546,7 +547,7 @@ faceIconURI => 顔画像アイコンへのURI。 | ||
546 | 547 | <xsd:sequence /> |
547 | 548 | <xsd:attribute |
548 | 549 | name="avatarId" |
549 | - type="tns:AvatarId" | |
550 | + type="core:AvatarId" | |
550 | 551 | use="required" |
551 | 552 | /> |
552 | 553 | <xsd:attribute |
@@ -617,7 +618,7 @@ loadedBy => 進行中の村を参加者が読み込んだ場合、その時の | ||
617 | 618 | </xsd:choice> |
618 | 619 | <xsd:attribute |
619 | 620 | name="type" |
620 | - type="tns:PeriodType" | |
621 | + type="core:PeriodType" | |
621 | 622 | use="required" |
622 | 623 | /> |
623 | 624 | <xsd:attribute |
@@ -627,7 +628,7 @@ loadedBy => 進行中の村を参加者が読み込んだ場合、その時の | ||
627 | 628 | /> |
628 | 629 | <xsd:attribute |
629 | 630 | name="disclosure" |
630 | - type="tns:DisclosureType" | |
631 | + type="core:DisclosureType" | |
631 | 632 | use="optional" |
632 | 633 | default="complete" |
633 | 634 | /> |
@@ -653,7 +654,7 @@ loadedBy => 進行中の村を参加者が読み込んだ場合、その時の | ||
653 | 654 | /> |
654 | 655 | <xsd:attribute |
655 | 656 | name="loadedBy" |
656 | - type="tns:PlayerId" | |
657 | + type="core:PlayerId" | |
657 | 658 | use="optional" |
658 | 659 | /> |
659 | 660 | </xsd:complexType> |
@@ -675,7 +676,7 @@ avatarId => Avatar識別子 | ||
675 | 676 | <xsd:complexType> |
676 | 677 | <xsd:attribute |
677 | 678 | name="avatarId" |
678 | - type="tns:AvatarId" | |
679 | + type="core:AvatarId" | |
679 | 680 | use="required" |
680 | 681 | /> |
681 | 682 | </xsd:complexType> |
@@ -715,7 +716,7 @@ avatarId => Avatar識別子 | ||
715 | 716 | /> |
716 | 717 | <xsd:attribute |
717 | 718 | name="avatarId" |
718 | - type="tns:AvatarId" | |
719 | + type="core:AvatarId" | |
719 | 720 | use="required" |
720 | 721 | /> |
721 | 722 | </xsd:extension> |
@@ -770,7 +771,7 @@ roleHeads要素(各役職の人数記述)を複数かかえる。 | ||
770 | 771 | <xsd:complexType> |
771 | 772 | <xsd:attribute |
772 | 773 | name="role" |
773 | - type="tns:Role" | |
774 | + type="core:Role" | |
774 | 775 | use="required" |
775 | 776 | /> |
776 | 777 | <xsd:attribute |
@@ -868,7 +869,7 @@ victim => 処刑された人のAvatar識別子。誰も処刑されなかった | ||
868 | 869 | </xsd:sequence> |
869 | 870 | <xsd:attribute |
870 | 871 | name="victim" |
871 | - type="tns:AvatarId" | |
872 | + type="core:AvatarId" | |
872 | 873 | use="optional" |
873 | 874 | /> |
874 | 875 | </xsd:extension> |
@@ -891,12 +892,12 @@ voteTo => 投票された人のAvatar識別子 | ||
891 | 892 | <xsd:complexType> |
892 | 893 | <xsd:attribute |
893 | 894 | name="byWhom" |
894 | - type="tns:AvatarId" | |
895 | + type="core:AvatarId" | |
895 | 896 | use="required" |
896 | 897 | /> |
897 | 898 | <xsd:attribute |
898 | 899 | name="target" |
899 | - type="tns:AvatarId" | |
900 | + type="core:AvatarId" | |
900 | 901 | use="required" |
901 | 902 | /> |
902 | 903 | </xsd:complexType> |
@@ -918,7 +919,7 @@ avatarId => 突然死者のAvatar識別子 | ||
918 | 919 | <xsd:extension base="tns:EventAnnounce"> |
919 | 920 | <xsd:attribute |
920 | 921 | name="avatarId" |
921 | - type="tns:AvatarId" | |
922 | + type="core:AvatarId" | |
922 | 923 | use="required" |
923 | 924 | /> |
924 | 925 | </xsd:extension> |
@@ -1019,12 +1020,12 @@ uri => プレイヤーの指定した連絡先URI。URI条件を満たすかど | ||
1019 | 1020 | <xsd:complexType> |
1020 | 1021 | <xsd:attribute |
1021 | 1022 | name="playerId" |
1022 | - type="tns:PlayerId" | |
1023 | + type="core:PlayerId" | |
1023 | 1024 | use="required" |
1024 | 1025 | /> |
1025 | 1026 | <xsd:attribute |
1026 | 1027 | name="avatarId" |
1027 | - type="tns:AvatarId" | |
1028 | + type="core:AvatarId" | |
1028 | 1029 | use="required" |
1029 | 1030 | /> |
1030 | 1031 | <xsd:attribute |
@@ -1034,7 +1035,7 @@ uri => プレイヤーの指定した連絡先URI。URI条件を満たすかど | ||
1034 | 1035 | /> |
1035 | 1036 | <xsd:attribute |
1036 | 1037 | name="role" |
1037 | - type="tns:Role" | |
1038 | + type="core:Role" | |
1038 | 1039 | use="required" |
1039 | 1040 | /> |
1040 | 1041 | <xsd:attribute |
@@ -1082,7 +1083,7 @@ victim => 処刑された人のAvatar識別子。誰も処刑されなかった | ||
1082 | 1083 | </xsd:sequence> |
1083 | 1084 | <xsd:attribute |
1084 | 1085 | name="victim" |
1085 | - type="tns:AvatarId" | |
1086 | + type="core:AvatarId" | |
1086 | 1087 | use="optional" |
1087 | 1088 | /> |
1088 | 1089 | </xsd:extension> |
@@ -1107,7 +1108,7 @@ count => 集票数 | ||
1107 | 1108 | <xsd:complexType> |
1108 | 1109 | <xsd:attribute |
1109 | 1110 | name="avatarId" |
1110 | - type="tns:AvatarId" | |
1111 | + type="core:AvatarId" | |
1111 | 1112 | use="required" |
1112 | 1113 | /> |
1113 | 1114 | <xsd:attribute |
@@ -1133,7 +1134,7 @@ count => 集票数 | ||
1133 | 1134 | <xsd:extension base="tns:EventAnnounce"> |
1134 | 1135 | <xsd:attribute |
1135 | 1136 | name="avatarId" |
1136 | - type="tns:AvatarId" | |
1137 | + type="core:AvatarId" | |
1137 | 1138 | use="required" |
1138 | 1139 | /> |
1139 | 1140 | </xsd:extension> |
@@ -1156,7 +1157,7 @@ count => 集票数 | ||
1156 | 1157 | <xsd:extension base="tns:EventAnnounce"> |
1157 | 1158 | <xsd:attribute |
1158 | 1159 | name="avatarId" |
1159 | - type="tns:AvatarId" | |
1160 | + type="core:AvatarId" | |
1160 | 1161 | use="required" |
1161 | 1162 | /> |
1162 | 1163 | </xsd:extension> |
@@ -1286,7 +1287,7 @@ limitTime => エピローグ終了時刻 | ||
1286 | 1287 | <xsd:extension base="tns:EventOrder"> |
1287 | 1288 | <xsd:attribute |
1288 | 1289 | name="winner" |
1289 | - type="tns:Team" | |
1290 | + type="core:Team" | |
1290 | 1291 | use="required" |
1291 | 1292 | /> |
1292 | 1293 | <xsd:attribute |
@@ -1329,12 +1330,12 @@ target => 占われたAvatarの識別子。 | ||
1329 | 1330 | <xsd:extension base="tns:EventExtra"> |
1330 | 1331 | <xsd:attribute |
1331 | 1332 | name="byWhom" |
1332 | - type="tns:AvatarId" | |
1333 | + type="core:AvatarId" | |
1333 | 1334 | use="required" |
1334 | 1335 | /> |
1335 | 1336 | <xsd:attribute |
1336 | 1337 | name="target" |
1337 | - type="tns:AvatarId" | |
1338 | + type="core:AvatarId" | |
1338 | 1339 | use="required" |
1339 | 1340 | /> |
1340 | 1341 | </xsd:extension> |
@@ -1359,12 +1360,12 @@ target => 護衛されたAvatarの識別子。 | ||
1359 | 1360 | <xsd:extension base="tns:EventExtra"> |
1360 | 1361 | <xsd:attribute |
1361 | 1362 | name="byWhom" |
1362 | - type="tns:AvatarId" | |
1363 | + type="core:AvatarId" | |
1363 | 1364 | use="required" |
1364 | 1365 | /> |
1365 | 1366 | <xsd:attribute |
1366 | 1367 | name="target" |
1367 | - type="tns:AvatarId" | |
1368 | + type="core:AvatarId" | |
1368 | 1369 | use="required" |
1369 | 1370 | /> |
1370 | 1371 | </xsd:extension> |
@@ -1420,12 +1421,12 @@ faceIconURI => アイコン画像URI | ||
1420 | 1421 | <xsd:extension base="tns:EventExtra"> |
1421 | 1422 | <xsd:attribute |
1422 | 1423 | name="byWhom" |
1423 | - type="tns:AvatarId" | |
1424 | + type="core:AvatarId" | |
1424 | 1425 | use="required" |
1425 | 1426 | /> |
1426 | 1427 | <xsd:attribute |
1427 | 1428 | name="target" |
1428 | - type="tns:AvatarId" | |
1429 | + type="core:AvatarId" | |
1429 | 1430 | use="required" |
1430 | 1431 | /> |
1431 | 1432 | <xsd:attribute |
@@ -1473,12 +1474,12 @@ faceIconURI => avatar要素の顔アイコンURIと同一なら省略。 | ||
1473 | 1474 | <xsd:extension base="tns:TextLines"> |
1474 | 1475 | <xsd:attribute |
1475 | 1476 | name="type" |
1476 | - type="tns:TalkType" | |
1477 | + type="core:TalkType" | |
1477 | 1478 | use="required" |
1478 | 1479 | /> |
1479 | 1480 | <xsd:attribute |
1480 | 1481 | name="avatarId" |
1481 | - type="tns:AvatarId" | |
1482 | + type="core:AvatarId" | |
1482 | 1483 | use="required" |
1483 | 1484 | /> |
1484 | 1485 | <xsd:attribute |