infostrada 0.1.26 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +5 -13
  2. data/.rspec +2 -0
  3. data/.rubocop.yml +2 -0
  4. data/.travis.yml +6 -0
  5. data/README.md +2 -0
  6. data/infostrada.gemspec +4 -1
  7. data/lib/infostrada.rb +6 -12
  8. data/lib/infostrada/call_refresh.rb +2 -1
  9. data/lib/infostrada/competition.rb +2 -1
  10. data/lib/infostrada/core_ext/hash.rb +14 -0
  11. data/lib/infostrada/core_ext/string.rb +19 -2
  12. data/lib/infostrada/match.rb +2 -2
  13. data/lib/infostrada/match_event.rb +1 -1
  14. data/lib/infostrada/mock.rb +76 -0
  15. data/lib/infostrada/nation.rb +2 -2
  16. data/lib/infostrada/person_info.rb +12 -12
  17. data/lib/infostrada/phase.rb +11 -13
  18. data/lib/infostrada/player.rb +11 -11
  19. data/lib/infostrada/squad.rb +3 -6
  20. data/lib/infostrada/team.rb +4 -4
  21. data/lib/infostrada/team_info.rb +1 -1
  22. data/lib/infostrada/team_request.rb +2 -5
  23. data/lib/infostrada/version.rb +1 -1
  24. data/spec/base_request_spec.rb +19 -0
  25. data/spec/competition_spec.rb +67 -0
  26. data/spec/edition_request_spec.rb +20 -0
  27. data/spec/edition_spec.rb +111 -0
  28. data/spec/endpoint_spec.rb +62 -0
  29. data/spec/formatter_spec.rb +12 -0
  30. data/spec/helpers/json_helper.rb +41 -0
  31. data/spec/json/competition.json +55 -0
  32. data/spec/json/edition.json +61 -0
  33. data/spec/json/edition_request.json +242 -0
  34. data/spec/json/endpoint.json +46 -0
  35. data/spec/json/match.json +945 -0
  36. data/spec/json/match_event.json +187 -0
  37. data/spec/json/match_event_list.json +411 -0
  38. data/spec/json/nation.json +302 -0
  39. data/spec/json/person_info.json +52 -0
  40. data/spec/json/phase.json +158 -0
  41. data/spec/json/player.json +93 -0
  42. data/spec/json/referee.json +184 -0
  43. data/spec/json/sample_responses/all_editions.json +243 -0
  44. data/spec/json/sample_responses/competition_edition_league_21594_serie_a.json +4 -0
  45. data/spec/json/sample_responses/competition_match_days_league_21594_serie_a.json +473 -0
  46. data/spec/json/sample_responses/competition_match_list_league_21594_serie_a.json +25465 -0
  47. data/spec/json/sample_responses/competition_phases_cup_21204_capital_one_cup.json +138 -0
  48. data/spec/json/sample_responses/competition_phases_league_21594_serie_a.json +24 -0
  49. data/spec/json/sample_responses/competition_table_phase_114165_serie_a_2015.json +585 -0
  50. data/spec/json/sample_responses/competition_teams_league_21594.json +165 -0
  51. data/spec/json/sample_responses/get_api_call_refresh_module.json +65 -0
  52. data/spec/json/sample_responses/match_events_1788734_real_atletico_final_champions.json +7960 -0
  53. data/spec/json/sample_responses/match_info_1788734_real_atletico_final_champions.json +96 -0
  54. data/spec/json/sample_responses/match_info_upcoming_1968820_serie_a.json +96 -0
  55. data/spec/json/sample_responses/person_info_611005_bale.json +55 -0
  56. data/spec/json/sample_responses/squad_100163_on_edition_21590.json +1355 -0
  57. data/spec/json/sample_responses/team_info_100163.json +28 -0
  58. data/spec/json/sample_responses/template_dummy_response.json +4 -0
  59. data/spec/json/squad.json +514 -0
  60. data/spec/json/team.json +10 -0
  61. data/spec/json/team_info.json +25 -0
  62. data/spec/json/team_request.json +68 -0
  63. data/spec/match_event_list_spec.rb +21 -0
  64. data/spec/match_event_spec.rb +159 -0
  65. data/spec/match_spec.rb +430 -0
  66. data/spec/nation_spec.rb +179 -0
  67. data/spec/person_info_spec.rb +69 -0
  68. data/spec/phase_spec.rb +183 -0
  69. data/spec/player_spec.rb +112 -0
  70. data/spec/referee_spec.rb +71 -0
  71. data/spec/spec_helper.rb +117 -0
  72. data/spec/squad_spec.rb +25 -0
  73. data/spec/team_info_spec.rb +77 -0
  74. data/spec/team_request_spec.rb +24 -0
  75. data/spec/team_spec.rb +76 -0
  76. metadata +213 -43
