-
Notifications
You must be signed in to change notification settings - Fork 10
DRAW Export Format
Jakob edited this page Oct 24, 2015
·
5 revisions
Export will be done via a JSON File
Remarks:
-
<X>
... integer value - First adjudicator in the
panel->adjudicator
array is the chair -
energy
should give an integer interpretation on how bad the allocation worked =>SUM(Messages.penalty)
-
strength
represents a value (>= 0) && (<= 99) for the object (panel
|adjudicator
) - Messages: Should be set to signalise information to the user
-
error
, red marking, conditions that MUST be resolved manually -
warning
, yellow marking, conditions that should be checked on -
notice
, blue marking, conditions that should be noticed - that can occur, even though not optimal -
info
, no marking, any other informations -
penalty
should give an integer interpretation on how bad the message weights
-
Array
(
[<X>] => Array
(
[id] => <ID>
[venue] => <ID>
[energy] => <X>
[teams] => Array
(
[("OG" | "OO" | "CG" | "CO")] => Array
(
[id] => <ID>
[speakerA_id] => <ID>
[speakerB_id] => <ID>
[society_id] => <ID>
[isSwing] => (0 | 1)
[language_status] => (0 | 1 | 2 | 3 | 4 | -1 | -2)
[points] => <X>
[speakerA_speaks] => <X>
[speakerB_speaks] => <X>
)
)
[panel] => Array
(
[id] => <ID>
[strength] => (0-99)
[is_preset] => (0 | 1)
[adjudicators] => Array
(
[<X>] => Array
(
[id] => <ID>
[breaking] => (0 | 1)
[strength] => (0-99)
[society_id] => <ID>
[can_chair] => (0 | 1)
[are_watched] => 0
[name] => "
[gender] => (0 | 1 | 2 | 3)
[country] => Array
(
[id] => <ID>
[name] => ""
[region_id] => <ID>
[region_name] => ""
)
[societies] => Array
(
[<X>] => <ID>
)
[strikedAdjudicators] => Array
(
[<X>] => <ID>
)
[strikedTeams] => Array
(
[<X>] => <ID>
)
[pastAdjudicatorIDs] => Array
(
[<X>] => <ID>
)
)
)
)
[messages] => Array
(
[<X>] => Array
(
"key" => ("error" | "warning" | "notice" | "info")
"msg" => ""
"penalty" => <X>
)
)
)