The following example shows how the Rugby Union report data is represented. The data tables below identify the properties available within the metadata.
JSON XML
[
{
"id": 8323068,
"elapsed": 263,
"code": "penalty",
"type": "goal",
"meta": {
"player1": {
"code": "report:player1",
"value": "581488"
},
"runningscore": {
"code": "report:runningscore",
"value": "3:0"
},
"goal-type": {
"code": "report:goal-type",
"value": "pen"
},
"statustime": {
"code": "report:statustime",
"value": "2018-08-31T18:42:10Z"
},
"ordinarytime": {
"code": "report:ordinarytime",
"value": "3:0"
},
"team": {
"code": "report:team",
"value": "73729"
}
}
}
]
<?xml version="1.0" encoding="utf-8" ?>
<pa:sports-content xmlns="http://iptc.org/std/nar/2006-10-01/" xmlns:pa="http://sport-api.pa.press.net/2016-09-30/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<pa:sports-metadata doc-id="http://sport-uat.api.press.net/v1/event/2846067/report?apikey=89baxcd4d64zwwrm7ykw5gbt" document-class="pa:event-report"></pa:sports-metadata>
<pa:sports-event id="event.2846067">
<actions>
<action id="action.8323068" pa:action-type="goal" pa:formal-name="action:penalty" minutes-elapsed="263" xsi:type="pa:actionComplexType">
<pa:sports-property formal-name="report:player1" value="581488"/>
<pa:sports-property formal-name="report:runningscore" value="3:0"/>
<pa:sports-property formal-name="report:goal-type" value="pen"/>
<pa:sports-property formal-name="report:statustime" value="2018-08-31T18:42:10Z"/>
<pa:sports-property formal-name="report:ordinarytime" value="3:0"/>
<pa:sports-property formal-name="report:team" value="73729"/>
<pa:sports-property formal-name="common:updated"/>
</action>
</actions>
</pa:sports-event>
</pa:sports-content>
Key Example Unit elapsed 77 Number code yellow-card-player String type card String
Type Code card Yellow card emergency brake card 2nd Yellow kick ball away card Red card serious foul card Red card emergency brake card Yellow serious foul card Red card hands card Yellow card diving card Yellow shirt pull card Yellow card player card Yellow verbal abuse card Yellow card several commited fouls card 2nd Yellow card verbal abuse card Red card violence card 2nd Yellow serious foul card Yellow card hands card 2nd Yellow card hands card Yellow card for stalling card Yellow card 2 card Red card player card Yellow kick ball away card 2nd Yellow card diving card Yellow card excesive celebration card 2nd Yellow card emergency brake card Yellow card pushing card Yellow card violence corner Corner short right corner Corner cross left corner Corner short left corner Corner cross right cross Cross clear miracle save cross cross goalkick cross Cross pass cross Cross deflected cross Cross keeper drop cross Cross keeper catch cross Cross head cross Cross dribble cross Cross short cross Cross freekick deflected cross Cross freekick cross Cross clear excellent save cross Cross clear cross Cross missed deliver cross Cross clear great save cross Cross clear great defence cross cross throwin cross Cross freekick bad cross Cross bad control f Finished fieldpossession Possession foulcommit Foul penalty dangerous play foulcommit Foul penalty shirt pull foulcommit Penalty from behind foulcommit Foul diving penalty foulcommit Foul penalty foulcommit Foul player foulcommit Foul penalty serious foul foulcommit Serious foul foulcommit Foul penalty from behind foulcommit Foul goalkeeper hands foulcommit Foul pushing foulcommit Foul diving foulcommit Foul team foulcommit Foul penalty pushing foulcommit Foul elbowing foulcommit Foul hands foulcommit Foul foulcommit Foul from behind foulcommit Foul penalty trip foulcommit Foul serious foulcommit Foul penalty hands goal Disallowed goal header goal Goal player goal Penalty saved back to play goal Penalty saved corner goal Disallowed goal volley goal Penalty shot on post goal Header goal goal Penalty goal goal Disallowed goal lob goal Extra time goal goal Goal backheel goal Disallowed goal freekick goal Goal bicycle kick goal Normal goal deflected goal Normal Goal goal Disallowed goal goal Disallowed goal backheel goal Goal lob goal Penalty missed crossbar goal Goal loose ball goal Own goal goal Goal goal Normal goal freekick goal Penalty missed goal Goal team goal Penalty saved goal Goal from distance goal Retake penalty goal Disallowed goal loose ball goal Normal goal volley goalkick Goalkick ht Halftime int Interupted kickoff Kickoff kod Kickoff Delayed offside Offside shotoff Post bicycle kick shotoff Post header shotoff Crossbar shot shotoff Post distance shotoff Post volley shotoff Deflected shotoff Crossbar direct freekick shotoff Wide shotoff Post shot shotoff Shot off volley shotoff Crossbar volley shotoff Distance shotoff Crossbar distance shotoff Header bad shotoff Shotoff bicycle kick shotoff Shot off shotoff Post shot off shotoff Close shotoff Header crossbar shotoff Shot off header shotoff Post direct freekick shotoff Direct freekick shotoff Crossbar shoton Direct freekick saved shoton Distance blocked keeper shoton Distance saved corner shoton Shot shoton Header saved corner shoton Distance saved shoton Direct freekick goal line shoton Shot on goal line shoton Blocked header shoton Direct freekick saved corner shoton Volley goal line shoton Shot on saved shoton Blocked shoton Crossbar shoton Shot on saved corner shoton Direct freekick shoton Distance goal line shoton Deflected shot on shoton Volley saved shoton Shot on blocked keeper shoton Shot on bicycle kick shoton Deflected saved shoton Header shot on shoton Deflected goal line shoton Deflected saved corner shoton Shot on blocked shoton Deflected header shoton Volley saved corner shoton Shot on Distance shoton Volley blocked keeper shoton Volley shoton Header saved shoton Direct freekick blocked shoton Deflected keeper shoton Header goal line shoton Post shoton Deflected header saved shoton Header shot on blocked special Play stopped pause special Game Active special Night game special Posession special Away coach sent out special Game flow rough play special Halftime report better team special Technical problems special Injury time special Game flow man of the match special Play stopped medical special Game flow dominating special Foggy weather special Spectators special Halftime report evenly matched special Game report draw many special Game report deserved victory special Cloudy weater special Game flow dominating clearly special Venue special Play stopped riot on field special Referee throw special Sunny weather special Play stopped technical problems special Game report draw few special Play stopped light failiure special Rainy weather special Thunder special Play stopped special Snowy weather special Game report one goal victory special Game flow intense tempo special Play restarted special Goal comment special Substitution comment special Game flow few chances special Home coach sent out special sub captain special Game flow low tempo special Card comment special Play stopped riot special Play stopped fireworks special Roof applied special Play stopped ref talk subst Substitution throwin Throwin own half throwin opponent half right throwin own half left throwin throwin cross right throwin Throwin cross throwin opponent half left throwin own half right throwin throwin cross left throwin Throwin opponent half throwin Lineout
Content Type Path JSON $.meta XML /:sports-content/:sports-event/actions/action/*:sports-property
Property Code Example Unit card_type report:card_type y String coach1 report:coach1 82537 Number comment report:comment Quarter Finals String goal_type report:goal_type mc String homepos report:homepos 44 Number awaypos report:awaypos 56 Number injury_time report:injury_time 3 Number ordinarytime report:ordinarytime 3:0 String player1 report:player1 581488 Number player2 report:player2 581489 Number runningscore report:runningscore 8:3 String spectators report:spectators true String statustime report:statustime 2018-08-31T18:40:00Z String team report:team 73729 Number team1 report:team1 73759 Number team2 report:team2 73817 Number venue report:venue DS Arena String verified report:verified true String