|
1 | 1 | [ |
| 2 | + { |
| 3 | + "type": "overrideOrganisationTemplate", |
| 4 | + "logo": { |
| 5 | + "type": "Image", |
| 6 | + "url": "/media/organizations/{org.id}/logo.svg" |
| 7 | + } |
| 8 | + }, |
2 | 9 | { |
3 | 10 | "type": "overrideTeamTemplate", |
4 | 11 | "regexes": { |
5 | | - "custom": { |
| 12 | + "fromName": { |
6 | 13 | "from": "{team.fullName}", |
7 | 14 | "rules": { |
8 | 15 | "([^:]*): (.*) (\\([^)]*\\))": { |
9 | | - "org": "$1", |
10 | 16 | "funnyNameValue": "$2", |
11 | | - "contestants": "$3", |
12 | | - }, |
13 | | - "spb(.*)": { |
14 | | - "compValue": "$1" |
15 | | - } |
| 17 | + "contestants": "$3" |
| 18 | + } |
| 19 | + } |
| 20 | + }, |
| 21 | + "fromId": { |
| 22 | + "from": "{team.id}", |
| 23 | + "rules": { |
| 24 | + "spb(.*)": {"compValue": "$1"} |
16 | 25 | } |
17 | 26 | } |
18 | 27 | }, |
19 | | - "organizationId": "{regexes.custom.org}", |
20 | 28 | "customFields": { |
21 | | - "funnyName": "{regexes.custom.funnyNameValue}", |
22 | | - "comp": "{regexes.custom.compValue}" |
| 29 | + "funnyName": "{regexes.fromName.funnyNameValue}", |
| 30 | + "comp": "{regexes.fromId.compValue}" |
23 | 31 | } |
24 | 32 | }, |
25 | | - { |
26 | | - "type": "overrideTeamTemplate", |
27 | | - "regexes": { |
28 | | - "custom": { |
29 | | - "from": "{team.id}", |
30 | | - "rules": { |
31 | | - "spb(.*)": { |
32 | | - "compValue": "$1" |
33 | | - } |
34 | | - } |
35 | | - } |
36 | | - }, |
37 | | - "customFields": { |
38 | | - "comp": "{regexes.custom.compValue}" |
39 | | - } |
40 | | - }, |
41 | 33 | { |
42 | 34 | "type": "overrideTeamTemplate", |
43 | 35 | "displayName": "{org.displayName}: {funnyName}", |
| 36 | + "fullName": "{org.fullName}: {funnyName}", |
44 | 37 | "medias": { |
45 | 38 | "screen": { |
46 | 39 | "type": "WebRTCGrabberConnection", |
|
62 | 55 | } |
63 | 56 | } |
64 | 57 | }, |
65 | | - { |
66 | | - "type": "overrideProblems", |
67 | | - "rules": { |
68 | | - "W": { |
69 | | - "color": "#a6406eff" |
70 | | - }, |
71 | | - "X": { |
72 | | - "color": "#bb7190ff" |
73 | | - }, |
74 | | - "Y": { |
75 | | - "color": "#3daa91ff" |
76 | | - }, |
77 | | - "Z": { |
78 | | - "color": "#3f4a58ff" |
79 | | - } |
80 | | - } |
81 | | - }, |
82 | 58 | { |
83 | 59 | "type": "addMedals", |
84 | 60 | "gold": 5, |
85 | 61 | "silver": 8, |
86 | 62 | "bronze": 10 |
87 | 63 | }, |
88 | | - { |
89 | | - "type": "overrideQueue", |
90 | | - "maxQueueSize": 20 |
91 | | - }, |
92 | 64 | { |
93 | 65 | "type": "overrideScoreboardSettings", |
94 | 66 | "problemColorPolicy": { |
|
111 | 83 | "J": { "color": "#3EABB4" }, |
112 | 84 | "K": { "color": "#000000" }, |
113 | 85 | "L": { "color": "#8E74B7" }, |
| 86 | + |
| 87 | + "W": { "color": "#a6406e" }, |
| 88 | + "X": { "color": "#bb7190" }, |
| 89 | + "Y": { "color": "#3daa91" }, |
| 90 | + "Z": { "color": "#3f4a58" } |
114 | 91 | } |
115 | | - }, |
116 | | - { |
117 | | - "type": "overrideTeamTemplate", |
118 | | - "organizationId": "{team.customFields.organization_id}" |
119 | | - }, |
120 | | - { |
121 | | - "type": "overrideOrganisationTemplate", |
122 | | - "logo": { |
123 | | - "type": "Image", |
124 | | - "url": "/media/organizations/{org.id}/logo.svg" |
125 | | - } |
126 | | - }, |
127 | | - { |
128 | | - "type": "overrideOrganizations", |
129 | | - "rules": { |
130 | | - "3295": { |
131 | | - "displayName": "St. Petersburg ITMO University" |
132 | | - }, |
133 | | - "1366": { |
134 | | - "displayName": "Novgorod State University" |
135 | | - }, |
136 | | - "1456": { |
137 | | - "displayName": "Petrozavodsk State University" |
138 | | - }, |
139 | | - "1584": { |
140 | | - "displayName": "St. Petersburg Baltic State Technical University" |
141 | | - }, |
142 | | - "1587": { |
143 | | - "displayName": "St. Petersburg Polytechnic University" |
144 | | - }, |
145 | | - "1592": { |
146 | | - "displayName": "St. Petersburg University of Aerospace Instrumentation" |
147 | | - }, |
148 | | - "1772": { |
149 | | - "displayName": "St. Petersburg State University of Architecture and Civil Engineering" |
150 | | - }, |
151 | | - "1802": { |
152 | | - "displayName": "St. Petersburg State University" |
153 | | - }, |
154 | | - "3526": { |
155 | | - "displayName": "St. Petersburg Academic University" |
156 | | - }, |
157 | | - "4325": { |
158 | | - "displayName": "St. Petersburg State University of Telecommunications" |
159 | | - }, |
160 | | - "5320": { |
161 | | - "displayName": "St. Petersburg Electrotechnical University LETI" |
162 | | - }, |
163 | | - "5341": { |
164 | | - "displayName": "Herzen State Pedagogical University" |
165 | | - }, |
166 | | - "5343": { |
167 | | - "displayName": "Popov Naval Institute of Radio Electronics" |
168 | | - }, |
169 | | - "6536": { |
170 | | - "displayName": "Pskov State University" |
171 | | - }, |
172 | | - "7043": { |
173 | | - "displayName": "Admiral Makarov State University of Maritime and Inland Shipping" |
174 | | - }, |
175 | | - "7537": { |
176 | | - "displayName": "St. Petersburg State University of Economics" |
177 | | - }, |
178 | | - "7846": { |
179 | | - "displayName": "A. Pushkin Leningrad State University" |
180 | | - }, |
181 | | - "7935": { |
182 | | - "displayName": "Military Telecommunications Academy named after the Soviet Union Marshal Budienny S.M." |
183 | | - }, |
184 | | - "9606": { |
185 | | - "displayName": "St. Petersburg Campus of HSE University" |
186 | | - }, |
187 | | - "10354": { |
188 | | - "displayName": "Mikhailovskaya Military Artillery Academy" |
189 | | - }, |
190 | | - "10615": { |
191 | | - "displayName": "St. Petersburg State University of Industrial Technologies and Design" |
192 | | - }, |
193 | | - "10617": { |
194 | | - "displayName": "Murmansk Arctic University" |
195 | | - }, |
196 | | - "10618": { |
197 | | - "displayName": "Polytechnic College of Novgorod State University" |
198 | | - }, |
199 | | - "14046": { |
200 | | - "displayName": "St. Petersburg State Forest Technical University named after S.M. Kirova" |
201 | | - }, |
202 | | - "14047": { |
203 | | - "displayName": "Military Space Academy" |
204 | | - }, |
205 | | - "24938": { |
206 | | - "displayName": "Military Academy of Logistics" |
207 | | - } |
208 | | - } |
209 | | - } |
| 92 | + } |
210 | 93 | ] |
0 commit comments