Stage

Data Dictionary for Rugby Union stages

The following example shows how the Rugby Union stage data is identified. The data tables below will identify the keys available within the metadata.

{
    "id": 856416,
    "name": "Premiership",
    "gender": "male",
    "start": "2018-08-30",
    "end": "2019-05-18",
    "country": {
        "id": 2,
        "name": "England"
    },
    "season": {
        "id": 12917,
        "name": "2018/2019"
    },
    "tournament": {
        "id": 477,
        "name": "English Premiership",
        "gender": "male"
    },
    "sport": {
        "id": 29,
        "name": "Rugby Union"
    },
    "meta": {
        "cup": {
            "code": "stage:cup",
            "name": "Cup",
            "value": "no"
        },
        "live": {
            "code": "stage:live",
            "name": "Live",
            "value": "yes"
        },
        "ranking": {
            "code": "stage:ranking",
            "name": "Ranking",
            "value": "3"
        },
        "stage-type": {
            "code": "stage:stage-type",
            "name": "Stage Type",
            "value": "Rugby Union"
        }
    },
    "updated": "2018-07-06T11:48:07Z",
    "links": [
        {
            "rel": "self",
            "href": "http://sport-uat.api.press.net/v1/stage/856416"
        },
        {
            "rel": "standing",
            "href": "http://sport-uat.api.press.net/v1/standing?stage=856416"
        }
    ]
}
<?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/stage/856416?apikey=89baxcd4d64zwwrm7ykw5gbt" document-class="pa:stage-detail">
        <sports-title>Premiership</sports-title>
    </pa:sports-metadata>
    <pa:tournament id="tournament.477">
        <tournament-division id="season.12917">
            <tournament-part id="stage.856416">
                <tournament-part-metadata type="pa:stage" start-date-time="2018-08-30" end-date-time="2019-05-18">
                    <sports-content-codes>
                        <sports-content-code code-type="pa:sport" code-key="sport:29" code-name="Rugby Union"/>
                        <sports-content-code code-type="pa:gender" code-key="gender:male" code-name="male"/>
                        <sports-content-code code-type="pa:tournament" code-key="tournament:477" code-name="English Premiership"/>
                        <sports-content-code code-type="pa:season" code-key="season:12917" code-name="2018/2019"/>
                        <sports-content-code code-type="pa:stage" code-key="stage:856416" code-name="Premiership" xsi:type="pa:sportsContentCodeComplexType">
                            <pa:link pa:href="http://sport-uat.api.press.net/v1/standing?stage=856416" pa:rel="standing"/>
                        </sports-content-code>
                    </sports-content-codes>
                    <sports-property formal-name="stage:cup" value="no"/>
                    <sports-property formal-name="stage:live" value="yes"/>
                    <sports-property formal-name="stage:ranking" value="3"/>
                    <sports-property formal-name="stage:stage-type" value="Rugby Union"/>
                    <sports-property formal-name="common:updated" value="2018-07-06T11:48:07Z"/>
                    <name>Premiership</name>
                </tournament-part-metadata>
            </tournament-part>
        </tournament-division>
    </pa:tournament>
</pa:sports-content>

Property Location

Content Type

Path

JSON

$.meta

XML

/:sports-content/:tournament/:tournament-division/:tournament-part/:tournament-part-metadata/:sports-property

Key

Code

Example

Unit

cup

stage:cup

no*

Boolean

live

stage:live

no*

Boolean

ranking

stage:ranking

1

Number

stage-type

stage:stage-type

Rugby Union*

String

Enumeration values

Code: stage:cup

no

yes

Code: stage:live

no

yes

Code: stage:stage-type

Rugby Union