Phase Standing
The phase standing resource exposes the standing data for a single event phase. A unit can be identified as having a phase standing using the links section of a phase detail.
An example can be seen below.
{
"code": "FBLWTEAM11------------GPA-",
"description": "Women's Group A",
,,,
"link": [
,,,
{
"rel": "phase-standing",
"href": "https://olympics.api.pamedia.io/v3/games/OG2024/phase/FBLWTEAM11------------GPA-/standing"
}
]
}
A standing example can be seen below.
{
"code": "FBLWTEAM11------------GPA-",
"description": "Women's Group A",
"type": {
"code": 3,
"description": "Competition"
},
"games": {
"code": "OG2024",
"description": "Olympic Games Paris 2024"
},
"discipline": {
"code": "FBL",
"description": "Football"
},
"event": {
"code": "FBLWTEAM11------------",
"description": "Women",
"meta": {
"teamEvent": true
}
},
"gender": {
"code": "W",
"description": "Women"
},
"standingStatus": {
"code": "INTERMEDIATE",
"description": "Intermediate"
},
"totalUnits": "6",
"completedUnits": "4",
"lastUnit": {
"code": "FBLWTEAM11------------GPA-000300--",
"description": "Women's Group A",
"unitType": {
"code": "HTEAM",
"description": "Teams Head to Head"
}
},
"standing": [
{
"rank": "1",
"sortOrder": 1,
"value": "3",
"valueType": {
"code": "POINTS",
"description": "Goals"
},
"won": 1,
"lost": 1,
"tied": 0,
"played": 2,
"pointsFor": 4,
"pointsAgainst": 3,
"meta": {
"rankEqual": false
},
"competitor": {
"code": "FBLWTEAM11--COL01",
"description": "Colombia",
"type": "T",
"organisation": {
"code": "COL",
"description": "Colombia"
}
}
},
{
"rank": "2",
"sortOrder": 2,
"value": "3",
"valueType": {
"code": "POINTS",
"description": "Goals"
},
"won": 1,
"lost": 1,
"tied": 0,
"played": 2,
"pointsFor": 4,
"pointsAgainst": 4,
"meta": {
"rankEqual": false
},
"competitor": {
"code": "FBLWTEAM11--FRA01",
"description": "France",
"type": "T",
"organisation": {
"code": "FRA",
"description": "France"
}
}
},
{
"rank": "3",
"sortOrder": 3,
"value": "0",
"valueType": {
"code": "POINTS",
"description": "Goals"
},
"won": 2,
"lost": 0,
"tied": 0,
"played": 2,
"pointsFor": 4,
"pointsAgainst": 2,
"meta": {
"rankEqual": false
},
"competitor": {
"code": "FBLWTEAM11--CAN01",
"description": "Canada",
"type": "T",
"organisation": {
"code": "CAN",
"description": "Canada"
}
}
},
{
"rank": "4",
"sortOrder": 4,
"value": "0",
"valueType": {
"code": "POINTS",
"description": "Goals"
},
"won": 0,
"lost": 2,
"tied": 0,
"played": 2,
"pointsFor": 1,
"pointsAgainst": 4,
"meta": {
"rankEqual": false
},
"competitor": {
"code": "FBLWTEAM11--NZL01",
"description": "New Zealand",
"type": "T",
"organisation": {
"code": "NZL",
"description": "New Zealand"
}
}
}
],
"link": [
{
"rel": "self",
"href": "https://olympics.api.pamedia.io/v3/games/OG2024/phase/FBLWTEAM11------------GPA-/standing"
},
{
"rel": "phase",
"href": "https://olympics.api.pamedia.io/v3/games/OG2024/phase/FBLWTEAM11------------GPA-"
},
{
"rel": "phase-last-unit",
"href": "https://olympics.api.pamedia.io/v3/games/OG2024/unit/FBLWTEAM11------------GPA-000300--"
}
]
}
The root object for the Phase standing is a clone of the Phase object with the following additional values:
Property | Type(s) | Description |
---|---|---|
standingStatus | Standing Status | Status of the standing |
totalUnits | Integer (Optional) | Number of total matches / games expected in the phase |
completedUnits | Integer (Optional) | Number of matches / games completed in the phase |
lastUnit | Unit Detail (Optional) | Stub of unit detail last played in this phase |
The table below outlines the possible values exposed in the Phase standing array.
Property | Type(s) | Description |
---|---|---|
rank | Integer (Optional) | Rank of the Competitor |
sortOrder | Integer | Used to sort all the results |
startOrder | Integer (Optional) | Competitor's start order |
startSortOrder | Integer | Used to sort all the competitors in a start list |
diff | Examples ('+0:57', '-2:23')(Optional) | Display the time / value ahead or behind the leader. Negative indicates ahead of the leader, positive is behind |
medal | Medal Type String (Optional) | Medal awarded |
value | String (Optional) | The result value of the competitor |
valueType | Value Types Object (Optional) | The type of the value object eg: TIME or POINTS |
invalidResultMark | Invalid Result Marks (Optional) | The invalid result mark, eg: DNF (Did Not Finish), DSQ (Disqualified) |
qualificationMark | Qualification Marks (Optional) | Indicates the qualification of the competitor for the next round of the competition |
won | Integer (Optional) | Indicates whether how many matches / games won by this competitor |
lost | Integer (Optional) | Indicates whether how many matches / games lost by this competitor |
tied | Integer (Optional) | Indicates whether how many matches / games tied by this competitor |
played | Integer (Optional) | Indicates the current status of matches / games played |
pointsFor | Integer (Optional) | Indicates the current points of matches / games played won by this competitor |
pointsAgainst | Integer (Optional) | Indicates the current points of matches / games played lost by this competitor |
meta.unchecked | Boolean | Indicates that the result needs to be validated |
meta.rankEqual | Boolean | Identifies if a rank has been equaled |
competitor | A Participant or Team stub | The competitor is a stub of the participant or team that the result applies to. |
Updated 5 months ago