aboutsummaryrefslogtreecommitdiffstats
path: root/test-data/ex-2/invalid/ex1-duplicate-event-id.xml
blob: 5998bb94778343e813042657edac07bd7775b479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8"?>
<!-- Ex1 check 2: every event has a unique id. Both events use id 1. -->
<Guess-Market xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="GM-EX2-Schema.xsd">
	<GM-events>
		<GM-event name="Mujtaba is Dead">
			<id>1</id>
			<description>This event gambles if Mujtaba is a live or not. it will be determined if he will be shown in public until 31.8.26</description>
			<commission type="on-purchase">5</commission>
			<GM-options>
				<GM-option>Hell Yea !</GM-option>
				<GM-option>No way !</GM-option>
			</GM-options>
			<GM-method>
				<GM-LMSR>
					<b>100</b>
				</GM-LMSR>
			</GM-method>
		</GM-event>
		<GM-event name="World Cap Winner">
			<id>1</id>
			<description>Who do you think will win the world cap ?</description>
			<commission type="on-close">15</commission>
			<GM-options>
				<GM-option>Argentina</GM-option>
				<GM-option>Spain</GM-option>
			</GM-options>
			<GM-method>
				<GM-order-book allow-mint="true" initial="100" d="1"/>
			</GM-method>
		</GM-event>
	</GM-events>
	<GM-users>
		<GM-user name="Avrum">
			<initial-cash>1000</initial-cash>
			<GM-market-maker>
				<event id="2"/>
			</GM-market-maker>
		</GM-user>
		<GM-user name="Tikva">
			<initial-cash>10000</initial-cash>
			<GM-market-maker>
				<event id="1"/>
			</GM-market-maker>
		</GM-user>
		<GM-user name="Menash">
			<initial-cash>100</initial-cash>
		</GM-user>
	</GM-users>
</Guess-Market>