/
Creating a Compass Draw
Creating a Compass Draw
Jul 16, 2019
This is a 16 person compass draw
![]()
First we need the compass draws ie East, West, North, Northeast, Northwest, South, Southeast and Southwest.
XML Expand source
<Draws>
<Draw>
<DrawId>East</DrawId>
<DrawName>East</DrawName>
</Draw>
<Draw>
<DrawId>North</DrawId>
<DrawName>North</DrawName>
</Draw>
<Draw>
<DrawId>Northeast</DrawId>
<DrawName>Northeast</DrawName>
</Draw>
<Draw>
<DrawId>Northwest</DrawId>
<DrawName>Northwest</DrawName>
</Draw>
<Draw>
<DrawId>South</DrawId>
<DrawName>South</DrawName>
</Draw>
<Draw>
<DrawId>Southeast</DrawId>
<DrawName>Southeast</DrawName>
</Draw>
<Draw>
<DrawId>Southwest</DrawId>
<DrawName>Southwest</DrawName>
</Draw>
<Draw>
<DrawId>West</DrawId>
<DrawName>West</DrawName>
</Draw>
</Draws>
Json Expand source
{
"Draws": {
"Draw": [
{
"DrawId": "East",
"DrawName": "East"
},
{
"DrawId": "North",
"DrawName": "North"
},
{
"DrawId": "Northeast",
"DrawName": "Northeast"
},
{
"DrawId": "Northwest",
"DrawName": "Northwest"
},
{
"DrawId": "South",
"DrawName": "South"
},
{
"DrawId": "Southeast",
"DrawName": "Southeast"
},
{
"DrawId": "Southwest",
"DrawName": "Southwest"
},
{
"DrawId": "West",
"DrawName": "West"
}
]
}
}
The we need to add Rounds using the following syntax
XML Expand source
<Rounds>
<Round Number="1">
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
</Round>
</Rounds>
Json Expand source
{
"Rounds": {
"Round": {
"RoundItem": {
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
"_Number": "1"
}
}
}
Repeat the process for all rounds in each draw
XML Expand source
<Draws>
<Draw>
<DrawId>East</DrawId>
<DrawName>East</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="2">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="3">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="4">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="5">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>3</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>3</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="6">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>3</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>3</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="7">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>4</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>4</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="8">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>2</RoundNumber>
<Position>4</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>West</DrawId>
<RoundNumber>1</RoundNumber>
<Position>4</Position>
</LoserGoesTo>
</RoundItem>
</RoundItems>
</Round>
<Round Number="2">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>3</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>North</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="2">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>3</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>North</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="3">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>3</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>North</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="4">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>3</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>North</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
</RoundItems>
</Round>
<Round Number="3">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>4</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Northeast</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="2">
<WinnerGoesTo>
<DrawId>East</DrawId>
<RoundNumber>4</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Northeast</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
</RoundItems>
</Round>
<Round Number="4">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
<Draw>
<DrawId>North</DrawId>
<DrawName>North</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>North</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Northwest</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="2">
<WinnerGoesTo>
<DrawId>North</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Northwest</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
</RoundItems>
</Round>
<Round Number="2">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
<Draw>
<DrawId>Northeast</DrawId>
<DrawName>Northeast</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
<Draw>
<DrawId>Northwest</DrawId>
<DrawName>Northwest</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
<Draw>
<DrawId>South</DrawId>
<DrawName>South</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>South</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Southeast</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="2">
<WinnerGoesTo>
<DrawId>South</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Southeast</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="3">
<WinnerGoesTo>
<DrawId>South</DrawId>
<RoundNumber>2</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Southeast</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="4">
<WinnerGoesTo>
<DrawId>South</DrawId>
<RoundNumber>2</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Southeast</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
</RoundItems>
</Round>
<Round Number="2">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
<Draw>
<DrawId>Southeast</DrawId>
<DrawName>Southeast</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
<Draw>
<DrawId>Southwest</DrawId>
<DrawName>Southwest</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
<Draw>
<DrawId>West</DrawId>
<DrawName>West</DrawName>
<Rounds>
<Round Number="1">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>West</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>South</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="2">
<WinnerGoesTo>
<DrawId>West</DrawId>
<RoundNumber>2</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>South</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="3">
<WinnerGoesTo>
<DrawId>West</DrawId>
<RoundNumber>2</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>South</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="4">
<WinnerGoesTo>
<DrawId>West</DrawId>
<RoundNumber>2</RoundNumber>
<Position>2</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>South</DrawId>
<RoundNumber>1</RoundNumber>
<Position>2</Position>
</LoserGoesTo>
</RoundItem>
</RoundItems>
</Round>
<Round Number="2">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo>
<DrawId>West</DrawId>
<RoundNumber>3</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Southwest</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
<RoundItem Position="2">
<WinnerGoesTo>
<DrawId>West</DrawId>
<RoundNumber>3</RoundNumber>
<Position>1</Position>
</WinnerGoesTo>
<LoserGoesTo>
<DrawId>Southwest</DrawId>
<RoundNumber>1</RoundNumber>
<Position>1</Position>
</LoserGoesTo>
</RoundItem>
</RoundItems>
</Round>
<Round Number="3">
<RoundItems>
<RoundItem Position="1">
<WinnerGoesTo />
<LoserGoesTo />
</RoundItem>
</RoundItems>
</Round>
</Rounds>
</Draw>
</Draws>
Json Expand source
{
"Draws": {
"Draw": [
{
"DrawId": "East",
"DrawName": "East",
"Rounds": {
"Round": [
{
"RoundItems": {
"RoundItem": [
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "2"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "3"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "4"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "3"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "3"
},
"_Position": "5"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "3"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "3"
},
"_Position": "6"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "4"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "4"
},
"_Position": "7"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "2",
"Position": "4"
},
"LoserGoesTo": {
"DrawId": "West",
"RoundNumber": "1",
"Position": "4"
},
"_Position": "8"
}
]
},
"_Number": "1"
},
{
"RoundItems": {
"RoundItem": [
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "3",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "North",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "3",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "North",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "2"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "3",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "North",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "3"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "3",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "North",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "4"
}
]
},
"_Number": "2"
},
{
"RoundItems": {
"RoundItem": [
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "4",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "Northeast",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
{
"WinnerGoesTo": {
"DrawId": "East",
"RoundNumber": "4",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "Northeast",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "2"
}
]
},
"_Number": "3"
},
{
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "4"
}
]
}
},
{
"DrawId": "North",
"DrawName": "North",
"Rounds": {
"Round": [
{
"RoundItems": {
"RoundItem": [
{
"WinnerGoesTo": {
"DrawId": "North",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "Northwest",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
{
"WinnerGoesTo": {
"DrawId": "North",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "Northwest",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "2"
}
]
},
"_Number": "1"
},
{
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "2"
}
]
}
},
{
"DrawId": "Northeast",
"DrawName": "Northeast",
"Rounds": {
"Round": {
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "1"
}
}
},
{
"DrawId": "Northwest",
"DrawName": "Northwest",
"Rounds": {
"Round": {
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "1"
}
}
},
{
"DrawId": "South",
"DrawName": "South",
"Rounds": {
"Round": [
{
"RoundItems": {
"RoundItem": [
{
"WinnerGoesTo": {
"DrawId": "South",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "Southeast",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
{
"WinnerGoesTo": {
"DrawId": "South",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "Southeast",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "2"
},
{
"WinnerGoesTo": {
"DrawId": "South",
"RoundNumber": "2",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "Southeast",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "3"
},
{
"WinnerGoesTo": {
"DrawId": "South",
"RoundNumber": "2",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "Southeast",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "4"
}
]
},
"_Number": "1"
},
{
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "2"
}
]
}
},
{
"DrawId": "Southeast",
"DrawName": "Southeast",
"Rounds": {
"Round": {
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "1"
}
}
},
{
"DrawId": "Southwest",
"DrawName": "Southwest",
"Rounds": {
"Round": {
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "1"
}
}
},
{
"DrawId": "West",
"DrawName": "West",
"Rounds": {
"Round": [
{
"RoundItems": {
"RoundItem": [
{
"WinnerGoesTo": {
"DrawId": "West",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "South",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
{
"WinnerGoesTo": {
"DrawId": "West",
"RoundNumber": "2",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "South",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "2"
},
{
"WinnerGoesTo": {
"DrawId": "West",
"RoundNumber": "2",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "South",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "3"
},
{
"WinnerGoesTo": {
"DrawId": "West",
"RoundNumber": "2",
"Position": "2"
},
"LoserGoesTo": {
"DrawId": "South",
"RoundNumber": "1",
"Position": "2"
},
"_Position": "4"
}
]
},
"_Number": "1"
},
{
"RoundItems": {
"RoundItem": [
{
"WinnerGoesTo": {
"DrawId": "West",
"RoundNumber": "3",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "Southwest",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "1"
},
{
"WinnerGoesTo": {
"DrawId": "West",
"RoundNumber": "3",
"Position": "1"
},
"LoserGoesTo": {
"DrawId": "Southwest",
"RoundNumber": "1",
"Position": "1"
},
"_Position": "2"
}
]
},
"_Number": "2"
},
{
"RoundItems": {
"RoundItem": {
"WinnerGoesTo": "",
"LoserGoesTo": "",
"_Position": "1"
}
},
"_Number": "3"
}
]
}
}
]
}
}
Go back to Tennis Open Data Standards home page.
, multiple selections available,