@@ -0,0 +1,302 @@
1
+ {
2
+ "home_team": {
3
+ "n_MatchID": 1968820,
4
+ "d_Date": "/Date(1431207000000+0200)/",
5
+ "d_DateLocal": "/Date(1431189000000+0200)/",
6
+ "d_DateUTC": "/Date(1431199800000+0200)/",
7
+ "b_DateUnknown": false,
8
+ "b_TimeUnknown": false,
9
+ "b_RescheduledToBeResumed": false,
10
+ "n_MatchNr": null,
11
+ "n_RoundNr": 1,
12
+ "n_PhaseID": 114165,
13
+ "n_PhaseLevel": 1,
14
+ "c_Phase": "Regular",
15
+ "c_PhaseShort": null,
16
+ "n_HomeTeamID": 100086,
17
+ "c_HomeTeam": "Palmeiras",
18
+ "c_HomeTeamShort": "PAL",
19
+ "n_HomeTeamNatioGeoID": 2235,
20
+ "c_HomeTeamNatio": "Brazil",
21
+ "c_HomeTeamNatioShort": "BRA",
22
+ "n_AwayTeamID": 100163,
23
+ "c_AwayTeam": "Atl\u00e9tico-MG",
24
+ "c_AwayTeamShort": "ATM",
25
+ "n_AwayTeamNatioGeoID": 2235,
26
+ "c_AwayTeamNatio": "Brazil",
27
+ "c_AwayTeamNatioShort": "BRA",
28
+ "n_StadiumGeoID": 35247,
29
+ "c_Stadium": "Allianz Park",
30
+ "n_CityGeoID": 25180,
31
+ "c_City": "S\u00e3o Paulo",
32
+ "n_CountryGeoID": 2235,
33
+ "c_Country": "Brazil",
34
+ "c_CountryShort": "BRA",
35
+ "c_Score": null,
36
+ "c_ScoreSuffix": null,
37
+ "n_HomeGoals": null,
38
+ "n_AwayGoals": null,
39
+ "n_HomeGoalsHalftime": null,
40
+ "n_AwayGoalsHalftime": null,
41
+ "n_HomeGoals90mins": null,
42
+ "n_AwayGoals90mins": null,
43
+ "n_HomeGoals105mins": null,
44
+ "n_AwayGoals105mins": null,
45
+ "n_HomeGoalsShootout": null,
46
+ "n_AwayGoalsShootout": null,
47
+ "n_MatchStatusCode": 4,
48
+ "c_MatchStatus": "Not started",
49
+ "c_MatchStatusShort": "n.s.",
50
+ "b_Finished": false,
51
+ "b_Awarded": false,
52
+ "b_Postponed": false,
53
+ "b_Abandoned": false,
54
+ "n_RefereeID": 0,
55
+ "c_Referee": null,
56
+ "n_RefereeNatioGeoID": 0,
57
+ "c_RefereeNatio": null,
58
+ "c_RefereeNatioShort": null,
59
+ "n_Spectators": null,
60
+ "n_KnockoutPhaseID": null,
61
+ "n_Leg": null,
62
+ "c_FirstLegScore": null,
63
+ "n_WinnerOnAggregateTeamID": null,
64
+ "n_DataEntryLevel": 50,
65
+ "b_DataEntryLiveScore": true,
66
+ "b_DataEntryLiveGoal": true,
67
+ "b_DataEntryLiveLineup": true
68
+ },
69
+ "away_team":{
70
+ "n_MatchID": 1968820,
71
+ "d_Date": "/Date(1431207000000+0200)/",
72
+ "d_DateLocal": "/Date(1431189000000+0200)/",
73
+ "d_DateUTC": "/Date(1431199800000+0200)/",
74
+ "b_DateUnknown": false,
75
+ "b_TimeUnknown": false,
76
+ "b_RescheduledToBeResumed": false,
77
+ "n_MatchNr": null,
78
+ "n_RoundNr": 1,
79
+ "n_PhaseID": 114165,
80
+ "n_PhaseLevel": 1,
81
+ "c_Phase": "Regular",
82
+ "c_PhaseShort": null,
83
+ "n_HomeTeamID": 100086,
84
+ "c_HomeTeam": "Palmeiras",
85
+ "c_HomeTeamShort": "PAL",
86
+ "n_HomeTeamNatioGeoID": 2235,
87
+ "c_HomeTeamNatio": "Brazil",
88
+ "c_HomeTeamNatioShort": "BRA",
89
+ "n_AwayTeamID": 100163,
90
+ "c_AwayTeam": "Atl\u00e9tico-MG",
91
+ "c_AwayTeamShort": "ATM",
92
+ "n_AwayTeamNatioGeoID": 2236,
93
+ "c_AwayTeamNatio": "Argentina",
94
+ "c_AwayTeamNatioShort": "AR",
95
+ "n_StadiumGeoID": 35247,
96
+ "c_Stadium": "Allianz Park",
97
+ "n_CityGeoID": 25180,
98
+ "c_City": "S\u00e3o Paulo",
99
+ "n_CountryGeoID": 2235,
100
+ "c_Country": "Brazil",
101
+ "c_CountryShort": "BRA",
102
+ "c_Score": null,
103
+ "c_ScoreSuffix": null,
104
+ "n_HomeGoals": null,
105
+ "n_AwayGoals": null,
106
+ "n_HomeGoalsHalftime": null,
107
+ "n_AwayGoalsHalftime": null,
108
+ "n_HomeGoals90mins": null,
109
+ "n_AwayGoals90mins": null,
110
+ "n_HomeGoals105mins": null,
111
+ "n_AwayGoals105mins": null,
112
+ "n_HomeGoalsShootout": null,
113
+ "n_AwayGoalsShootout": null,
114
+ "n_MatchStatusCode": 4,
115
+ "c_MatchStatus": "Not started",
116
+ "c_MatchStatusShort": "n.s.",
117
+ "b_Finished": false,
118
+ "b_Awarded": false,
119
+ "b_Postponed": false,
120
+ "b_Abandoned": false,
121
+ "n_RefereeID": 0,
122
+ "c_Referee": null,
123
+ "n_RefereeNatioGeoID": 0,
124
+ "c_RefereeNatio": null,
125
+ "c_RefereeNatioShort": null,
126
+ "n_Spectators": null,
127
+ "n_KnockoutPhaseID": null,
128
+ "n_Leg": null,
129
+ "c_FirstLegScore": null,
130
+ "n_WinnerOnAggregateTeamID": null,
131
+ "n_DataEntryLevel": 50,
132
+ "b_DataEntryLiveScore": true,
133
+ "b_DataEntryLiveGoal": true,
134
+ "b_DataEntryLiveLineup": true
135
+ },
136
+ "referee": {
137
+ "n_MatchID": 1968820,
138
+ "d_Date": "/Date(1431207000000+0200)/",
139
+ "d_DateLocal": "/Date(1431189000000+0200)/",
140
+ "d_DateUTC": "/Date(1431199800000+0200)/",
141
+ "b_DateUnknown": false,
142
+ "b_TimeUnknown": false,
143
+ "b_RescheduledToBeResumed": false,
144
+ "n_MatchNr": null,
145
+ "n_RoundNr": 1,
146
+ "n_PhaseID": 114165,
147
+ "n_PhaseLevel": 1,
148
+ "c_Phase": "Regular",
149
+ "c_PhaseShort": null,
150
+ "n_HomeTeamID": 100086,
151
+ "c_HomeTeam": "Palmeiras",
152
+ "c_HomeTeamShort": "PAL",
153
+ "n_HomeTeamNatioGeoID": 2235,
154
+ "c_HomeTeamNatio": "Brazil",
155
+ "c_HomeTeamNatioShort": "BRA",
156
+ "n_AwayTeamID": 100163,
157
+ "c_AwayTeam": "Atl\u00e9tico-MG",
158
+ "c_AwayTeamShort": "ATM",
159
+ "n_AwayTeamNatioGeoID": 2235,
160
+ "c_AwayTeamNatio": "Brazil",
161
+ "c_AwayTeamNatioShort": "BRA",
162
+ "n_StadiumGeoID": 35247,
163
+ "c_Stadium": "Allianz Park",
164
+ "n_CityGeoID": 25180,
165
+ "c_City": "S\u00e3o Paulo",
166
+ "n_CountryGeoID": 2235,
167
+ "c_Country": "Brazil",
168
+ "c_CountryShort": "BRA",
169
+ "c_Score": null,
170
+ "c_ScoreSuffix": null,
171
+ "n_HomeGoals": null,
172
+ "n_AwayGoals": null,
173
+ "n_HomeGoalsHalftime": null,
174
+ "n_AwayGoalsHalftime": null,
175
+ "n_HomeGoals90mins": null,
176
+ "n_AwayGoals90mins": null,
177
+ "n_HomeGoals105mins": null,
178
+ "n_AwayGoals105mins": null,
179
+ "n_HomeGoalsShootout": null,
180
+ "n_AwayGoalsShootout": null,
181
+ "n_MatchStatusCode": 4,
182
+ "c_MatchStatus": "Not started",
183
+ "c_MatchStatusShort": "n.s.",
184
+ "b_Finished": false,
185
+ "b_Awarded": false,
186
+ "b_Postponed": false,
187
+ "b_Abandoned": false,
188
+ "n_RefereeID": 0,
189
+ "c_Referee": null,
190
+ "n_RefereeNatioGeoID": 0,
191
+ "c_RefereeNatio": "Portugal",
192
+ "c_RefereeNatioShort": "PT",
193
+ "n_Spectators": null,
194
+ "n_KnockoutPhaseID": null,
195
+ "n_Leg": null,
196
+ "c_FirstLegScore": null,
197
+ "n_WinnerOnAggregateTeamID": null,
198
+ "n_DataEntryLevel": 50,
199
+ "b_DataEntryLiveScore": true,
200
+ "b_DataEntryLiveGoal": true,
201
+ "b_DataEntryLiveLineup": true
202
+ },
203
+ "team": {
204
+ "n_TeamID": 104005,
205
+ "c_Team": "Atl\u00e9tico-PR",
206
+ "c_TeamShort": "ATP",
207
+ "n_TeamNatioGeoID": 2235,
208
+ "c_TeamNatio": "Brazil",
209
+ "c_TeamNatioShort": "BRA"
210
+ },
211
+ "competition": {
212
+ "n_CompetitionID": 41,
213
+ "n_CompetitionLevel": 0,
214
+ "c_Competition": "UEFA Champions League",
215
+ "c_CompetitionShort": "Ch. League",
216
+ "n_CompetitionNatioGeoID": 2101,
217
+ "c_CompetitionNatio": "Europe",
218
+ "c_CompetitionNatioShort": "EUR",
219
+ "n_EditionID": 20605,
220
+ "c_Season": "2013/2014",
221
+ "n_MatchID": 1788734,
222
+ "d_Date": "/Date(1400957100000+0200)/",
223
+ "d_DateLocal": "/Date(1400953500000+0200)/",
224
+ "d_DateUTC": "/Date(1400949900000+0200)/",
225
+ "b_DateUnknown": false,
226
+ "b_TimeUnknown": false,
227
+ "b_RescheduledToBeResumed": false,
228
+ "n_RoundNr": 1,
229
+ "n_PhaseID": 103950,
230
+ "n_PhaseLevel": 2,
231
+ "c_Phase": "Final",
232
+ "c_PhaseShort": "F",
233
+ "n_HomeTeamID": 4103,
234
+ "c_HomeTeam": "Real Madrid",
235
+ "c_HomeTeamShort": "MAD",
236
+ "n_HomeTeamNatioGeoID": 2203,
237
+ "c_HomeTeamNatio": "Spain",
238
+ "c_HomeTeamNatioShort": "ESP",
239
+ "n_AwayTeamID": 4012,
240
+ "c_AwayTeam": "Atl\u00e9tico Madrid",
241
+ "c_AwayTeamShort": "ATL",
242
+ "n_AwayTeamNatioGeoID": 2203,
243
+ "c_AwayTeamNatio": "Spain",
244
+ "c_AwayTeamNatioShort": "ESP",
245
+ "n_StadiumGeoID": 13326,
246
+ "c_Stadium": "Est\u00e1dio da Luz",
247
+ "n_CityGeoID": 3121,
248
+ "c_City": "Lisbon",
249
+ "n_CountryGeoID": 2223,
250
+ "c_Country": "Portugal",
251
+ "c_CountryShort": "POR",
252
+ "c_Score": "4-1 (0-1, 1-1) AET",
253
+ "c_ScoreSuffix": "AET",
254
+ "c_HomeTactics": "4-3-3",
255
+ "c_AwayTactics": "4-4-2",
256
+ "n_HomeGoals": 4,
257
+ "n_AwayGoals": 1,
258
+ "n_HomeGoalsHalftime": 0,
259
+ "n_AwayGoalsHalftime": 1,
260
+ "n_HomeGoals90mins": 1,
261
+ "n_AwayGoals90mins": 1,
262
+ "n_HomeGoals105mins": 1,
263
+ "n_AwayGoals105mins": 1,
264
+ "n_HomeGoalsShootout": null,
265
+ "n_AwayGoalsShootout": null,
266
+ "n_PeriodSort": 11,
267
+ "d_MatchStartTime": "/Date(1400957204807+0200)/",
268
+ "d_MatchEndTime": "/Date(1400966484920+0200)/",
269
+ "d_CurrentPeriodStartTime": null,
270
+ "n_CurrentPeriodTimeNotPlayed": null,
271
+ "n_CurrentPeriodTimePlayed": null,
272
+ "n_MatchStatusCode": 128,
273
+ "c_MatchStatus": "Full time",
274
+ "c_MatchStatusShort": "FT",
275
+ "b_Started": true,
276
+ "b_Live": false,
277
+ "b_Finished": true,
278
+ "b_Awarded": false,
279
+ "b_Delayed": false,
280
+ "b_Postponed": false,
281
+ "b_Suspended": false,
282
+ "b_Abandoned": false,
283
+ "n_RefereeID": 392439,
284
+ "c_Referee": "Bj\u00f6rn Kuipers",
285
+ "n_RefereeNatioGeoID": 2201,
286
+ "c_RefereeNatio": "Netherlands",
287
+ "c_RefereeNatioShort": "NED",
288
+ "n_Spectators": 60976,
289
+ "n_KnockoutPhaseID": 104006,
290
+ "n_Leg": 1,
291
+ "c_ScoreFirstLeg": null,
292
+ "n_WinnerOnAggregateTeamID": 4103,
293
+ "n_DataEntryLevel": 70,
294
+ "b_DataEntryLiveScore": true,
295
+ "b_DataEntryLiveGoal": true,
296
+ "b_DataEntryLiveLineup": true,
297
+ "b_LineupProvisional": false,
298
+ "b_LineupOfficial": true,
299
+ "b_TacticsPositions": true,
300
+ "n_WeatherConditionType": 2
301
+ }
302
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "default": {
3
+ "n_PersonID": 611005,
4
+ "c_FirstName": "Gareth",
5
+ "c_LastName": "Bale",
6
+ "c_OfficialName": "Gareth Bale",
7
+ "c_OfficialNameSort": "Bale, Gareth",
8
+ "c_PublicName": "Gareth Bale",
9
+ "c_PublicNameSort": "Bale, Gareth",
10
+ "c_Nickname": null,
11
+ "n_GenderID": 0,
12
+ "c_Gender": null,
13
+ "c_GenderShort": null,
14
+ "n_NatioGeoID": 4386,
15
+ "c_Natio": "Wales",
16
+ "c_NatioShort": "WAL",
17
+ "n_SecondNatioGeoID": 4058,
18
+ "c_SecondNatio": "Great Britain",
19
+ "c_SecondNatioShort": "GBR",
20
+ "d_BirthDate": "/Date(616543200000+0200)/",
21
+ "n_BirthYear": null,
22
+ "d_DeathDate": null,
23
+ "n_DeathYear": null,
24
+ "n_Height": 1830,
25
+ "n_Weight": 74000,
26
+ "n_BirthCityGeoID": 28727,
27
+ "c_BirthCity": "Cardiff",
28
+ "n_BirthCountryGeoID": 4386,
29
+ "c_BirthCountry": "Wales",
30
+ "c_BirthCountryShort": "WAL",
31
+ "n_ResidenceCityGeoID": 0,
32
+ "c_ResidenceCity": null,
33
+ "n_ResidenceCountryGeoID": 0,
34
+ "c_ResidenceCountry": null,
35
+ "c_ResidenceCountryShort": null,
36
+ "n_ClubTeamID": 4103,
37
+ "c_ClubTeam": "Real Madrid",
38
+ "n_ClubTeamNatioGeoID": 2203,
39
+ "c_ClubTeamNatio": "Spain",
40
+ "c_ClubTeamNatioShort": "ESP",
41
+ "n_ClubTeamFunctionType": 4,
42
+ "c_ClubTeamFunction": "Midfielder",
43
+ "c_ClubTeamFunctionShort": "M",
44
+ "n_ClubTeamFunctionCode": 4,
45
+ "n_NatTeamID": 3017,
46
+ "c_NatTeam": "Wales",
47
+ "n_NatTeamFunctionType": 8,
48
+ "c_NatTeamFunction": "Forward",
49
+ "c_NatTeamFunctionShort": "F",
50
+ "n_NatTeamFunctionCode": 8
51
+ }
52
+ }
@@ -0,0 +1,158 @@
1
+ {
2
+ "list": [
3
+ {
4
+ "n_PhaseID": 109360,
5
+ "n_PhaseLevel": 58,
6
+ "c_Phase": "1st Round",
7
+ "n_Phase1ID": 109360,
8
+ "n_Phase1Nr": 1,
9
+ "c_Phase1": "1st Round",
10
+ "n_Phase2ID": null,
11
+ "n_Phase2Nr": null,
12
+ "c_Phase2": null,
13
+ "n_Phase3ID": null,
14
+ "n_Phase3Nr": null,
15
+ "c_Phase3": null,
16
+ "b_Table": false,
17
+ "b_Current": false,
18
+ "b_Currents": false,
19
+ "n_DateStart": 20140811,
20
+ "n_DateEnd": 20140813
21
+ },
22
+ {
23
+ "n_PhaseID": 109361,
24
+ "n_PhaseLevel": 33,
25
+ "c_Phase": "2nd Round",
26
+ "n_Phase1ID": 109361,
27
+ "n_Phase1Nr": 2,
28
+ "c_Phase1": "2nd Round",
29
+ "n_Phase2ID": null,
30
+ "n_Phase2Nr": null,
31
+ "c_Phase2": null,
32
+ "n_Phase3ID": null,
33
+ "n_Phase3Nr": null,
34
+ "c_Phase3": null,
35
+ "b_Table": false,
36
+ "b_Current": false,
37
+ "b_Currents": false,
38
+ "n_DateStart": 20140826,
39
+ "n_DateEnd": 20140827
40
+ },
41
+ {
42
+ "n_PhaseID": 109362,
43
+ "n_PhaseLevel": 17,
44
+ "c_Phase": "3rd Round",
45
+ "n_Phase1ID": 109362,
46
+ "n_Phase1Nr": 3,
47
+ "c_Phase1": "3rd Round",
48
+ "n_Phase2ID": null,
49
+ "n_Phase2Nr": null,
50
+ "c_Phase2": null,
51
+ "n_Phase3ID": null,
52
+ "n_Phase3Nr": null,
53
+ "c_Phase3": null,
54
+ "b_Table": false,
55
+ "b_Current": false,
56
+ "b_Currents": false,
57
+ "n_DateStart": 20140923,
58
+ "n_DateEnd": 20140924
59
+ },
60
+ {
61
+ "n_PhaseID": 109363,
62
+ "n_PhaseLevel": 9,
63
+ "c_Phase": "4th Round",
64
+ "n_Phase1ID": 109363,
65
+ "n_Phase1Nr": 4,
66
+ "c_Phase1": "4th Round",
67
+ "n_Phase2ID": null,
68
+ "n_Phase2Nr": null,
69
+ "c_Phase2": null,
70
+ "n_Phase3ID": null,
71
+ "n_Phase3Nr": null,
72
+ "c_Phase3": null,
73
+ "b_Table": false,
74
+ "b_Current": false,
75
+ "b_Currents": false,
76
+ "n_DateStart": 20141028,
77
+ "n_DateEnd": 20141029
78
+ },
79
+ {
80
+ "n_PhaseID": 109364,
81
+ "n_PhaseLevel": 5,
82
+ "c_Phase": "5th Round",
83
+ "n_Phase1ID": 109364,
84
+ "n_Phase1Nr": 5,
85
+ "c_Phase1": "5th Round",
86
+ "n_Phase2ID": null,
87
+ "n_Phase2Nr": null,
88
+ "c_Phase2": null,
89
+ "n_Phase3ID": null,
90
+ "n_Phase3Nr": null,
91
+ "c_Phase3": null,
92
+ "b_Table": false,
93
+ "b_Current": false,
94
+ "b_Currents": false,
95
+ "n_DateStart": 20141216,
96
+ "n_DateEnd": 20141217
97
+ },
98
+ {
99
+ "n_PhaseID": 109365,
100
+ "n_PhaseLevel": 3,
101
+ "c_Phase": "Semifinal",
102
+ "n_Phase1ID": 109365,
103
+ "n_Phase1Nr": 6,
104
+ "c_Phase1": "Semifinal",
105
+ "n_Phase2ID": null,
106
+ "n_Phase2Nr": null,
107
+ "c_Phase2": null,
108
+ "n_Phase3ID": null,
109
+ "n_Phase3Nr": null,
110
+ "c_Phase3": null,
111
+ "b_Table": false,
112
+ "b_Current": false,
113
+ "b_Currents": false,
114
+ "n_DateStart": 20150120,
115
+ "n_DateEnd": 20150128
116
+ },
117
+ {
118
+ "n_PhaseID": 109366,
119
+ "n_PhaseLevel": 2,
120
+ "c_Phase": "Final",
121
+ "n_Phase1ID": 109366,
122
+ "n_Phase1Nr": 7,
123
+ "c_Phase1": "Final",
124
+ "n_Phase2ID": null,
125
+ "n_Phase2Nr": null,
126
+ "c_Phase2": null,
127
+ "n_Phase3ID": null,
128
+ "n_Phase3Nr": null,
129
+ "c_Phase3": null,
130
+ "b_Table": false,
131
+ "b_Current": true,
132
+ "b_Currents": true,
133
+ "n_DateStart": 20150301,
134
+ "n_DateEnd": 20150301
135
+ }
136
+ ],
137
+ "default":[
138
+ {
139
+ "n_PhaseID": 109360,
140
+ "n_PhaseLevel": 58,
141
+ "c_Phase": "1st Round",
142
+ "n_Phase1ID": 109360,
143
+ "n_Phase1Nr": 1,
144
+ "c_Phase1": "1st Round",
145
+ "n_Phase2ID": null,
146
+ "n_Phase2Nr": null,
147
+ "c_Phase2": null,
148
+ "n_Phase3ID": null,
149
+ "n_Phase3Nr": null,
150
+ "c_Phase3": null,
151
+ "b_Table": false,
152
+ "b_Current": false,
153
+ "b_Currents": false,
154
+ "n_DateStart": 20140811,
155
+ "n_DateEnd": 20140813
156
+ }
157
+ ]
158
+ }